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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
mov eax, 1
push ebx
add ecx, 6
xor edx, edx
shl eax, cl
push ebp
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov dword [eax], 0
mov ecx, dword [edi + 0x80]
lea ebx, [edi + 0x8c]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0x74]
mov dword [esp + 0x18], eax
test ecx, 0xfffffffc
jbe 0x53da94
mov eax, dword [edi + 0x7c]
xor ebp, ebp
test eax, eax
je 0x53da78
mov ecx, edx
shr ecx, 2
mov dword [esp + 0x24], ecx
lea esi, [ecx + 1]
mov dword [esp + 0x28], esi
nop dword [eax]
lea ecx, [eax + 2]
mov eax, dword [edi + 0x78]
imul ecx, esi
add ecx, ebp
mov eax, dword [eax + ecx*4 + 4]
xor ecx, ecx
test eax, eax
sete cl
xor esi, esi
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x53da16
mov ecx, dword [ebx]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ebx, [ecx*4]
imul ecx, edx
mov eax, dword [eax]
add ecx, ebp
lea ecx, [eax + ecx*4]
nop
mov eax, dword [ecx]
cdq
xor eax, edx
sub eax, edx
test edi, eax
jne 0x53d9c3
inc esi
add ecx, ebx
cmp esi, 4
jb 0x53d9b0
mov edi, dword [esp + 0x30]
lea eax, [edi + 0x60]
mov dword [edi + 0x68], eax
xor eax, eax
cmp esi, 4
setne al
push eax
push edi
call fcn.00540e40
add esp, 8
cmp esi, 4
je 0x53da5e
lea eax, [edi + 0x64]
mov dword [edi + 0x68], eax
mov eax, esi
shr eax, 1
push eax
push edi
call fcn.00540e40
mov eax, esi
and eax, 1
push eax
push edi
call fcn.00540e40
mov ecx, dword [esp + 0x30]
lea ebx, [edi + 0x8c]
mov edx, dword [esp + 0x20]
add esp, 0x10
push dword [esp + 0x3c]
mov eax, dword [edi + 0x74]
push 4
push esi
push ecx
push dword [esp + 0x48]
lea ecx, [esi + edx]
imul ecx, dword [ebx]
push dword [esp + 0x28]
push dword [esp + 0x4c]
add ecx, ebp
lea eax, [eax + ecx*4]
mov ecx, dword [edi + 0x7c]
push eax
mov eax, dword [esp + 0x44]
add ecx, 2
inc eax
imul ecx, eax
mov eax, dword [edi + 0x78]
add ecx, ebp
lea eax, [eax + ecx*4]
add eax, 4
push eax
push edi
call fcn.0053db30
add esp, 0x28
jmp 0x53da64
lea ebx, [edi + 0x8c]
mov eax, dword [edi + 0x7c]
inc ebp
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
cmp ebp, eax
jb 0x53d970
mov ecx, dword [edi + 0x80]
add edx, 4
mov eax, ecx
mov dword [esp + 0x10], edx
and eax, 0xfffffffc
cmp edx, eax
jb 0x53d950
jmp 0x53da9c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov ebx, edi
cmp edx, ecx
jae 0x53db19
mov edx, dword [ebx + 0x7c]
xor esi, esi
test edx, edx
je 0x53db19
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 2
lea ebp, [eax*4 + 4]
nop dword [eax + eax]
push dword [esp + 0x3c]
mov eax, dword [edi + 0x80]
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x48]
mov ecx, dword [eax]
imul ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x4c]
mov eax, dword [eax]
add ecx, esi
lea eax, [eax + ecx*4]
push eax
lea eax, [edx + 2]
imul eax, ebp
lea eax, [eax + esi*4]
add eax, 4
add eax, dword [edi + 0x78]
push eax
push edi
call fcn.0053db30
mov edx, dword [ebx + 0x7c]
inc esi
mov ecx, dword [esp + 0x38]
add esp, 0x28
cmp esi, edx
jb 0x53dac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret