Function at 0x40153c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x563d50
sub esp, 0x5c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, ecx
xor ebp, ebp
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
lea ebx, [eax + 4]
mov eax, dword [ebx]
lea ecx, [esi + esi*2]
shl ecx, 2
push edi
push esi
mov dword [esp + 0x1c], ecx
xor edi, edi
mov eax, dword [eax + ecx + 8]
mov ecx, ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
call fcn.00413a52
mov eax, dword [esp + 0x24]
test eax, eax
je 0x563db6
mov ebp, eax
mov edi, 1
and ebp, 0x3f
inc ebp
add dword [esp + 0x14], ebp
and eax, 0xffffffc0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
add ecx, dword [ebx]
push esi
mov eax, dword [ecx + 4]
add ebp, eax
mov dword [esp + edi*4 + 0x3c], eax
mov eax, dword [ecx]
mov ecx, ebx
mov dword [esp + edi*4 + 0x4c], eax
lea eax, [esp + 0x2c]
inc edi
push eax
mov dword [esp + 0x20], edi
call fcn.00415834
mov eax, dword [esp + 0x28]
test eax, eax
je 0x563dfd
mov ecx, eax
and eax, 0xffffffc0
and ecx, 0x3f
mov dword [esp + edi*4 + 0x48], eax
inc ecx
mov dword [esp + edi*4 + 0x38], ecx
add ebp, ecx
inc edi
mov dword [esp + 0x18], edi
xor ecx, ecx
lea eax, [edi + edi*4]
mov dword [esp + 0x1c], ecx
add eax, eax
lea ecx, [ebp + 1]
cmp ecx, eax
jbe 0x563e50
mov ecx, 1
lea eax, [edi - 1]
cmp edi, ecx
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + ecx*4 + 0x38]
mov dword [esp + edi*4 + 0x38], eax
mov eax, dword [esp + ecx*4 + 0x48]
mov dword [esp + ecx*4 + 0x38], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + edi*4 + 0x48], eax
mov ecx, dword [ecx]
call fcn.00412931
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x18], edi
mov dword [esp + ecx*4 + 0x48], eax
push 1
push dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x44]
push eax
push 0xa
push ebp
lea eax, [esp + 0x48]
push edi
push eax
call fcn.00407c5c
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x70]
push edi
push eax
call fcn.00409930
add esp, 0x30
cmp dword [esp + 0x24], 0
je 0x563e95
push esi
mov ecx, ebx
call fcn.0040f9b6
xor al, al
xor edi, edi
mov byte [esp + 0x13], al
nop dword [eax]
mov ebp, dword [esp + edi*4 + 0x58]
mov ecx, ebp
mov eax, dword [esp + edi*4 + 0x48]
add ecx, ecx
mov edx, dword [eax + ecx*8 - 8]
mov ecx, dword [eax + ecx*8 - 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x563eeb
cmp edi, ecx
jne 0x563eeb
push dword [esp + 0x14]
and eax, 0xffffffc0
lea ecx, [ebp - 1]
or eax, ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push esi
call fcn.00407171
movzx ecx, al
mov byte [esp + 0x13], al
add esi, ecx
jmp 0x563f28
mov eax, dword [ebx]
lea ecx, [esi + esi*2]
mov dword [eax + ecx*4 + 4], ebp
test esi, esi
je 0x563f19
mov eax, dword [ebx]
lea ecx, [esi + esi*2]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [eax + ecx*4 - 0xc]
mov ecx, dword [eax + edx*4]
and ecx, 0xffffffc0
lea edx, [eax + edx*4]
lea eax, [ebp - 1]
or ecx, eax
mov dword [edx], ecx
mov edx, dword [esp + 0x2c]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push edx
push esi
call fcn.0040fd21
lea ebp, [edi + 1]
cmp ebp, dword [esp + 0x18]
je 0x563f40
push esi
mov ecx, ebx
call fcn.0040bafa
mov edi, ebp
jmp 0x563ea0
cmp edi, dword [esp + 0x30]
je 0x563f55
push esi
mov ecx, ebx
call fcn.0040f9b6
dec edi
cmp edi, dword [esp + 0x30]
jne 0x563f46
mov ecx, dword [ebx]
lea edx, [esi + esi*2]
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov dword [ecx + edx*4 + 8], eax
mov ecx, dword [esp + 0x60]
mov al, byte [esp + 0xb]
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x5c
ret 4