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

Disassembly:
sub esp, 0x54
push ebp
push edi
mov edi, ecx
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x54], edi
mov ecx, dword [edi + 0xc]
mov eax, ecx
imul eax, dword [esp + 0x80]
cdq
idiv dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, ecx
imul eax, dword [esp + 0x84]
cdq
idiv ebp
mov edx, dword [esp + 0x7c]
xor ecx, ecx
cmp ebp, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], eax
jle 0x52e361
push ebx
push esi
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x74]
test ebx, ebx
jle 0x52e330
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
mov edx, eax
neg edx
add ebx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ebx
jmp 0x52e0a3
mov edx, dword [esp + 0x58]
xor ecx, ecx
cmp edx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
jg 0x52e24e
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
add ecx, edx
sub eax, edx
mov dword [esp + 0x18], ecx
mov ecx, edx
imul ecx, ebp
neg ebx
inc eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], eax
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x44], 0
call dword [edx + 0x14]
test al, al
jne 0x52e116
mov ebp, dword [esp + 0x18]
test ebp, ebp
jl 0x52e10e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp ebp, eax
jl 0x52e116
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x40]
cmp ebx, eax
jg 0x52e224
mov ecx, dword [esp + 0x28]
mov ebp, ebx
imul ebp, dword [esp + 0x74]
sub eax, ebx
lea edx, [ebx + ecx]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x52e206
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ebx, dword [esp + 0x14]
test al, al
jne 0x52e169
test ebx, ebx
jge 0x52e169
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
cmp ebx, eax
jge 0x52e202
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push ebp
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
add edx, edi
mov dword [esp + 0x20], edx
mov edx, dword [esi]
push eax
push ebx
mov ecx, esi
call dword [edx + 0x50]
mov edx, dword [esi]
mov ebx, eax
push ebx
mov ecx, esi
call dword [edx + 0x3c]
imul eax, edi
mov ecx, dword [esp + 0x10]
push ebx
add ecx, eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, esi
call dword [eax + 0x40]
imul eax, edi
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi]
add ecx, eax
push ebx
mov dword [esp + 0x80], ecx
mov ecx, esi
call dword [edx + 0x44]
imul eax, edi
mov ecx, dword [esp + 0x84]
push ebx
add ecx, eax
mov eax, dword [esi]
mov dword [esp + 0x88], ecx
mov ecx, esi
call dword [eax + 0x48]
imul eax, edi
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x5c]
add ecx, eax
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add ebp, edx
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
jne 0x52e13b
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
inc ecx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
jne 0x52e0e8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cdq
idiv ecx
mov ebx, eax
mov eax, dword [esp + 0x7c]
cdq
idiv ecx
mov dword [esp + 0x10], ebx
mov ebp, eax
mov eax, dword [esp + 0x84]
cdq
idiv ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x24]
cdq
idiv ecx
mov ecx, 0xff
cmp ebx, ecx
jle 0x52e28d
mov dword [esp + 0x10], ecx
cmp ebp, ecx
jle 0x52e295
mov dword [esp + 0x7c], ecx
cmp dword [esp + 0x84], ecx
jle 0x52e2a5
mov dword [esp + 0x84], ecx
cmp eax, ecx
jle 0x52e2ab
mov eax, ecx
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x80]
mov ebx, dword [ebp]
push edx
push eax
push ecx
mov ecx, ebp
call dword [ebx + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x70]
add ecx, eax
push edx
push ecx
mov ecx, ebp
call dword [ebx + 0x58]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
add eax, ebx
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x52e30f
mov ebx, dword [esp + 0x28]
sub eax, ecx
inc ebx
cmp eax, ecx
mov dword [esp + 0x28], ebx
jge 0x52e2fc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x78]
inc eax
mov dword [esp + 0x30], eax
cmp eax, ecx
mov eax, dword [esp + 0x54]
jl 0x52e09f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
add ecx, dword [esp + 0x8c]
cmp ecx, ebp
mov dword [esp + 0x38], ecx
jl 0x52e34e
sub ecx, ebp
inc edx
cmp ecx, ebp
jge 0x52e33f
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x3c]
inc ebx
cmp ebx, ebp
mov dword [esp + 0x3c], ebx
jl 0x52e066
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x54
ret 0x28