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

Disassembly:
mov eax, dword [esp + 0x20]
sub esp, 0xa0
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x52a895
mov eax, dword [esp + 0xc0]
add eax, 0xc
mov dword [esp + 0xd0], eax
mov esi, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xa4], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
jle 0x52a93b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x52a8e6
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0xa4], edx
jmp 0x52a928
jne 0x52a903
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa4]
jge 0x52a903
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0xa4], edx
jmp 0x52a928
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jl 0x52a917
jne 0x52a928
mov edx, dword [esp + 0x68]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x52a928
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x68], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov ebp, dword [esp + 0xd8]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x52a8cf
mov dword [esp + 0x50], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x52a950
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x28], eax
jne 0x52a95d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esi + edi*8 + 4]
mov ebp, dword [esi + edx*8]
mov dword [esp + 0x18], eax
lea eax, [esi + ebx*8 + 4]
mov edx, dword [esi + edx*8 + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esi + ebx*8]
sub edi, ecx
sub ebp, eax
imul edi, ebp
mov ebp, dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x1c], ebx
mov ebp, dword [esi + ebp*8]
sub ebp, eax
imul edx, ebp
sub edx, edi
test edx, edx
jle 0x52aba1
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x52a9ce
mov edx, dword [esp + 0xd8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edx*8 - 4]
jne 0x52a9e3
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
jmp 0x52a9e7
mov eax, dword [esi + ebp*8 + 4]
mov edx, dword [esi + ebp*8 - 4]
cmp eax, edx
jne 0x52a9e3
lea edx, [ebp - 1]
mov dword [esp + 0x18], edx
jmp 0x52a9e7
mov edx, dword [esp + 0x18]
cmp ebx, edx
mov eax, ebx
je 0x52aa06
mov edi, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0xd8]
jne 0x52a9fd
xor eax, eax
inc edi
cmp eax, edx
jne 0x52a9f1
mov dword [esp + 0x20], edi
test ebx, ebx
jne 0x52aa24
mov edx, dword [esp + 0xd8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + edx*8 - 4]
jne 0x52aa33
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x52aa37
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x52aa33
lea eax, [ebx - 1]
mov dword [esp + 0x1c], eax
jmp 0x52aa37
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x52aa54
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x52aa4b
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x52aa43
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x20]
lea edi, [eax + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], 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 + 0x44], eax
call fcn.0054a1d0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xc8]
mov edx, ebx
je 0x52ab1a
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov ebp, ebx
mov dword [esp + 0x14], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0xd8]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x52aacb
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 + 0x2c]
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 + 0x18]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x52aabb
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x52ad7d
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov ebp, ebx
mov dword [esp + 0x14], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x2c], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x52ab4d
mov edx, dword [esp + 0x28]
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 + 0x2c]
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 0x52ab41
jmp 0x52ad7d
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jne 0x52abb6
cmp ecx, dword [esi + 4]
jne 0x52abc5
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x52abc9
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x52abc5
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
jmp 0x52abc9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x52abec
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xd8]
inc eax
cmp eax, edi
jne 0x52abe3
xor eax, eax
inc edx
cmp eax, ecx
jne 0x52abdc
mov dword [esp + 0x24], edx
cmp ecx, ebp
jne 0x52ac03
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x52ac16
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x52ac1a
mov eax, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 0xc]
cmp eax, edx
jne 0x52ac16
inc ecx
mov dword [esp + 0x18], ecx
jmp 0x52ac1a
mov ecx, dword [esp + 0x18]
cmp ebx, ecx
mov eax, ebx
je 0x52ac35
mov edx, dword [esp + 0x20]
dec eax
cmp eax, 0xffffffff
jne 0x52ac2c
mov eax, ebp
inc edx
cmp eax, ecx
jne 0x52ac24
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x20]
lea edi, [ecx + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], 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 + 0x44], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc8]
je 0x52ad01
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x2c], edi
mov ebp, dword [esp + 0xd8]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x52acae
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 + 0x2c]
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 0x52ac9e
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, ebx
cmp ebx, ecx
je 0x52ad7d
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x2c], edi
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x52ad2e
mov edx, dword [esp + 0x28]
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 + 0x2c]
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 + 0x18]
cmp edx, edi
mov dword [esp + 0x14], ebx
jne 0x52ad22
mov eax, dword [esp + 0x24]
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 + 0x20]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x40]
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 + 0x44]
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 + 0x34]
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 + 0xb8]
mov edx, dword [esp + 0xc0]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0xa0], edx
mov dl, byte [esp + 0xd4]
xor ecx, ecx
xor eax, eax
test dl, dl
setne al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x52ae73
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov edx, dword [edx]
mov esi, dword [esi + eax*8 + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
jmp 0x52b0c0
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 + 0x90], 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 + 0x9c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], eax
mov edx, dword [edx]
cmp eax, edx
jl 0x52b514
cmp esi, ebp
jl 0x52b514
cmp ebp, edx
jg 0x52aed6
mov edi, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
jmp 0x52b0b6
mov dword [esp + 0x1c], ebp
mov ecx, 1
dec ebp
cmp edi, ecx
mov dword [esp + 0x10], ecx
jle 0x52af04
mov eax, dword [esp + 0x44]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x52aef8
cmp ebp, dword [eax]
jl 0x52af00
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x52aeef
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x38], ecx
jle 0x52af31
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x52af25
cmp ebp, dword [eax]
jl 0x52af2d
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x52af1c
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
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 + 0x30], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x34]
shl ebx, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [ecx + edx - 8]
sub eax, esi
mov dword [esp + 0x48], edi
shl eax, 0x14
cdq
idiv edi
shl esi, 0x14
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x30]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x48]
shl edi, 0x14
mov dword [esp + 0x7c], eax
mov eax, ebp
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x88]
lea edx, [ecx + ebx + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x74]
imul eax, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x38]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
shl ecx, 4
mov dword [esp + 0x60], 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 + 0x30], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x18]
add esi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
mov ebx, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebx
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov esi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 4]
sub eax, esi
shl eax, 0x14
cdq
idiv dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
sub ebp, ecx
mov ecx, dword [esp + 0x84]
imul ecx, ebp
shl edi, 0x14
shl ebx, 0x14
lea edx, [ecx + edi + 0x80000]
mov ecx, dword [esp + 0x80]
imul ecx, ebp
mov dword [esp + 0x94], eax
imul eax, ebp
shl esi, 0x14
mov dword [esp + 0x24], edx
lea edx, [ecx + ebx + 0x80000]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov edi, edx
mov edx, dword [esp + 0x1c]
cmp esi, eax
jle 0x52b0bc
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, edx
mov eax, dword [esp + 0xc0]
imul ebp, dword [esp + 0x50]
add ebp, dword [eax + 4]
cmp edx, esi
mov dword [esp + 0x38], ebp
jg 0x52b4ef
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
shl ebx, 4
shl ecx, 4
mov eax, ebx
lea ebx, [ecx + esi]
mov esi, dword [esp + 0x40]
lea edx, [eax + ebp]
mov dword [esp + 0x5c], ebx
lea ecx, [ecx + esi - 0xc]
add ebx, 0xfffffff0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], edx
lea esi, [edx - 0x10]
lea eax, [eax + ecx - 0xc]
mov dword [esp + 0x70], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
sub eax, ebp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x52b141
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
cmp eax, ecx
je 0x52b195
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
add eax, edx
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x74]
add ecx, edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
sar ecx, 0x14
imul ecx, dword [esp + 0x2c]
add eax, ebp
mov dword [esp + 0x60], eax
sar eax, 0x14
add edx, ecx
lea ebp, [edx + eax*4]
jmp 0x52b241
mov edx, dword [esi + 0x10]
add esi, 0x10
mov eax, edx
mov ecx, dword [esp + 0x70]
mov edi, dword [esi + 0xc]
add ecx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x70], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
sub edi, eax
lea eax, [esi + 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 8]
sub eax, edx
mov ecx, dword [ecx]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xac]
mov ebp, dword [edx + esi]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x88], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x60], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [edx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x2c]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x20]
add edx, ecx
lea ebp, [edx + ebp*4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 4], ecx
je 0x52b282
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
add edi, edx
add ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], ecx
jmp 0x52b325
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x10]
add ebx, 0x10
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, edx
mov ecx, dword [ebx + 0xc]
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
sub ecx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa4]
mov edx, dword [edx + ebx]
mov edi, edx
shl edi, 0x14
add edi, 0x80000
mov dword [esp + 0x20], edi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x30]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sar ecx, 0x14
sar eax, 0x14
mov edx, ecx
mov dword [esp + 0x30], ecx
sub edx, eax
mov dword [esp + 0x64], eax
je 0x52b38f
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x60]
sar edx, 0x14
mov eax, edi
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x48]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x64]
jmp 0x52b39c
xor edx, edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x54], edx
xor edx, edx
cmp dword [esp + 0xd0], edx
mov dword [esp + 0x68], ebp
je 0x52b43f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x9c]
cmp ecx, eax
jl 0x52b4cc
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0x24], ecx
jl 0x52b4cc
cmp ecx, eax
jg 0x52b3e1
mov eax, dword [esp + 0x64]
jmp 0x52b41f
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x28]
sub ecx, edi
mov eax, dword [esp + 0xd0]
sar ecx, 0x14
mov edx, ecx
imul ecx, dword [esp + 0x8c]
imul edx, dword [esp + 0x78]
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
sar ecx, 0x14
imul ecx, dword [esp + 0x2c]
mov edi, edx
sar edi, 0x14
add ecx, ebp
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x9c]
cmp ecx, edi
jg 0x52b434
mov ecx, dword [esp + 0x30]
jmp 0x52b43f
mov ecx, dword [esp + 0xd0]
mov ecx, dword [ecx + 8]
dec ecx
cmp eax, ecx
jg 0x52b4b8
mov edi, dword [esp + 0x38]
sub ecx, eax
inc ecx
lea edi, [edi + eax*4 + 2]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xc4]
mov ecx, dword [ebp]
cmp ecx, eax
je 0x52b47c
mov al, cl
mov cl, byte [ebp + 1]
mov byte [esp + 0x4f], cl
mov cl, byte [ebp + 2]
mov byte [edi - 2], cl
mov cl, byte [esp + 0x4f]
mov byte [edi - 1], cl
mov byte [edi], al
mov byte [edi + 1], 0xff
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
add edx, eax
mov eax, dword [esp + 0x54]
add eax, ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov ecx, edx
sar eax, 0x14
imul eax, dword [esp + 0x2c]
add ebp, eax
mov eax, dword [esp + 0x30]
sar ecx, 0x14
add edi, 4
dec eax
lea ebp, [ebp + ecx*4]
mov dword [esp + 0x30], eax
jne 0x52b452
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x38], eax
jmp 0x52b4da
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x52b13a
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x40]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x3c]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x4c]
push ecx
jmp 0x52b537
mov edx, dword [esp + 0x44]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x40]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x4c]
push edx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret