Function at 0x534e40
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 0x534e65
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 + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xa0], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
jle 0x534f0b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x534eb6
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0xa0], edx
jmp 0x534ef8
jne 0x534ed3
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa0]
jge 0x534ed3
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0xa0], edx
jmp 0x534ef8
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jl 0x534ee7
jne 0x534ef8
mov edx, dword [esp + 0x68]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x534ef8
mov edx, dword [eax]
mov dword [esp + 0x1c], 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 0x534e9f
mov dword [esp + 0x3c], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x18], edi
jne 0x534f20
lea edi, [ebp - 1]
mov dword [esp + 0x18], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x2c], eax
jne 0x534f2d
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 + 0x1c]
mov edi, dword [esi + edi*8 + 4]
mov ebp, dword [esi + edx*8]
mov dword [esp + 0x10], 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 + 0x18]
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 0x535182
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x534f9e
mov edi, dword [esp + 0xd8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x534fc1
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
jmp 0x534fc5
mov edx, dword [esi + ebp*8 + 4]
mov eax, dword [esi + ebp*8 - 4]
cmp edx, eax
jne 0x534fba
mov edi, dword [esp + 0xd8]
lea edx, [ebp - 1]
mov dword [esp + 0x10], edx
jmp 0x534fc5
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0x10]
cmp ebx, edx
mov eax, ebx
je 0x534fe3
mov ebp, dword [esp + 0x14]
inc eax
cmp eax, edi
jne 0x534fd6
xor eax, eax
inc ebp
cmp eax, edx
jne 0x534fcf
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
test ebx, ebx
jne 0x534ffe
mov eax, dword [esi + 4]
mov ecx, dword [esi + edi*8 - 4]
cmp eax, ecx
jne 0x53500d
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x535011
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x53500d
lea eax, [ebx - 1]
mov dword [esp + 0x20], eax
jmp 0x535011
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x53502a
mov ecx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x535021
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x535019
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 + 0x4c], edi
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x44], eax
call fcn.0054a1d0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0054a1d0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0xc8]
mov edx, ebx
je 0x5350fb
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 + 0xd8]
mov ebx, edx
inc edx
cmp edx, edi
jne 0x5350a7
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 + 0x10]
cmp edx, edi
mov dword [esp + 0x18], ebp
jne 0x535097
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x535363
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
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 0x53512e
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 + 0x1c]
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 0x535122
jmp 0x53535f
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jne 0x535197
cmp ecx, dword [esi + 4]
jne 0x5351a6
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x5351aa
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x5351a6
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
jmp 0x5351aa
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x5351cd
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0x28]
inc eax
cmp eax, edi
jne 0x5351c4
xor eax, eax
inc edx
cmp eax, ecx
jne 0x5351bd
mov dword [esp + 0x28], edx
cmp ecx, ebp
jne 0x5351e4
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x5351f9
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x5351fd
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x5351f9
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
jmp 0x5351fd
mov eax, dword [esp + 0x10]
cmp ebx, eax
je 0x535216
mov ecx, dword [esp + 0x14]
dec ebx
cmp ebx, 0xffffffff
jne 0x53520d
mov ebx, ebp
inc ecx
cmp ebx, eax
jne 0x535205
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 + 0x4c], edi
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push ebx
mov dword [esp + 0x44], 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 + 0x2c]
add esp, 0x10
cmp edx, eax
mov eax, dword [esp + 0xc8]
je 0x5352e4
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov ebx, edi
mov dword [esp + 0x18], edi
sub ebx, ebp
lea ecx, [ebp + 8]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0xd8]
mov ebx, edx
inc edx
cmp edx, ebp
jne 0x535291
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 + 0x1c]
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 0x535281
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x535363
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 0x53530f
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 + 0x10]
cmp edx, edi
mov dword [esp + 0x18], ebp
jne 0x535303
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
shl eax, 4
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 + 0xd4]
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 + 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 + 0xb8]
mov ecx, dword [esp + 0xc0]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x9c], eax
xor edx, edx
xor ecx, ecx
xor eax, eax
test bl, bl
setne al
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x535454
mov eax, dword [esp + 0x54]
mov ebp, dword [eax]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov eax, dword [esi + eax*8 + 4]
mov dword [esp + 0x24], eax
jmp 0x5356a4
mov ebx, dword [eax]
shl ebx, 0x14
add ebx, 0x80000
mov dword [esp + 0xa0], ebx
mov ebx, dword [eax + 8]
shl ebx, 0x14
sub ebx, 0x80000
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi + ebx*8 + 4]
mov ebx, dword [eax + 4]
mov dword [esp + 0x3c], esi
mov esi, dword [eax + 0xc]
dec esi
cmp esi, ebp
mov dword [esp + 0x40], esi
jl 0x535ac7
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jl 0x535ac7
cmp ebx, ebp
jg 0x5354b7
mov dword [esp + 0x20], ebp
jmp 0x535698
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov eax, 1
dec ebx
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x5354e5
add edi, 0xc
cmp dword [edi - 8], ebx
jg 0x5354d9
cmp ebx, dword [edi]
jl 0x5354e1
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x5354d0
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x28]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x535512
mov eax, dword [esp + 0x38]
add eax, 0xc
cmp dword [eax - 8], ebx
jg 0x535506
cmp ebx, dword [eax]
jl 0x53550e
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x5354fd
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
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 + 0x44], 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 + 0x74], eax
mov eax, dword [esp + 0x58]
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 + 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 + 0x44]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x24]
shl edi, 0x14
mov dword [esp + 0x78], eax
mov eax, ebx
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x74]
lea edx, [ecx + ebp + 0x80000]
mov ecx, eax
imul ecx, dword [esp + 0x7c]
imul eax, dword [esp + 0x78]
mov dword [esp + 0x2c], edx
lea edx, [ecx + esi + 0x80000]
mov ecx, dword [esp + 0x14]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
shl ecx, 4
mov dword [esp + 0x64], 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 + 0x58]
add esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x34]
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 + 0x34]
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 ebx, ecx
mov ecx, ebx
imul edx, ecx
shl edi, 0x14
shl ebp, 0x14
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x88]
imul edx, ecx
mov dword [esp + 0x94], eax
imul eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [edx + ebp + 0x80000]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x10]
shl esi, 0x14
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x5356a4
mov dword [esp + 0x24], esi
mov eax, ebp
mov esi, dword [esp + 0xc0]
imul eax, dword [esp + 0x18]
add eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
cmp ebp, eax
jg 0x535ac7
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
shl ecx, 4
shl edx, 4
lea ebx, [ecx + esi]
lea ecx, [ecx + eax - 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
lea ebp, [edx + edi]
mov dword [esp + 0x90], ebx
lea edx, [edx + ecx - 0xc]
sub ecx, edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x98], ebp
mov ecx, eax
add ebx, 0xfffffff0
add ebp, 0xfffffff0
sub ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x535771
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x78]
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
add eax, esi
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
sar eax, 0x14
imul eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x9c]
add ecx, edi
mov dword [esp + 0x64], ecx
sar ecx, 0x14
add edx, eax
lea edi, [edx + ecx*4]
jmp 0x535816
mov ecx, dword [ebp + 0x10]
add ebp, 0x10
mov eax, ecx
mov esi, dword [esp + 0x14]
shl eax, 0x14
add eax, 0x80000
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
add esi, 0x10
sub eax, ecx
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 4]
shl eax, 0x14
cdq
sub edi, esi
mov ecx, dword [esp + 0xa8]
idiv edi
mov esi, dword [ecx + ebp]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [esp + 0x74], eax
mov eax, esi
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x64], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
add edi, eax
mov eax, dword [edx + 4]
sub eax, esi
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x5c]
shl eax, 0x14
cdq
idiv edi
mov edx, dword [esp + 0x9c]
add edx, ecx
lea edi, [edx + esi*4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x535866
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x60]
add esi, edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x80]
add esi, edx
add ecx, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x60], ecx
jmp 0x535913
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]
mov dword [esp + 0x44], ebx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
sub ecx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xac]
mov edx, dword [edx + ebx]
mov esi, edx
shl esi, 0x14
add esi, 0x80000
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
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 + 0x88], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x40]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sar ecx, 0x14
sar eax, 0x14
mov dword [esp + 0x40], ecx
sub ecx, eax
mov dword [esp + 0x50], eax
je 0x535971
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
add ecx, eax
mov eax, esi
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x60]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
jmp 0x53597b
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xd0]
xor esi, esi
xor edx, edx
mov dword [esp + 0x68], edi
test ecx, ecx
jne 0x53599b
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
jmp 0x535a27
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jl 0x535aa0
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jl 0x535aa0
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x5359d3
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], ecx
jmp 0x535a07
mov edx, dword [esp + 0xd0]
sub ecx, eax
sar ecx, 0x14
mov edx, dword [edx]
mov dword [esp + 0x50], edx
mov edx, ecx
imul ecx, dword [esp + 0x3c]
imul edx, dword [esp + 0x54]
mov esi, ecx
mov ecx, edx
mov eax, esi
sar eax, 0x14
imul eax, dword [esp + 0x5c]
sar ecx, 0x14
add eax, edi
lea edi, [eax + ecx*4]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jg 0x535a1c
mov eax, dword [esp + 0x40]
jmp 0x535a27
mov ecx, dword [esp + 0xd0]
mov eax, dword [ecx + 8]
dec eax
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jg 0x535a94
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + ecx*4 + 2]
mov ebx, dword [esp + 0x50]
sub eax, ebx
inc eax
mov dword [esp + 0x40], eax
mov bl, byte [edi + 1]
mov al, byte [edi + 2]
mov byte [esp + 0x4f], bl
mov bl, byte [edi]
mov byte [ecx - 2], bl
mov bl, byte [esp + 0x4f]
mov byte [ecx - 1], bl
mov ebx, dword [esp + 0x3c]
mov byte [ecx], al
mov eax, dword [esp + 0x54]
add esi, ebx
add edx, eax
mov eax, esi
mov ebx, dword [esp + 0x68]
sar eax, 0x14
imul eax, dword [esp + 0x5c]
mov edi, edx
add ebx, eax
mov eax, dword [esp + 0x40]
mov byte [ecx + 1], 0
sar edi, 0x14
add ecx, 4
dec eax
lea edi, [ebx + edi*4]
mov dword [esp + 0x40], eax
jne 0x535a42
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add eax, ecx
jmp 0x535aaa
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add eax, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x535719
mov edi, dword [esp + 0x48]
push edi
call fcn.0054a2d0
mov eax, dword [esp + 0x3c]
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, 0xa0
ret