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

Disassembly:
mov eax, dword [esp + 0x20]
xor edx, edx
sub esp, 0xa0
cmp eax, edx
jne 0x529bc1
mov eax, dword [esp + 0xb0]
add eax, 0xc
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xd4]
push edi
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xa4], ecx
mov eax, ecx
mov ecx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x68], ecx
mov ecx, 1
cmp ebp, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x64], eax
jle 0x529c5b
lea eax, [esi + 8]
mov edi, dword [eax + 4]
cmp edi, ebx
jl 0x529c13
jne 0x529c27
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa4]
jge 0x529c27
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x30], ecx
mov edx, ecx
jmp 0x529c4c
mov ebp, dword [esp + 0x68]
cmp ebp, edi
jl 0x529c3b
jne 0x529c4c
mov edi, dword [esp + 0x64]
mov ebp, dword [eax]
cmp edi, ebp
jge 0x529c4c
mov edi, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x68], edi
mov ebp, dword [esp + 0xd8]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x529bff
lea ebx, [edx - 1]
lea edi, [edx + 1]
test edx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
jne 0x529c74
lea ebx, [ebp - 1]
mov dword [esp + 0x14], ebx
lea eax, [ebp - 1]
cmp edx, eax
mov dword [esp + 0x24], eax
jne 0x529c81
xor edi, edi
xor eax, eax
mov ecx, dword [esi + edx*8 + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esi + ebx*8 + 4]
mov ebp, dword [esi + edi*8]
mov dword [esp + 0x18], eax
lea eax, [esi + edx*8 + 4]
mov edi, dword [esi + edi*8 + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + edx*8]
sub ebx, ecx
sub ebp, eax
imul ebx, ebp
mov ebp, dword [esp + 0x14]
sub edi, ecx
mov dword [esp + 0x1c], edx
mov ebp, dword [esi + ebp*8]
sub ebp, eax
imul edi, ebp
sub edi, ebx
test edi, edi
jle 0x529ebf
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x529cf2
mov edi, dword [esp + 0xd8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x529d0c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jmp 0x529d0c
mov eax, dword [esi + ebx*8 + 4]
mov edi, dword [esi + ebx*8 - 4]
cmp eax, edi
jne 0x529d05
lea eax, [ebx - 1]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0xd8]
mov ebp, dword [esp + 0x18]
mov eax, edx
cmp edx, ebp
mov ebp, dword [esp + 0x2c]
je 0x529d2c
inc eax
cmp eax, edi
jne 0x529d21
xor eax, eax
inc ebp
cmp eax, dword [esp + 0x18]
jne 0x529d1a
mov dword [esp + 0x2c], ebp
test edx, edx
jne 0x529d45
mov ecx, dword [esi + 4]
mov eax, dword [esi + edi*8 - 4]
cmp ecx, eax
jne 0x529d55
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jmp 0x529d59
cmp ecx, dword [esi + edx*8 - 4]
jne 0x529d55
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jmp 0x529d59
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ebx, dword [esp + 0x28]
je 0x529d78
dec eax
cmp eax, 0xffffffff
jne 0x529d6b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
inc ebx
cmp eax, ecx
jne 0x529d61
mov dword [esp + 0x28], ebx
inc ebp
shl ebp, 4
push ebp
call fcn.0054a1d0
inc ebx
mov edi, eax
shl ebx, 4
push ebx
mov dword [esp + 0x54], edi
call fcn.0054a1d0
push ebp
mov dword [esp + 0x48], eax
call fcn.0054a1d0
mov ebp, eax
push ebx
mov dword [esp + 0x48], ebp
call fcn.0054a1d0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc8]
je 0x529e38
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x20], edi
mov ebp, dword [esp + 0xd8]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x529de1
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 + 0x20]
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 0x529dd1
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x52a097
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 + 0x20], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x529e6b
mov edx, dword [esp + 0x24]
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 + 0x20]
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 0x529e5f
jmp 0x52a08f
mov ebp, dword [esp + 0x24]
cmp edx, ebp
jne 0x529ed4
cmp ecx, dword [esi + 4]
jne 0x529ee3
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x529ee7
cmp ecx, dword [esi + edx*8 + 0xc]
jne 0x529ee3
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
jmp 0x529ee7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x529f21
mov edi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x28]
inc eax
cmp eax, edi
jne 0x529f01
xor eax, eax
inc ebx
cmp eax, ecx
jne 0x529efa
mov dword [esp + 0x28], ebx
mov eax, dword [esi + ecx*8 + 4]
cmp ecx, ebp
jne 0x529f27
cmp eax, dword [esi + 4]
jne 0x529f32
mov dword [esp + 0x18], 0
jmp 0x529f32
mov ebx, dword [esp + 0x28]
jmp 0x529f0a
cmp eax, dword [esi + ecx*8 + 0xc]
jne 0x529f32
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
cmp edx, eax
je 0x529f51
dec edx
cmp edx, 0xffffffff
jne 0x529f48
mov edx, dword [esp + 0x24]
inc ebp
cmp edx, eax
jne 0x529f3e
mov dword [esp + 0x2c], ebp
inc ebp
shl ebp, 4
push ebp
call fcn.0054a1d0
inc ebx
mov edi, eax
shl ebx, 4
push ebx
mov dword [esp + 0x54], edi
call fcn.0054a1d0
push ebp
mov dword [esp + 0x48], eax
call fcn.0054a1d0
mov ebp, eax
push ebx
mov dword [esp + 0x48], ebp
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 0x52a019
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 + 0x20], edi
mov ebp, dword [esp + 0xd8]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x529fc2
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 + 0x20]
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 0x529fb2
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
je 0x52a097
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x14], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x20], edi
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x52a040
mov edx, dword [esp + 0x24]
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 + 0x20]
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 0x52a034
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
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
mov bl, byte [esp + 0xd4]
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 edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
shl eax, 4
lea ecx, [eax + edi - 0x10]
mov edx, dword [eax + edi - 0x10]
mov dword [eax + edi], edx
mov edx, dword [ecx + 4]
mov dword [eax + edi + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + edi + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + edi + 0xc], ecx
add eax, ebp
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 + 0x5c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x90], edx
xor eax, eax
xor ecx, ecx
xor edx, edx
test bl, bl
setne dl
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xd0]
test edx, edx
jne 0x52a17f
mov edx, dword [esp + 0x48]
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov edx, dword [esi + edx*8 + 4]
jmp 0x52a3d6
mov ebx, dword [esp + 0xd0]
mov edx, dword [ebx]
shl edx, 0x14
add edx, 0x80000
mov dword [esp + 0x98], edx
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0x10]
shl edx, 0x14
mov esi, dword [esi + ebx*8 + 4]
sub edx, 0x80000
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0xd0]
mov edx, dword [edx]
mov ebx, dword [esi + 4]
mov esi, dword [esi + 0xc]
dec esi
cmp esi, edx
mov dword [esp + 0x54], esi
jl 0x52a83a
mov esi, dword [esp + 0x48]
cmp esi, ebx
jl 0x52a83a
cmp ebx, edx
jg 0x52a1f0
mov dword [esp + 0x1c], edx
jmp 0x52a3ca
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov eax, 1
dec ebx
cmp ecx, eax
mov dword [esp + 0x44], eax
jle 0x52a21e
add edi, 0xc
cmp dword [edi - 8], ebx
jg 0x52a212
cmp ebx, dword [edi]
jl 0x52a21a
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x52a209
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x28]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x10], ecx
jle 0x52a24b
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebx
jg 0x52a23f
cmp ebx, dword [eax]
jl 0x52a247
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x52a236
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
shl ecx, 4
mov edx, dword [ecx + eax - 0xc]
mov edi, dword [ecx + eax - 4]
mov ebp, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebp
mov dword [esp + 0x34], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x38]
shl ebp, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [ecx + edx - 8]
sub eax, esi
mov dword [esp + 0x20], edi
shl eax, 0x14
cdq
idiv edi
shl esi, 0x14
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov edx, eax
mov edi, dword [ecx + eax - 0xc]
mov eax, dword [ecx + edx - 4]
mov ecx, dword [esp + 0x34]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x20]
shl edi, 0x14
mov dword [esp + 0x80], eax
mov eax, ebx
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x70]
lea edx, [ecx + ebp + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x7c]
imul eax, dword [esp + 0x80]
mov dword [esp + 0x24], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x10]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl ecx, 4
mov dword [esp + 0x28], 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 + 0x34], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x18]
add esi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebp
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x84], 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 + 0x20]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
sub ebx, ecx
mov ecx, ebx
imul edx, ecx
shl edi, 0x14
shl ebp, 0x14
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
imul edx, ecx
mov dword [esp + 0x88], eax
imul eax, ecx
mov ecx, dword [esp + 0x10]
lea edx, [edx + ebp + 0x80000]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
shl esi, 0x14
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], esi
cmp esi, edx
jle 0x52a3da
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc0]
mov edx, esi
imul edx, dword [esp + 0x14]
add edx, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
cmp esi, edx
jg 0x52a81d
mov esi, dword [esp + 0x3c]
shl ecx, 4
shl eax, 4
lea ebx, [ecx + esi]
mov esi, dword [esp + 0x40]
lea edx, [eax + edi]
lea eax, [eax + ebp - 0xc]
lea ecx, [ecx + esi - 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa0], ebx
add ebx, 0xfffffff0
sub ebp, edi
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x9c], edx
lea esi, [edx - 0x10]
jmp 0x52a472
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
cmp dword [edx + 4], edi
je 0x52a4ba
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x7c]
add ebp, edx
mov edx, dword [esp + 0x80]
add eax, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
add ecx, edi
sar eax, 0x14
imul eax, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
add edx, eax
sar ecx, 0x14
mov dword [esp + 0x24], ebp
lea ecx, [ecx + ecx*2]
add ecx, edx
jmp 0x52a569
mov edx, dword [esi + 0x10]
add esi, 0x10
mov eax, edx
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + 0xc]
add edi, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x44], edi
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
sub ecx, eax
lea eax, [esi + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 8]
sub eax, edx
mov edi, dword [edi]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xac]
mov ebp, dword [edx + esi]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x28], eax
mov eax, edi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [edx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
sub eax, edi
imul edi, dword [esp + 0x5c]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x90]
lea ecx, [ebp + ebp*2]
mov ebp, dword [esp + 0x24]
add edx, edi
add ecx, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x1c]
cmp dword [eax + 4], edx
je 0x52a5ae
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x6c]
add edx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
add edi, edx
mov edx, dword [esp + 0x58]
add edx, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], edx
jmp 0x52a64d
mov edx, dword [ebx + 0x10]
add ebx, 0x10
mov eax, edx
mov ebp, dword [esp + 0x60]
mov edi, dword [ebx + 0xc]
add ebp, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
sub edi, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 8]
sub eax, edx
mov ebp, dword [ebp]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa4]
mov edx, dword [edx + ebx]
mov dword [esp + 0x74], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x6c], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x60]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 8]
sub eax, ebp
mov ebp, dword [esp + 0x24]
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x88], eax
mov edi, dword [esp + 0x30]
mov eax, ebp
sar edi, 0x14
sar eax, 0x14
mov dword [esp + 0x34], edi
sub edi, eax
mov dword [esp + 0x94], eax
je 0x52a6aa
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0x6c]
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv edi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x58]
and eax, 0xfff00000
sub eax, edx
cdq
idiv edi
mov dword [esp + 0x54], eax
jmp 0x52a6b4
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0xd0]
xor eax, eax
cmp edx, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], eax
jne 0x52a6d9
mov ebp, dword [esp + 0x94]
mov edx, dword [esp + 0x34]
jmp 0x52a764
cmp dword [esp + 0x8c], ebp
jl 0x52a7f2
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x30]
cmp edi, edx
jl 0x52a7f2
cmp edx, ebp
jg 0x52a706
mov ebp, dword [esp + 0x94]
jmp 0x52a744
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0xd0]
sub edx, edi
sar edx, 0x14
mov ebp, dword [eax]
mov eax, edx
imul edx, dword [esp + 0x54]
imul eax, dword [esp + 0x78]
mov dword [esp + 0x48], edx
mov edi, eax
sar edx, 0x14
imul edx, dword [esp + 0x5c]
sar edi, 0x14
lea ecx, [ecx + edi*2]
add edi, ecx
lea ecx, [edi + edx]
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x30]
cmp edi, edx
jg 0x52a759
mov edx, dword [esp + 0x34]
jmp 0x52a764
mov edx, dword [esp + 0xd0]
mov edx, dword [edx + 8]
dec edx
cmp ebp, edx
jg 0x52a7e2
mov edi, dword [esp + 0x10]
sub edx, ebp
inc edx
lea edi, [edi + ebp*4 + 2]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xc4]
mov ebp, dword [ecx]
xor edx, ebp
test edx, 0xffffff
je 0x52a7a6
mov dl, byte [ecx + 2]
mov byte [esp + 0x53], dl
mov dl, byte [ecx + 1]
mov cl, byte [ecx]
mov byte [edi - 1], dl
mov dl, byte [esp + 0x53]
mov byte [edi - 2], cl
mov byte [edi], dl
mov byte [edi + 1], 0xff
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x78]
add ecx, edx
mov edx, ecx
add eax, ebp
sar edx, 0x14
imul edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov ecx, eax
add ebp, edx
mov edx, dword [esp + 0x34]
add edi, 4
sar ecx, 0x14
lea ecx, [ecx + ecx*2]
add ecx, ebp
dec edx
mov dword [esp + 0x34], edx
jne 0x52a777
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x52a800
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x52a45f
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
push edi
call fcn.0054a2d0
mov edx, dword [esp + 0x40]
push edx
call fcn.0054a2d0
push ebp
call fcn.0054a2d0
mov eax, dword [esp + 0x4c]
push eax
jmp 0x52a855
push edi
call fcn.0054a2d0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0054a2d0
push ebp
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