Function at 0x52c230
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 0x52c255
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 0x52c2fb
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x52c2a6
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0x9c], edx
jmp 0x52c2e8
jne 0x52c2c3
mov ebp, dword [eax]
cmp ebp, dword [esp + 0x9c]
jge 0x52c2c3
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0x9c], edx
jmp 0x52c2e8
mov ebp, dword [esp + 0x70]
cmp ebp, edx
jl 0x52c2d7
jne 0x52c2e8
mov edx, dword [esp + 0x6c]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x52c2e8
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 0x52c28f
mov dword [esp + 0x34], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x52c310
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x18], eax
jne 0x52c31d
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 0x52c561
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x52c38e
mov edx, dword [esp + 0xd4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edx*8 - 4]
jne 0x52c3a3
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
jmp 0x52c3a7
mov eax, dword [esi + ebp*8 + 4]
mov edx, dword [esi + ebp*8 - 4]
cmp eax, edx
jne 0x52c3a3
lea edx, [ebp - 1]
mov dword [esp + 0x20], edx
jmp 0x52c3a7
mov edx, dword [esp + 0x20]
cmp ebx, edx
mov eax, ebx
je 0x52c3c6
mov edi, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0xd4]
jne 0x52c3bd
xor eax, eax
inc edi
cmp eax, edx
jne 0x52c3b1
mov dword [esp + 0x28], edi
test ebx, ebx
jne 0x52c3e4
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + edx*8 - 4]
jne 0x52c3f3
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
jmp 0x52c3f7
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x52c3f3
lea eax, [ebx - 1]
mov dword [esp + 0x2c], eax
jmp 0x52c3f7
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x52c414
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
dec eax
cmp eax, 0xffffffff
jne 0x52c40b
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x52c403
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 0x52c4da
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 0x52c48b
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 0x52c47b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x52c73d
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 0x52c50d
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 0x52c501
jmp 0x52c73d
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
jne 0x52c576
cmp ecx, dword [esi + 4]
jne 0x52c585
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x52c589
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x52c585
lea eax, [ebx + 1]
mov dword [esp + 0x2c], eax
jmp 0x52c589
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x52c5ac
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xd4]
inc eax
cmp eax, edi
jne 0x52c5a3
xor eax, eax
inc edx
cmp eax, ecx
jne 0x52c59c
mov dword [esp + 0x1c], edx
cmp ecx, ebp
jne 0x52c5c3
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x52c5d6
xor ecx, ecx
mov dword [esp + 0x20], ecx
jmp 0x52c5da
mov eax, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 0xc]
cmp eax, edx
jne 0x52c5d6
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x52c5da
mov ecx, dword [esp + 0x20]
cmp ebx, ecx
mov eax, ebx
je 0x52c5f5
mov edx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x52c5ec
mov eax, ebp
inc edx
cmp eax, ecx
jne 0x52c5e4
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 0x52c6c1
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 0x52c66e
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 0x52c65e
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, ebx
cmp ebx, ecx
je 0x52c73d
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 0x52c6ee
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 0x52c6e2
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 0x52c833
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 0x52ca8c
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 0x52ceca
cmp esi, ebp
jl 0x52ceca
cmp ebp, edx
jg 0x52c896
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
jmp 0x52ca80
mov dword [esp + 0x28], ebp
mov ecx, 1
dec ebp
cmp edi, ecx
mov dword [esp + 0x10], ecx
jle 0x52c8c4
mov eax, dword [esp + 0x40]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x52c8b8
cmp ebp, dword [eax]
jl 0x52c8c0
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x52c8af
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x18], ecx
jle 0x52c8f1
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x52c8e5
cmp ebp, dword [eax]
jl 0x52c8ed
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x52c8dc
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 0x52ca8c
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 0x52cea5
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 0x52cb0b
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp ecx, eax
je 0x52cb66
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*2]
mov dword [esp + 0x18], eax
jmp 0x52cc1a
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*2]
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 0x52cc5d
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 0x52ccfc
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 0x52cd54
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 0x52cd5e
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 0x52cd82
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
jmp 0x52ce06
cmp dword [esp + 0x90], esi
jl 0x52ce82
mov eax, dword [esp + 0x9c]
cmp edi, eax
jl 0x52ce82
cmp eax, esi
jg 0x52cda8
mov esi, dword [esp + 0x34]
jmp 0x52cdec
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*2]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x90]
jg 0x52cdfb
mov eax, dword [esp + 0x44]
jmp 0x52ce06
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 8]
dec eax
cmp esi, eax
jg 0x52ce76
mov edi, dword [esp + 0x10]
sub eax, esi
inc eax
lea edi, [edi + esi*2]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], edi
mov ax, word [eax]
cmp ax, word [esp + 0xc0]
je 0x52ce34
mov esi, dword [esp + 0x34]
mov word [esi], ax
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*2]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
add edi, 2
dec esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], esi
jne 0x52ce20
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x52ce8c
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 0x52cb07
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 0x52ceed
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