Function at 0x535b00
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 0x535b25
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 + 0x40], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x90], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
jle 0x535bcb
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x535b76
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0x90], edx
jmp 0x535bb8
jne 0x535b93
mov ebp, dword [eax]
cmp ebp, dword [esp + 0x90]
jge 0x535b93
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0x90], edx
jmp 0x535bb8
mov ebp, dword [esp + 0x68]
cmp ebp, edx
jl 0x535ba7
jne 0x535bb8
mov edx, dword [esp + 0x64]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x535bb8
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ebp, dword [esp + 0xd4]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x535b5f
mov dword [esp + 0x40], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x18], edi
jne 0x535be0
lea edi, [ebp - 1]
mov dword [esp + 0x18], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x2c], eax
jne 0x535bed
xor edx, edx
xor eax, eax
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + edx*8 + 4]
mov edi, dword [esi + edi*8]
mov dword [esp + 0x1c], 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 + 0x18]
sub edx, eax
mov dword [esp + 0x20], ebx
mov edi, dword [esi + edi*8 + 4]
sub edi, ecx
imul edi, edx
sub ebp, edi
test ebp, ebp
jle 0x535e4e
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x535c5e
mov edi, dword [esp + 0xd4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x535c81
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
jmp 0x535c85
mov edx, dword [esi + ebp*8 + 4]
mov eax, dword [esi + ebp*8 - 4]
cmp edx, eax
jne 0x535c7a
mov edi, dword [esp + 0xd4]
lea edx, [ebp - 1]
mov dword [esp + 0x1c], edx
jmp 0x535c85
mov edi, dword [esp + 0xd4]
mov edx, dword [esp + 0x1c]
cmp ebx, edx
mov eax, ebx
je 0x535cbe
mov ebp, dword [esp + 0x14]
inc eax
cmp eax, edi
jne 0x535c96
xor eax, eax
inc ebp
cmp eax, edx
jne 0x535c8f
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
test ebx, ebx
jne 0x535cc4
mov eax, dword [esi + 4]
mov ecx, dword [esi + edi*8 - 4]
cmp eax, ecx
jne 0x535cd3
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x535cd7
mov edx, dword [esp + 0x2c]
jmp 0x535ca7
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x535cd3
lea eax, [ebx - 1]
mov dword [esp + 0x20], eax
jmp 0x535cd7
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x535cf0
mov ecx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x535ce7
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x535cdf
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x48], edi
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x84], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
push eax
call fcn.0054a1d0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xc4]
mov edx, ebx
je 0x535dc7
mov ebx, dword [esp + 0x30]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x18], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xd4]
mov ebx, edx
inc edx
cmp edx, edi
jne 0x535d73
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 + 0x24]
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 + 0x18]
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 + 0x18], ebp
jne 0x535d63
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x53602f
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov ebp, edi
mov dword [esp + 0x18], edi
sub ebp, ebx
lea ecx, [ebx + 8]
mov dword [esp + 0x24], ebp
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x535dfa
mov edx, dword [esp + 0x2c]
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 + 0x24]
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 + 0x18]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x18], edi
jne 0x535dee
jmp 0x53602b
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jne 0x535e63
cmp ecx, dword [esi + 4]
jne 0x535e72
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x535e76
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x535e72
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
jmp 0x535e76
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x535e99
mov edi, dword [esp + 0xd4]
mov edx, dword [esp + 0x28]
inc eax
cmp eax, edi
jne 0x535e90
xor eax, eax
inc edx
cmp eax, ecx
jne 0x535e89
mov dword [esp + 0x28], edx
cmp ecx, ebp
jne 0x535eb0
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x535ec5
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x535ec9
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x535ec5
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
jmp 0x535ec9
mov eax, dword [esp + 0x1c]
cmp ebx, eax
je 0x535ee2
mov ecx, dword [esp + 0x14]
dec ebx
cmp ebx, 0xffffffff
jne 0x535ed9
mov ebx, ebp
inc ecx
cmp ebx, eax
jne 0x535ed1
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x48], edi
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push ebx
mov dword [esp + 0x40], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x40], eax
call fcn.0054a1d0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc4]
je 0x535fb0
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov ebx, edi
mov dword [esp + 0x18], edi
sub ebx, ebp
lea ecx, [ebp + 8]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0xd4]
mov ebx, edx
inc edx
cmp edx, ebp
jne 0x535f5d
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 + 0x24]
mov ebp, dword [esi + edx*8]
mov dword [ecx + edi - 0x10], ebp
mov ebp, dword [esi + edx*8 + 4]
mov dword [ecx + edi - 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 + 0x18]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x18], edi
jne 0x535f4d
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x53602f
mov ebx, dword [esp + 0x30]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x18], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x24], edi
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x535fdb
mov edx, dword [esp + 0x2c]
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 + 0x24]
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 + 0x18]
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 + 0x18], ebp
jne 0x535fcf
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
shl eax, 4
xor ebp, ebp
lea ecx, [eax + edx]
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 + 0xd0]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x3c]
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 + 0x14]
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 edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0xc]
mov dword [eax + edi + 0xc], ecx
add eax, edx
lea ecx, [eax - 0x10]
mov edx, dword [eax - 0x10]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xcc]
test bl, bl
setne dl
test eax, eax
mov dword [esp + 0x1c], edx
jne 0x53611c
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [esi + eax*8 + 4]
jmp 0x53636d
mov edx, dword [eax]
mov ebx, dword [esp + 0x10]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebx*8 + 4]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec eax
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], eax
mov edx, dword [edx]
cmp eax, edx
jl 0x536779
cmp esi, ebx
jl 0x536779
cmp ebx, edx
jg 0x536178
mov dword [esp + 0x20], edx
jmp 0x536365
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov eax, 1
dec ebx
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x5361a6
add edi, 0xc
cmp dword [edi - 8], ebx
jg 0x53619a
cmp ebx, dword [edi]
jl 0x5361a2
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x536191
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x28]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x5361d3
mov eax, dword [esp + 0x34]
add eax, 0xc
cmp dword [eax - 8], ebx
jg 0x5361c7
cmp ebx, dword [eax]
jl 0x5361cf
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x5361be
mov dword [esp + 0x14], 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 ebp, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebp
mov dword [esp + 0x74], edx
shl eax, 0x14
sub edi, edx
cdq
idiv edi
mov edx, dword [esp + 0x30]
shl ebp, 0x14
mov esi, dword [ecx + edx - 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
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 + 0x98], 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 + 0x74]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
shl edi, 0x14
mov dword [esp + 0x8c], eax
mov eax, ebx
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x80]
lea edx, [ecx + ebp + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x98]
imul eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x14]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
shl ecx, 4
mov dword [esp + 0x70], 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 + 0x6c], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x1c]
add esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
mov ebp, dword [ecx + eax - 0x10]
mov eax, dword [ecx + eax - 8]
sub eax, ebp
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
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 + 0x6c]
mov edx, dword [esp + 0x84]
sub ebx, ecx
mov ecx, ebx
imul edx, ecx
shl edi, 0x14
shl ebp, 0x14
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x88]
imul edx, ecx
mov dword [esp + 0x74], eax
imul eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [edx + ebp + 0x80000]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x20]
shl esi, 0x14
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
cmp esi, eax
mov dword [esp + 0x24], esi
jle 0x536371
mov dword [esp + 0x24], eax
mov eax, edx
mov esi, dword [esp + 0xbc]
imul eax, dword [esp + 0x18]
add eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jg 0x536779
mov esi, dword [esp + 0x34]
shl ecx, 4
shl ebp, 4
lea ebx, [ecx + esi]
mov esi, dword [esp + 0x3c]
mov eax, ebp
mov dword [esp + 0x6c], ebx
lea ecx, [ecx + esi - 0xc]
add ebx, 0xfffffff0
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
lea ebp, [eax + edi]
lea eax, [eax + ecx - 0xc]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x78], eax
mov eax, ecx
mov ecx, dword [esp + 0x34]
sub eax, edi
mov dword [esp + 0xa0], eax
mov eax, esi
add ebp, 0xfffffff0
sub eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x5363ea
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 4], edx
je 0x536442
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x2c]
add ecx, esi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x50], ecx
add eax, edx
sar ecx, 0x14
imul ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
add eax, edi
mov dword [esp + 0x70], eax
sar eax, 0x14
add edx, ecx
lea edi, [edx + eax*2]
jmp 0x5364ed
mov edx, dword [ebp + 0x10]
add ebp, 0x10
mov eax, edx
mov ecx, dword [esp + 0x78]
mov edi, dword [ebp + 0xc]
add ecx, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x78], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 4]
sub edi, eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
sub eax, edx
mov ecx, dword [ecx]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0xa0]
mov esi, dword [edx + ebp]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x80], eax
mov eax, esi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x70], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
add edi, eax
mov eax, dword [edx + 4]
sub eax, esi
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x54]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x9c]
add edx, ecx
lea edi, [edx + esi*2]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
cmp dword [ecx + 4], eax
je 0x53652f
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x74]
add esi, edx
add eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], eax
jmp 0x5365c6
mov edx, dword [ebx + 0x10]
add ebx, 0x10
mov eax, edx
mov esi, dword [esp + 0x5c]
mov ecx, dword [ebx + 0xc]
add esi, 0x10
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x5c], esi
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
sub ecx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 8]
sub eax, edx
mov esi, dword [esi]
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa4]
mov edx, dword [edx + ebx]
mov dword [esp + 0x84], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x4c], eax
mov eax, esi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
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
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x74], eax
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sar esi, 0x14
sar ecx, 0x14
mov eax, esi
mov dword [esp + 0x90], esi
sub eax, ecx
mov dword [esp + 0x38], ecx
je 0x536627
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
add ecx, eax
mov eax, dword [esp + 0x4c]
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x58]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x40], eax
jmp 0x536631
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xcc]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x64], edi
test eax, eax
jne 0x536653
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, esi
jmp 0x5366dc
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x7c]
cmp esi, eax
jl 0x536752
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x28]
cmp esi, eax
jl 0x536752
mov esi, dword [esp + 0x2c]
cmp eax, esi
jg 0x536688
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
jmp 0x5366bc
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
mov ecx, eax
sub ecx, esi
mov dword [esp + 0x14], edx
sar ecx, 0x14
mov edx, ecx
imul ecx, dword [esp + 0x40]
imul edx, dword [esp + 0x48]
mov eax, ecx
mov esi, edx
sar eax, 0x14
imul eax, dword [esp + 0x54]
sar esi, 0x14
add eax, edi
lea edi, [eax + esi*2]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x28]
cmp esi, eax
jg 0x5366d1
mov eax, dword [esp + 0x90]
jmp 0x5366dc
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 8]
dec eax
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
cmp esi, eax
jg 0x536746
mov eax, dword [esp + 0x10]
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x38], eax
jmp 0x536705
mov ecx, dword [esp + 0x90]
mov ax, word [edi]
mov edi, dword [esp + 0x40]
add ecx, edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x90], ecx
mov word [esi], ax
mov eax, dword [esp + 0x48]
mov byte [esi + 2], 0xf
sar ecx, 0x14
imul ecx, dword [esp + 0x54]
add edx, eax
add edi, ecx
mov eax, edx
add esi, 4
sar eax, 0x14
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x5366fe
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x53675c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x5363e6
mov edi, dword [esp + 0x44]
push edi
call fcn.0054a2d0
mov eax, dword [esp + 0x38]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0054a2d0
mov edx, dword [esp + 0x48]
push edx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret