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

Disassembly:
mov eax, dword [esp + 0x20]
sub esp, 0x9c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x52e8b5
mov eax, dword [esp + 0xbc]
add eax, 0xc
mov dword [esp + 0xcc], eax
mov esi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xd4]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x9c], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
jle 0x52e95b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x52e906
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0x9c], edx
jmp 0x52e948
jne 0x52e923
mov ebp, dword [eax]
cmp ebp, dword [esp + 0x9c]
jge 0x52e923
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0x9c], edx
jmp 0x52e948
mov ebp, dword [esp + 0x70]
cmp ebp, edx
jl 0x52e937
jne 0x52e948
mov edx, dword [esp + 0x6c]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x52e948
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov ebp, dword [esp + 0xd4]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x52e8ef
mov dword [esp + 0x34], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x52e970
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x18], eax
jne 0x52e97d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + edx*8 + 4]
mov edi, dword [esi + edi*8]
mov dword [esp + 0x20], eax
lea eax, [esi + ebx*8 + 4]
mov edx, dword [esi + edx*8]
mov dword [esp + 0x48], eax
mov eax, dword [esi + ebx*8]
sub ebp, ecx
sub edi, eax
imul ebp, edi
mov edi, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x2c], ebx
mov edi, dword [esi + edi*8 + 4]
sub edi, ecx
imul edi, edx
sub ebp, edi
test ebp, ebp
jle 0x52ebc1
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x52e9ee
mov edx, dword [esp + 0xd4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edx*8 - 4]
jne 0x52ea03
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
jmp 0x52ea07
mov eax, dword [esi + ebp*8 + 4]
mov edx, dword [esi + ebp*8 - 4]
cmp eax, edx
jne 0x52ea03
lea edx, [ebp - 1]
mov dword [esp + 0x20], edx
jmp 0x52ea07
mov edx, dword [esp + 0x20]
cmp ebx, edx
mov eax, ebx
je 0x52ea26
mov edi, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0xd4]
jne 0x52ea1d
xor eax, eax
inc edi
cmp eax, edx
jne 0x52ea11
mov dword [esp + 0x28], edi
test ebx, ebx
jne 0x52ea44
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + edx*8 - 4]
jne 0x52ea53
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
jmp 0x52ea57
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x52ea53
lea eax, [ebx - 1]
mov dword [esp + 0x2c], eax
jmp 0x52ea57
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x52ea74
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
dec eax
cmp eax, 0xffffffff
jne 0x52ea6b
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x52ea63
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x28]
lea edi, [eax + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], eax
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push edi
mov dword [esp + 0x48], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xc4]
mov edx, ebx
je 0x52eb3a
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ebp, ebx
mov dword [esp + 0x14], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0xd4]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x52eaeb
xor edx, edx
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x20]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x52eadb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x52ed9d
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, ebx
mov dword [esp + 0x14], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x52eb6d
mov edx, dword [esp + 0x18]
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x52eb61
jmp 0x52ed9d
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
jne 0x52ebd6
cmp ecx, dword [esi + 4]
jne 0x52ebe5
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x52ebe9
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x52ebe5
lea eax, [ebx + 1]
mov dword [esp + 0x2c], eax
jmp 0x52ebe9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x52ec0c
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xd4]
inc eax
cmp eax, edi
jne 0x52ec03
xor eax, eax
inc edx
cmp eax, ecx
jne 0x52ebfc
mov dword [esp + 0x1c], edx
cmp ecx, ebp
jne 0x52ec23
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x52ec36
xor ecx, ecx
mov dword [esp + 0x20], ecx
jmp 0x52ec3a
mov eax, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 0xc]
cmp eax, edx
jne 0x52ec36
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x52ec3a
mov ecx, dword [esp + 0x20]
cmp ebx, ecx
mov eax, ebx
je 0x52ec55
mov edx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x52ec4c
mov eax, ebp
inc edx
cmp eax, ecx
jne 0x52ec44
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
lea edi, [ecx + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], eax
lea ebp, [edx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push edi
mov dword [esp + 0x48], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc4]
je 0x52ed21
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0xd4]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x52ecce
xor edx, edx
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ecx + ebx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + ebx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x52ecbe
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, ebx
cmp ebx, ecx
je 0x52ed9d
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x24], edi
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x52ed4e
mov edx, dword [esp + 0x18]
mov ebp, dword [esi + edi*8]
add ecx, 0x10
mov dword [ebx], ebp
mov ebp, dword [esi + edi*8 + 4]
mov dword [ebx + 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ebx + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ebx + ecx - 0xc], ebp
mov ebx, dword [eax + edi*8]
mov dword [ecx - 0x18], ebx
mov edi, dword [eax + edi*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebx, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x20]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x52ed42
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
shl eax, 4
add ecx, eax
lea edx, [ecx - 0x10]
mov edi, dword [ecx - 0x10]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x28]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x38]
add eax, ecx
lea edx, [eax - 0x10]
mov ecx, dword [eax - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, edi
shl eax, 4
add ecx, eax
lea edx, [ecx - 0x10]
mov ebx, dword [ecx - 0x10]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
xor ebx, ebx
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x30]
add eax, ecx
lea edx, [eax - 0x10]
mov ecx, dword [eax - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xbc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x98], edx
mov dl, byte [esp + 0xd0]
xor ecx, ecx
xor eax, eax
test dl, dl
setne al
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xcc]
test eax, eax
jne 0x52ee93
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov edx, dword [edx]
mov eax, dword [esi + eax*8 + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
jmp 0x52f0ec
mov edx, dword [eax]
mov ebp, dword [esp + 0x10]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebp*8 + 4]
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 8]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], eax
mov edx, dword [edx]
cmp eax, edx
jl 0x52f529
cmp esi, ebp
jl 0x52f529
cmp ebp, edx
jg 0x52eef6
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
jmp 0x52f0e0
mov dword [esp + 0x28], ebp
mov ecx, 1
dec ebp
cmp edi, ecx
mov dword [esp + 0x10], ecx
jle 0x52ef24
mov eax, dword [esp + 0x40]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x52ef18
cmp ebp, dword [eax]
jl 0x52ef20
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x52ef0f
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x18], ecx
jle 0x52ef51
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x52ef45
cmp ebp, dword [eax]
jl 0x52ef4d
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x52ef3c
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
shl ecx, 4
mov edx, dword [ecx + eax - 0xc]
mov edi, dword [ecx + eax - 4]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
mov dword [esp + 0x44], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x30]
shl ebx, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [ecx + edx - 8]
sub eax, esi
mov dword [esp + 0x24], edi
shl eax, 0x14
cdq
idiv edi
shl esi, 0x14
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x30]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x44]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
shl edi, 0x14
mov dword [esp + 0x80], eax
mov eax, ebp
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x78]
lea edx, [ecx + ebx + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x8c]
imul eax, dword [esp + 0x80]
mov dword [esp + 0x2c], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x18]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
shl ecx, 4
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + eax - 0xc]
mov esi, dword [ecx + eax - 4]
mov edi, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, edi
mov dword [esp + 0x44], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x20]
add esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x38]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
mov esi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 4]
sub eax, esi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
sub ebp, ecx
mov ecx, ebp
imul edx, ecx
shl edi, 0x14
shl ebx, 0x14
lea edx, [edx + edi + 0x80000]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x88]
imul edx, ecx
mov dword [esp + 0x94], eax
imul eax, ecx
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
shl esi, 0x14
lea edx, [edx + ebx + 0x80000]
mov ebx, dword [esp + 0x10]
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
cmp esi, eax
mov dword [esp + 0x24], esi
jle 0x52f0ec
mov dword [esp + 0x24], eax
mov eax, edx
mov esi, dword [esp + 0xbc]
imul eax, dword [esp + 0x14]
add eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jg 0x52f504
shl ebx, 4
mov eax, ebx
mov ebx, dword [esp + 0x3c]
shl ecx, 4
mov esi, dword [esp + 0x40]
lea ebp, [ecx + ebx]
mov ebx, dword [esp + 0x38]
lea edx, [eax + esi]
mov dword [esp + 0x68], ebp
lea ecx, [ecx + ebx - 0xc]
add ebp, 0xfffffff0
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], edx
lea ebx, [edx - 0x10]
lea eax, [eax + ecx - 0xc]
mov dword [esp + 0x64], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
sub eax, esi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x52f16b
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp ecx, eax
je 0x52f1c6
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x8c]
add esi, edx
mov edx, dword [esp + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x58]
add ecx, edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], eax
sar ecx, 0x14
imul ecx, dword [esp + 0x54]
sar eax, 0x14
add edx, ecx
mov dword [esp + 0x2c], esi
lea eax, [edx + eax*4]
mov dword [esp + 0x18], eax
jmp 0x52f27a
mov edx, dword [ebx + 0x10]
add ebx, 0x10
mov eax, edx
mov ecx, dword [esp + 0x64]
mov edi, dword [ebx + 0xc]
add ecx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x64], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
sub edi, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 8]
sub eax, edx
mov ecx, dword [ecx]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa8]
mov esi, dword [edx + ebx]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], eax
mov eax, esi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x4c], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [edx + 4]
sub eax, esi
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x54]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x80], eax
lea eax, [edx + esi*4]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x52f2bd
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x84]
add ecx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x94]
add edi, edx
add eax, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x74], eax
jmp 0x52f35c
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
add ebp, 0x10
sub ecx, eax
mov esi, dword [esp + 0x5c]
mov edx, dword [ebp]
lea eax, [ebp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
sub eax, edx
mov edi, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa4]
add esi, 0x10
mov dword [esp + 0x5c], esi
mov edx, dword [edx + ebp]
mov esi, dword [esi]
shl edi, 0x14
add edi, 0x80000
mov dword [esp + 0x1c], edi
mov dword [esp + 0x84], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x50], eax
mov eax, esi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
mov eax, dword [edx + 8]
sub eax, esi
mov esi, dword [esp + 0x2c]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x94], eax
mov eax, edi
mov ecx, esi
sar eax, 0x14
sar ecx, 0x14
mov dword [esp + 0x44], eax
sub eax, ecx
mov dword [esp + 0x34], ecx
je 0x52f3b4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x50]
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x74]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x48], eax
jmp 0x52f3be
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xcc]
xor edx, edx
test eax, eax
jne 0x52f3e2
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
jmp 0x52f466
cmp dword [esp + 0x90], esi
jl 0x52f4e1
mov eax, dword [esp + 0x9c]
cmp edi, eax
jl 0x52f4e1
cmp eax, esi
jg 0x52f408
mov esi, dword [esp + 0x34]
jmp 0x52f44c
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, eax
sub ecx, esi
mov dword [esp + 0x34], edx
sar ecx, 0x14
mov edx, ecx
imul ecx, dword [esp + 0x48]
imul edx, dword [esp + 0x7c]
mov eax, ecx
mov esi, edx
sar eax, 0x14
imul eax, dword [esp + 0x54]
sar esi, 0x14
add eax, edi
mov edi, dword [esp + 0x1c]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x90]
jg 0x52f45b
mov eax, dword [esp + 0x44]
jmp 0x52f466
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 8]
dec eax
cmp esi, eax
jg 0x52f4d5
mov edi, dword [esp + 0x10]
sub eax, esi
inc eax
lea edi, [edi + esi*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], edi
mov eax, dword [eax]
mov esi, dword [esp + 0xc0]
cmp eax, esi
je 0x52f493
mov esi, dword [esp + 0x34]
mov dword [esi], eax
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x7c]
add ecx, edi
add edx, eax
mov eax, ecx
mov edi, dword [esp + 0x6c]
sar eax, 0x14
imul eax, dword [esp + 0x54]
mov esi, edx
add edi, eax
sar esi, 0x14
lea eax, [edi + esi*4]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
add edi, 4
dec esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], esi
jne 0x52f480
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x52f4eb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x52f167
mov eax, dword [esp + 0x40]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x38]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x44]
push eax
jmp 0x52f54c
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x40]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x38]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret