Function at 0x100537df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1008cda7
call fcn.1008afe8
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0x948708ef
push 2
lea ecx, [ebp - 0x44]
call fcn.10018816
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
jmp 0x1005381b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
mov dword [eax + ecx*4], 0x38e85a7b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x1005380b
push edi
push 1
pop edi
cmp dword [ebp - 0x14], ebx
je 0x1005387b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, 0x123d
mov eax, dword [ebp - 0x14]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp eax, edx
setle cl
cmp ecx, dword [ebp - 0x14]
jl 0x10053853
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
je 0x1005385b
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], 0x1880
cmp dword [ecx + 4], ebx
jne 0x1005387d
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, dword [ebp - 0x14]
jg 0x10053893
mov ecx, edi
cmp dword [ebp - 0x14], ebx
jne 0x10053895
mov ecx, ebx
mov eax, dword [ebp - 0x14]
sub ecx, eax
add ecx, 0x339b8842
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x100538c1
push 0x371
push 0x24c6
push 0x158f
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ebp - 0x44]
call fcn.10019041
push 0x4acc
push esi
push edi
push 0x2f0b
call fcn.1004d388
mov dword [ebp - 0x14], 0x462d5e48
add esp, 0x10
mov dword [ebp - 0x2c], 0x83c8fc55
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0x5e3edfa8
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x30], 0x224
mov dword [ebp - 0x18], ebx
jmp 0x1005391a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c], 0x4990069f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1005390c
mov dword [ebp - 0x14], 0xd
jmp 0x10053962
mov dword [ebp - 0x18], 0x5b40194d
lea ecx, [ebp - 0x5c]
push 4
call fcn.10018816
mov dword [ebp - 0x18], ebx
jmp 0x1005394e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x5c]
mov dword [eax + ecx*4], 0x822e6e7f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1005393e
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x5c]
call fcn.10019041
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jge 0x10053928
cmp dword [ebp - 0x20], ebx
jne 0x10053970
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub edx, eax
mov eax, dword [ebp - 0x14]
cmp edx, eax
push esi
sete cl
sub ecx, 4
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
call fcn.10033ba7
pop ecx
push edi
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.10018816
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], ebx
call fcn.10018816
mov dword [ebp - 0x14], ebx
jmp 0x100539d9
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x50]
mov dword [eax + ecx*4], 0xf6af1124
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100539c9
mov dword [ebp - 0x14], ebx
jmp 0x100539f1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x100539e3
mov dword [ebp - 0x14], ebx
jmp 0x10053a0c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], 0x1dfe
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100539fc
mov eax, dword [ebp - 0x50]
pop edi
mov dword [eax], 0xe
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10053a2c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea ecx, [ebp - 0x68]
call fcn.10019041
lea ecx, [ebp - 0x50]
call fcn.10019041
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret