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

Disassembly:
mov eax, dword [esp + 0x20]
sub esp, 0x98
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x530245
mov eax, dword [esp + 0xb8]
add eax, 0xc
mov dword [esp + 0xc8], eax
mov esi, dword [esp + 0xc4]
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x98], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jle 0x5302eb
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x530296
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0x98], edx
jmp 0x5302d8
jne 0x5302b3
mov ebp, dword [eax]
cmp ebp, dword [esp + 0x98]
jge 0x5302b3
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0x98], edx
jmp 0x5302d8
mov ebp, dword [esp + 0x74]
cmp ebp, edx
jl 0x5302c7
jne 0x5302d8
mov edx, dword [esp + 0x70]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x5302d8
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov ebp, dword [esp + 0xd0]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x53027f
mov dword [esp + 0x50], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x530300
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x28], eax
jne 0x53030d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x18], 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 + 0x1c], eax
lea eax, [esi + ebx*8 + 4]
mov edx, dword [esi + edx*8 + 4]
mov dword [esp + 0x4c], 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 + 0x20], ebx
mov ebp, dword [esi + ebp*8]
sub ebp, eax
imul edx, ebp
sub edx, edi
test edx, edx
jle 0x53065d
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x53037e
mov edi, dword [esp + 0xd0]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x5303a7
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
jmp 0x5303ab
mov edx, dword [esi + ebp*8 + 4]
mov eax, dword [esi + ebp*8 - 4]
cmp edx, eax
jne 0x53039a
mov edi, dword [esp + 0xd0]
lea edx, [ebp - 1]
mov dword [esp + 0x1c], edx
jmp 0x5303ab
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xd0]
jmp 0x5303ab
mov edx, dword [esp + 0x1c]
cmp ebx, edx
mov eax, ebx
je 0x5303e4
mov ebp, dword [esp + 0x18]
inc eax
cmp eax, edi
jne 0x5303bc
xor eax, eax
inc ebp
cmp eax, edx
jne 0x5303b5
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
test ebx, ebx
jne 0x5303ea
mov eax, dword [esi + 4]
mov ecx, dword [esi + edi*8 - 4]
cmp eax, ecx
jne 0x5303f9
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x5303fd
mov edx, dword [esp + 0x28]
jmp 0x5303cd
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x5303f9
lea eax, [ebx - 1]
mov dword [esp + 0x20], eax
jmp 0x5303fd
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x530416
mov ecx, dword [esp + 0x24]
dec eax
cmp eax, 0xffffffff
jne 0x53040d
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x530405
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
mov edx, dword [esp + 0x28]
mov edi, eax
mov dword [esp + 0x48], edi
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x80], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x48], eax
call fcn.0054a1d0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x84]
push eax
call fcn.0054a1d0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xc0]
mov edx, ebx
je 0x5304ed
mov ebx, dword [esp + 0x30]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xd0]
mov ebx, edx
inc edx
cmp edx, edi
jne 0x530499
xor edx, edx
mov edi, dword [esi + ebx*8]
add ecx, 0x10
mov dword [ebp], edi
mov edi, dword [esi + ebx*8 + 4]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebp, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x1c]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x530489
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x53056f
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ebp, edi
mov dword [esp + 0x14], edi
sub ebp, ebx
lea ecx, [ebx + 8]
mov dword [esp + 0x2c], ebp
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x53051c
mov edx, dword [esp + 0x28]
mov ebp, dword [esi + ebx*8]
add ecx, 0x10
mov dword [edi], ebp
mov ebp, dword [esi + ebx*8 + 4]
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
mov ebx, dword [esp + 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x530510
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
shl eax, 4
add edx, eax
lea ebx, [edx - 0x10]
mov ebp, dword [edx - 0x10]
mov dword [edx], ebp
mov ebp, dword [ebx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [edx + 8], ebp
mov ebx, dword [ebx + 0xc]
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0x34]
add eax, edx
lea edx, [eax - 0x10]
mov ebx, dword [eax - 0x10]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x18]
shl eax, 4
lea edx, [eax + edi - 0x10]
mov ebx, dword [eax + edi - 0x10]
mov dword [eax + edi], ebx
mov ebx, dword [edx + 4]
mov dword [eax + edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [eax + edi + 0xc], edx
mov edx, dword [esp + 0x30]
add eax, edx
lea edx, [eax - 0x10]
mov ebx, dword [eax - 0x10]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
xor ebx, ebx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x94], eax
xor eax, eax
mov edx, dword [edx + 8]
mov dword [esp + 0x50], edx
xor edx, edx
cmp byte [esp + 0xcc], dl
setne dl
test ecx, ecx
mov dword [esp + 0x1c], edx
jne 0x530848
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov esi, dword [esi + ecx*8 + 4]
jmp 0x530a8b
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jne 0x530672
cmp ecx, dword [esi + 4]
jne 0x530681
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x530685
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x530681
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
jmp 0x530685
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x5306a8
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x24]
inc eax
cmp eax, edi
jne 0x53069f
xor eax, eax
inc edx
cmp eax, ecx
jne 0x530698
mov dword [esp + 0x24], edx
cmp ecx, ebp
jne 0x5306bf
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x5306d2
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x5306d6
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x5306d2
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x5306d6
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp ebx, ecx
je 0x5306ef
dec ebx
cmp ebx, 0xffffffff
jne 0x5306e6
mov ebx, ebp
inc eax
cmp ebx, ecx
jne 0x5306de
mov dword [esp + 0x18], eax
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], edi
lea ebp, [eax + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push ebx
mov dword [esp + 0x48], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc0]
je 0x5307b9
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, edi
mov dword [esp + 0x14], edi
sub ebx, ebp
lea ecx, [ebp + 8]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0xd0]
mov ebx, edx
inc edx
cmp edx, ebp
jne 0x530766
xor edx, edx
mov ebp, dword [esi + ebx*8]
add ecx, 0x10
mov dword [edi], ebp
mov ebp, dword [esi + ebx*8 + 4]
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
mov ebx, dword [esp + 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x530756
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x53056f
mov ebx, dword [esp + 0x30]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x2c], edi
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x5307e8
mov edx, dword [esp + 0x28]
mov edi, dword [esi + ebx*8]
add ecx, 0x10
mov dword [ebp], edi
mov edi, dword [esi + ebx*8 + 4]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + edx*8]
mov dword [edi + ecx - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [edi + ecx - 0xc], ebp
mov edi, dword [eax + ebx*8]
mov dword [ecx - 0x18], edi
mov edi, dword [eax + ebx*8 + 4]
mov ebp, dword [esp + 0x14]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + edx*8]
add ebp, 0x10
mov dword [ecx - 0x10], edi
mov edi, dword [eax + edx*8 + 4]
mov dword [ecx - 0xc], edi
mov edi, dword [esp + 0x1c]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x5307dc
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0x44]
jmp 0x530576
mov edx, dword [ecx]
mov ebp, dword [esp + 0x10]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebp*8 + 4]
mov dword [esp + 0x98], edx
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec ecx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x5c], ecx
mov edx, dword [edx]
cmp ecx, edx
jl 0x530ea3
cmp esi, ebp
jl 0x530ea3
cmp ebp, edx
jg 0x5308a4
mov dword [esp + 0x20], edx
jmp 0x530a85
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ebp
mov eax, 1
dec ebp
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x5308d2
add edi, 0xc
cmp dword [edi - 8], ebp
jg 0x5308c6
cmp ebp, dword [edi]
jl 0x5308ce
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x5308bd
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x18], ecx
jle 0x5308ff
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebp
jg 0x5308f3
cmp ebp, dword [eax]
jl 0x5308fb
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x5308ea
mov dword [esp + 0x18], 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 + 0x6c], 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 + 0x90], eax
mov eax, dword [esp + 0x1c]
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 + 0x7c], 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 + 0x6c]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x48]
shl edi, 0x14
mov dword [esp + 0x84], eax
mov eax, ebp
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x90]
lea edx, [ecx + ebx + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x7c]
imul eax, dword [esp + 0x84]
mov dword [esp + 0x28], 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 + 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 + 0x64], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x1c]
add esi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
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 + 0x34]
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 + 0x64]
sub ebp, ecx
mov ecx, dword [esp + 0x88]
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 + 0x6c], eax
imul eax, ebp
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], edx
shl esi, 0x14
lea edx, [ecx + ebx + 0x80000]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], edx
cmp esi, ecx
jle 0x530a8b
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0xb8]
mov edx, ecx
mov dword [esp + 0x14], esi
imul edx, dword [esp + 0x50]
add edx, dword [ebp + 4]
cmp ecx, esi
mov dword [esp + 0x18], edx
jg 0x530ea3
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
shl ebx, 4
mov ecx, ebx
shl eax, 4
lea ebx, [ecx + edx]
lea ecx, [ecx + esi - 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
lea ebp, [eax + edi]
mov dword [esp + 0x64], ebx
lea eax, [eax + ecx - 0xc]
add ebx, 0xfffffff0
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
sub eax, edx
lea esi, [ebp - 0x10]
mov dword [esp + 0xa4], eax
jmp 0x530b06
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 4]
cmp eax, ecx
je 0x530b5d
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x84]
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add eax, edi
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
sar eax, 0x14
imul eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x94]
add ecx, ebp
mov dword [esp + 0x60], ecx
sar ecx, 0x14
add edx, eax
lea edi, [edx + ecx*4]
jmp 0x530c05
mov edx, dword [esi + 0x10]
add esi, 0x10
mov eax, edx
mov ecx, dword [esp + 0x10]
mov edi, dword [esi + 0xc]
add ecx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
sub edi, eax
lea eax, [esi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
sub eax, edx
mov ecx, dword [ecx]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa0]
mov ebp, dword [edx + esi]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x90], 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 + 0x1c]
add edi, eax
mov eax, dword [edx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x2c]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x94]
add edx, ecx
lea edi, [edx + ebp*4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x530c49
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
add ebp, edx
add eax, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], eax
jmp 0x530ce1
mov edx, dword [ebx + 0x10]
add ebx, 0x10
mov eax, edx
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebx + 0xc]
add ebp, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x68], ebp
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
sub ecx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 8]
sub eax, edx
mov ebp, dword [ebp]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa4]
mov edx, dword [edx + ebx]
mov dword [esp + 0x88], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x54], eax
mov eax, ebp
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
sub eax, ebp
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
sar eax, 0x14
sar ebp, 0x14
mov dword [esp + 0x38], eax
sub eax, ebp
mov dword [esp + 0x40], ebp
je 0x530d40
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x54]
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x8c], 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 dword [esp + 0x4c], eax
jmp 0x530d4d
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xc8]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x70], edi
test eax, eax
jne 0x530d6d
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
jmp 0x530dfe
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
cmp ebp, eax
jl 0x530e7c
mov eax, dword [esp + 0x98]
mov ebp, dword [esp + 0x24]
cmp ebp, eax
jl 0x530e7c
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jg 0x530da2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x530dd9
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx]
mov ecx, eax
sub ecx, ebp
mov dword [esp + 0x40], edx
sar ecx, 0x14
mov edx, ecx
imul ecx, dword [esp + 0x4c]
imul edx, dword [esp + 0x8c]
mov eax, ecx
mov ebp, edx
sar eax, 0x14
imul eax, dword [esp + 0x2c]
sar ebp, 0x14
add eax, edi
lea edi, [eax + ebp*4]
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x24]
cmp ebp, eax
jg 0x530deb
mov eax, dword [esp + 0x38]
jmp 0x530df6
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 8]
dec eax
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x38], eax
cmp ebp, eax
jg 0x530e70
mov eax, dword [esp + 0x18]
lea eax, [eax + ebp*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
sub eax, ebp
inc eax
mov dword [esp + 0x38], eax
mov edi, dword [edi]
mov ebp, dword [esp + 0xbc]
mov eax, edi
xor eax, ebp
test eax, 0xffffff
je 0x530e32
mov eax, dword [esp + 0x40]
mov dword [eax], edi
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x8c]
add ecx, ebp
add edx, eax
mov eax, ecx
mov ebp, dword [esp + 0x70]
sar eax, 0x14
imul eax, dword [esp + 0x2c]
mov edi, edx
add ebp, eax
mov eax, dword [esp + 0x38]
sar edi, 0x14
lea edi, [ebp + edi*4]
mov ebp, dword [esp + 0x40]
add ebp, 4
dec eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], eax
jne 0x530e18
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, ecx
jmp 0x530e86
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x530b02
mov edi, dword [esp + 0x44]
push edi
call fcn.0054a2d0
mov eax, dword [esp + 0x40]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x40]
push edx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret