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

Disassembly:
mov eax, dword [esp + 0x24]
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x4358a5
mov eax, dword [esp + 0xc0]
add eax, 0xc
mov dword [esp + 0xd4], eax
mov esi, dword [esp + 0xd0]
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x10], edi
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xa4], ecx
mov edx, ecx
mov ecx, 1
mov eax, ebx
cmp ebp, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
jle 0x43594b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, ebx
jge 0x4358f6
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov edi, ecx
mov dword [esp + 0xa4], edx
jmp 0x435938
jne 0x435913
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa4]
jge 0x435913
mov ebx, dword [eax + 4]
mov edx, ebp
mov edi, ecx
mov dword [esp + 0xa4], edx
jmp 0x435938
mov ebp, dword [esp + 0x68]
cmp ebp, edx
jl 0x435927
jne 0x435938
mov edx, dword [esp + 0x64]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x435938
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 + 0xdc]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x4358df
mov dword [esp + 0x4c], edi
lea ebx, [edi - 1]
lea edx, [edi + 1]
test edi, edi
mov dword [esp + 0x18], ebx
jne 0x435960
lea ebx, [ebp - 1]
mov dword [esp + 0x18], ebx
lea eax, [ebp - 1]
cmp edi, eax
mov dword [esp + 0x2c], eax
jne 0x43596d
xor edx, edx
xor eax, eax
mov ecx, dword [esi + edi*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 ebx, dword [esi + ebx*8]
mov dword [esp + 0x1c], eax
lea eax, [esi + edi*8 + 4]
mov edx, dword [esi + edx*8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + edi*8]
sub ebp, ecx
sub ebx, eax
imul ebp, ebx
mov ebx, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x20], edi
mov ebx, dword [esi + ebx*8 + 4]
sub ebx, ecx
imul ebx, edx
sub ebp, ebx
test ebp, ebp
jle 0x435bcd
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x4359de
mov ebp, dword [esp + 0xdc]
mov eax, dword [esi + 4]
cmp eax, dword [esi + ebp*8 - 4]
jne 0x435a07
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
jmp 0x435a0b
mov edx, dword [esi + ebx*8 + 4]
mov eax, dword [esi + ebx*8 - 4]
cmp edx, eax
jne 0x4359fa
mov ebp, dword [esp + 0xdc]
lea edx, [ebx - 1]
mov dword [esp + 0x1c], edx
jmp 0x435a0b
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xdc]
jmp 0x435a0b
mov edx, dword [esp + 0x1c]
cmp edi, edx
mov eax, edi
je 0x435a44
mov ebx, dword [esp + 0x14]
inc eax
cmp eax, ebp
jne 0x435a1c
xor eax, eax
inc ebx
cmp eax, edx
jne 0x435a15
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
test edi, edi
jne 0x435a4a
mov eax, dword [esi + 4]
mov ecx, dword [esi + ebp*8 - 4]
cmp eax, ecx
jne 0x435a59
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x435a5d
mov edx, dword [esp + 0x2c]
jmp 0x435a2d
cmp ecx, dword [esi + edi*8 - 4]
jne 0x435a59
lea eax, [edi - 1]
mov dword [esp + 0x20], eax
jmp 0x435a5d
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x435a76
mov ecx, dword [esp + 0x28]
dec eax
cmp eax, 0xffffffff
jne 0x435a6d
mov eax, edx
inc ecx
cmp eax, ebx
jne 0x435a65
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x44], ebp
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x4c], eax
call fcn.0054a1d0
push ebx
mov dword [esp + 0x48], 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 + 0x2c]
add esp, 0x10
cmp edi, eax
mov eax, dword [esp + 0xcc]
mov edx, edi
je 0x435b46
mov edi, dword [esp + 0x30]
mov ebx, ebp
sub ebp, edi
mov dword [esp + 0x18], ebx
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0xdc]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x435af3
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 + 0x24]
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 + 0x18]
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 + 0x1c]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x435ae3
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x435da7
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ebp, ebx
mov dword [esp + 0x18], ebx
sub ebp, edi
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x435b79
mov edx, dword [esp + 0x2c]
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 + 0x24]
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 + 0x18]
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 + 0x18], ebx
jne 0x435b6d
jmp 0x435da3
mov ebp, dword [esp + 0x2c]
cmp edi, ebp
jne 0x435be2
cmp ecx, dword [esi + 4]
jne 0x435bf1
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x435bf5
cmp ecx, dword [esi + edi*8 + 0xc]
jne 0x435bf1
lea eax, [edi + 1]
mov dword [esp + 0x20], eax
jmp 0x435bf5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x435c18
mov ebx, dword [esp + 0xdc]
mov edx, dword [esp + 0x28]
inc eax
cmp eax, ebx
jne 0x435c0f
xor eax, eax
inc edx
cmp eax, ecx
jne 0x435c08
mov dword [esp + 0x28], edx
cmp ecx, ebp
jne 0x435c2f
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x435c42
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x435c46
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x435c42
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x435c46
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edi, ecx
je 0x435c5f
dec edi
cmp edi, 0xffffffff
jne 0x435c56
mov edi, ebp
inc eax
cmp edi, ecx
jne 0x435c4e
mov dword [esp + 0x14], eax
lea edi, [eax + 1]
shl edi, 4
push edi
call fcn.0054a1d0
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], ebp
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
push edi
mov dword [esp + 0x48], eax
call fcn.0054a1d0
push ebx
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 + 0xcc]
je 0x435d29
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, edi
sub edi, ebp
mov dword [esp + 0x18], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0xdc]
mov edi, edx
inc edx
cmp edx, ebp
jne 0x435cd6
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 + 0x24]
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 + 0x18]
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 + 0x18], ebx
jne 0x435cc6
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x435da7
mov edi, dword [esp + 0x30]
mov ebx, ebp
sub ebp, edi
mov dword [esp + 0x18], ebx
lea ecx, [edi + 8]
mov dword [esp + 0x24], ebp
mov edi, edx
dec edx
cmp edx, 0xffffffff
jne 0x435d54
mov edx, dword [esp + 0x2c]
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 + 0x24]
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 + 0x18]
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 + 0x1c]
cmp edx, edi
mov dword [esp + 0x18], ebx
jne 0x435d48
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
shl eax, 4
add edx, eax
mov ecx, dword [esp + 0xd4]
lea edi, [edx - 0x10]
mov ebx, dword [edx - 0x10]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov ebx, dword [edi + 8]
mov dword [edx + 8], ebx
mov bl, byte [esp + 0xd8]
mov edi, dword [edi + 0xc]
mov dword [edx + 0xc], edi
mov edx, dword [esp + 0x34]
add eax, edx
lea edx, [eax - 0x10]
mov edi, dword [eax - 0x10]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x14]
shl eax, 4
lea edx, [eax + ebp - 0x10]
mov edi, dword [eax + ebp - 0x10]
mov dword [eax + ebp], edi
mov edi, dword [edx + 4]
mov dword [eax + ebp + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + ebp + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + ebp + 0xc], edx
mov edx, dword [esp + 0x30]
add eax, edx
lea edx, [eax - 0x10]
mov edi, dword [eax - 0x10]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
xor edi, edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
xor eax, eax
mov edx, dword [edx + 8]
mov dword [esp + 0x18], edx
xor edx, edx
test bl, bl
setne dl
test ecx, ecx
mov dword [esp + 0x1c], edx
jne 0x435e97
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esi + ecx*8 + 4]
mov dword [esp + 0x24], edx
jmp 0x4360dd
mov edx, dword [ecx]
mov ebx, dword [esp + 0x10]
shl edx, 0x14
add edx, 0x80000
mov esi, dword [esi + ebx*8 + 4]
mov dword [esp + 0x90], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
shl edx, 0x14
sub edx, 0x80000
dec ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], ecx
mov edx, dword [edx]
cmp ecx, edx
jl 0x43657e
cmp esi, ebx
jl 0x43657e
cmp ebx, edx
jg 0x435ef6
mov dword [esp + 0x20], edx
jmp 0x4360d1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov eax, 1
dec ebx
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x435f25
add ebp, 0xc
cmp dword [ebp - 8], ebx
jg 0x435f19
cmp ebx, dword [ebp]
jl 0x435f21
inc eax
add ebp, 0x10
cmp eax, ecx
jl 0x435f0f
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x28]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x435f52
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp dword [eax - 8], ebx
jg 0x435f46
cmp ebx, dword [eax]
jl 0x435f4e
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x435f3d
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
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 + 0x88], 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 + 0x74], 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 + 0x7c], eax
mov eax, ebx
sub eax, ecx
mov ecx, eax
imul ecx, dword [esp + 0x88]
lea edx, [ecx + ebp + 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 + 0x14]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x70], 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 + 0x44], 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 + 0x80], 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 + 0x78], 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 + 0x80]
sub ebx, ecx
mov ecx, ebx
imul edx, ecx
shl edi, 0x14
shl ebp, 0x14
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
imul edx, ecx
mov dword [esp + 0x94], eax
imul eax, ecx
mov ecx, dword [esp + 0x38]
lea edx, [edx + ebp + 0x80000]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x54], edx
shl esi, 0x14
lea eax, [eax + esi + 0x80000]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
cmp esi, ecx
mov dword [esp + 0x24], esi
jle 0x4360dd
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xc0]
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jg 0x43657e
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
shl edi, 4
shl eax, 4
mov ebx, edi
lea edi, [eax + edx]
lea eax, [eax + esi - 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
lea ecx, [ebx + ebp]
mov dword [esp + 0x5c], edi
lea ebx, [ebx + eax - 0xc]
sub eax, ebp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x34]
add edi, 0xfffffff0
sub eax, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], ebx
lea esi, [ecx - 0x10]
mov dword [esp + 0xa4], eax
jmp 0x436160
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
cmp eax, edx
je 0x4361b4
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
add ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
add ecx, edx
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
sar ecx, 0x14
imul ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xa0]
add eax, ebp
mov dword [esp + 0x60], eax
sar eax, 0x14
add edx, ecx
lea ebp, [edx + eax*4]
jmp 0x436254
mov ecx, dword [esi + 0x10]
add esi, 0x10
mov eax, ecx
add ebx, 0x10
shl eax, 0x14
add eax, 0x80000
mov edi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov ebp, dword [esi + 4]
lea eax, [esi + 0x10]
sub edi, ebp
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 8]
sub eax, ecx
mov ecx, dword [esp + 0xac]
shl eax, 0x14
cdq
idiv edi
mov ebp, dword [esi + ecx]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
add edi, edx
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 + 0x70], eax
mov eax, dword [ebx + 4]
sub eax, ebp
shl eax, 0x14
cdq
idiv edi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 8]
sub eax, ecx
imul ecx, dword [esp + 0x58]
shl eax, 0x14
cdq
idiv edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
add eax, ecx
lea ebp, [eax + ebp*4]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
cmp dword [edx + 4], ecx
je 0x436296
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x94]
add eax, edx
mov dword [esp + 0x6c], eax
jmp 0x436338
mov edx, dword [esp + 0x14]
add edi, 0x10
add edx, 0x10
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], edx
mov edx, dword [edi]
mov ecx, dword [edi + 0xc]
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
sub ecx, eax
lea eax, [edi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 8]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xa4]
mov edx, dword [edi + edx]
mov dword [esp + 0x80], eax
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
sub eax, edx
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x38]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sar eax, 0x14
sar edx, 0x14
mov ecx, eax
mov dword [esp + 0x38], eax
sub ecx, edx
mov dword [esp + 0x48], edx
je 0x4363a2
mov eax, 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 + 0x84], eax
mov eax, dword [esp + 0x70]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x6c]
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
xor edx, edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
jmp 0x4363b2
xor edx, edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x64], ebp
cmp ecx, edx
mov dword [esp + 0x50], edx
jne 0x4363d2
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
jmp 0x43646d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x98]
cmp ecx, eax
jl 0x436557
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jl 0x436557
cmp eax, dword [esp + 0x28]
jg 0x436408
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
jmp 0x43644d
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x90]
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
sub ecx, eax
sar ecx, 0x14
mov edx, ecx
imul ecx, dword [esp + 0x8c]
imul edx, dword [esp + 0x84]
mov dword [esp + 0x50], ecx
mov eax, edx
sar ecx, 0x14
imul ecx, dword [esp + 0x58]
sar eax, 0x14
add ecx, ebp
lea ebp, [ecx + eax*4]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jg 0x436462
mov eax, dword [esp + 0x38]
jmp 0x43646d
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 8]
dec eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jg 0x43654b
mov edi, dword [esp + 0x10]
lea ecx, [edi + ecx*4 + 2]
mov edi, dword [esp + 0x48]
sub eax, edi
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp]
mov edi, dword [esp + 0xc4]
cmp eax, edi
je 0x436504
mov al, byte [ecx - 2]
mov edi, dword [esp + 0xc8]
xor ebx, ebx
and eax, 0xff
mov bl, byte [ebp]
shl edi, 9
sub ebx, eax
mov al, byte [ebx + edi + 0x60ef03]
mov bl, byte [ecx - 2]
add al, bl
xor ebx, ebx
mov byte [ecx - 2], al
mov al, byte [ecx - 1]
mov bl, byte [ebp + 1]
and eax, 0xff
sub ebx, eax
mov al, byte [ebx + edi + 0x60ef03]
mov bl, byte [ecx - 1]
add al, bl
xor ebx, ebx
mov byte [ecx - 1], al
mov al, byte [ecx]
mov bl, byte [ebp + 2]
mov ebp, eax
and ebp, 0xff
sub ebx, ebp
mov bl, byte [ebx + edi + 0x60ef03]
mov byte [ecx + 1], 0
add bl, al
mov byte [ecx], bl
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x8c]
add edx, eax
mov eax, dword [esp + 0x50]
add eax, ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov edi, edx
sar eax, 0x14
imul eax, dword [esp + 0x58]
add ebp, eax
mov eax, dword [esp + 0x38]
sar edi, 0x14
add ecx, 4
dec eax
lea ebp, [ebp + edi*4]
mov dword [esp + 0x38], eax
jne 0x43648c
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x436561
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 0x436159
mov ebp, dword [esp + 0x40]
push ebp
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, 0xa0
ret