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

Disassembly:
mov eax, dword [esp + 0x24]
sub esp, 0xa8
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x4365e5
mov eax, dword [esp + 0xc8]
add eax, 0xc
mov dword [esp + 0xdc], eax
mov esi, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xa8], ecx
mov edx, ecx
mov ecx, 1
mov eax, edi
cmp ebp, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
jle 0x43668b
lea eax, [esi + 8]
mov edx, dword [eax + 4]
cmp edx, edi
jge 0x436636
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, ecx
mov dword [esp + 0xa8], edx
jmp 0x436678
jne 0x436653
mov ebp, dword [eax]
cmp ebp, dword [esp + 0xa8]
jge 0x436653
mov edi, dword [eax + 4]
mov edx, ebp
mov ebx, ecx
mov dword [esp + 0xa8], edx
jmp 0x436678
mov ebp, dword [esp + 0x64]
cmp ebp, edx
jl 0x436667
jne 0x436678
mov edx, dword [esp + 0x60]
mov ebp, dword [eax]
cmp edx, ebp
jge 0x436678
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov ebp, dword [esp + 0xe4]
inc ecx
add eax, 8
cmp ecx, ebp
jl 0x43661f
mov dword [esp + 0x48], ebx
lea edi, [ebx - 1]
lea edx, [ebx + 1]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x4366a0
lea edi, [ebp - 1]
mov dword [esp + 0x14], edi
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x2c], eax
jne 0x4366ad
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 + 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 + 0x38], 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 0x436908
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x43671e
mov edi, dword [esp + 0xe4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + edi*8 - 4]
jne 0x436741
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
jmp 0x436745
mov edx, dword [esi + ebp*8 + 4]
mov eax, dword [esi + ebp*8 - 4]
cmp edx, eax
jne 0x43673a
mov edi, dword [esp + 0xe4]
lea edx, [ebp - 1]
mov dword [esp + 0x10], edx
jmp 0x436745
mov edi, dword [esp + 0xe4]
mov edx, dword [esp + 0x10]
cmp ebx, edx
mov eax, ebx
je 0x43677e
mov ebp, dword [esp + 0x18]
inc eax
cmp eax, edi
jne 0x436756
xor eax, eax
inc ebp
cmp eax, edx
jne 0x43674f
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jne 0x436784
mov eax, dword [esi + 4]
mov ecx, dword [esi + edi*8 - 4]
cmp eax, ecx
jne 0x436793
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x436797
mov edx, dword [esp + 0x2c]
jmp 0x436767
cmp ecx, dword [esi + ebx*8 - 4]
jne 0x436793
lea eax, [ebx - 1]
mov dword [esp + 0x20], eax
jmp 0x436797
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4367b0
mov ecx, dword [esp + 0x24]
dec eax
cmp eax, 0xffffffff
jne 0x4367a7
mov eax, edx
inc ecx
cmp eax, ebp
jne 0x43679f
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 + 0x40], edi
lea eax, [edx + 1]
shl eax, 4
push eax
mov dword [esp + 0x48], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x3c], eax
call fcn.0054a1d0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
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 + 0xd4]
mov edx, ebx
je 0x436881
mov ebx, dword [esp + 0x44]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0xe4]
mov ebx, edx
inc edx
cmp edx, edi
jne 0x43682d
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 + 0x28]
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 + 0x10]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x43681d
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
je 0x436ae9
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, edi
mov dword [esp + 0x14], edi
sub ebp, ebx
lea ecx, [ebx + 8]
mov dword [esp + 0x28], ebp
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x4368b4
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 + 0x28]
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 + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x4368a8
jmp 0x436ae5
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jne 0x43691d
cmp ecx, dword [esi + 4]
jne 0x43692c
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x436930
cmp ecx, dword [esi + ebx*8 + 0xc]
jne 0x43692c
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
jmp 0x436930
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x436953
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xe4]
inc eax
cmp eax, edi
jne 0x43694a
xor eax, eax
inc edx
cmp eax, ecx
jne 0x436943
mov dword [esp + 0x24], edx
cmp ecx, ebp
jne 0x43696a
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x43697f
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x436983
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8 + 0xc]
cmp edx, eax
jne 0x43697f
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
jmp 0x436983
mov eax, dword [esp + 0x10]
cmp ebx, eax
je 0x43699c
mov ecx, dword [esp + 0x18]
dec ebx
cmp ebx, 0xffffffff
jne 0x436993
mov ebx, ebp
inc ecx
cmp ebx, eax
jne 0x43698b
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
lea ebx, [eax + 1]
shl ebx, 4
push ebx
call fcn.0054a1d0
mov ecx, dword [esp + 0x28]
mov edi, eax
mov dword [esp + 0x40], edi
lea ebp, [ecx + 1]
shl ebp, 4
push ebp
call fcn.0054a1d0
push ebx
mov dword [esp + 0x3c], eax
call fcn.0054a1d0
push ebp
mov dword [esp + 0x54], 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 + 0xd4]
je 0x436a6a
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov ebx, edi
mov dword [esp + 0x14], edi
sub ebx, ebp
lea ecx, [ebp + 8]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0xe4]
mov ebx, edx
inc edx
cmp edx, ebp
jne 0x436a17
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 + 0x28]
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 + 0x14]
add edi, 0x10
cmp edx, ebx
mov dword [esp + 0x14], edi
jne 0x436a07
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x436ae9
mov ebx, dword [esp + 0x44]
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x14], ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x28], edi
mov ebx, edx
dec edx
cmp edx, 0xffffffff
jne 0x436a95
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 + 0x28]
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 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 + 0x10]
cmp edx, edi
mov dword [esp + 0x14], ebp
jne 0x436a89
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
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 + 0xe0]
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 + 0x18]
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 + 0x44]
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 + 0xc0]
mov ecx, dword [esp + 0xc8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x88], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
test bl, bl
setne dl
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xdc]
test edx, edx
jne 0x436bde
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov edx, dword [edx]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
mov esi, dword [esi + edx*8 + 4]
mov dword [esp + 0x14], esi
jmp 0x436e26
mov ebx, dword [edx]
shl ebx, 0x14
add ebx, 0x80000
mov dword [esp + 0xa8], ebx
mov ebx, dword [edx + 8]
shl ebx, 0x14
sub ebx, 0x80000
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi + ebx*8 + 4]
mov ebx, dword [edx + 0xc]
dec ebx
mov dword [esp + 0x38], esi
mov esi, dword [edx + 4]
cmp ebx, ebp
mov dword [esp + 0x4c], ebx
jl 0x437329
mov edx, dword [esp + 0x38]
cmp edx, esi
jl 0x437329
cmp esi, ebp
jg 0x436c45
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x28]
jmp 0x436e1a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov eax, 1
dec esi
cmp ecx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jle 0x436c77
add edi, 0xc
cmp dword [edi - 8], esi
jg 0x436c6b
cmp esi, dword [edi]
jl 0x436c73
inc eax
add edi, 0x10
cmp eax, ecx
jl 0x436c62
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp edx, ecx
mov dword [esp + 0x18], ecx
jle 0x436ca4
mov eax, dword [esp + 0x30]
add eax, 0xc
cmp dword [eax - 8], esi
jg 0x436c98
cmp esi, dword [eax]
jl 0x436ca0
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x436c8f
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
shl ecx, 4
mov ebp, dword [esp + 0x44]
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 + 0x40], edx
shl eax, 0x14
sub edi, edx
mov esi, dword [ecx + ebp - 0x10]
cdq
idiv edi
mov edx, dword [esp + 0x50]
add edi, edx
mov dword [esp + 0x28], edi
shl ebx, 0x14
mov dword [esp + 0x70], eax
mov eax, dword [ecx + ebp - 8]
sub eax, esi
shl eax, 0x14
cdq
idiv edi
mov edi, dword [ecx + ebp - 0xc]
shl esi, 0x14
mov dword [esp + 0x80], eax
mov eax, dword [ecx + ebp - 4]
sub eax, edi
shl eax, 0x14
cdq
idiv dword [esp + 0x28]
mov edx, dword [esp + 0x40]
shl edi, 0x14
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x98], ecx
mov edx, eax
imul edx, dword [esp + 0x70]
lea edx, [edx + ebx + 0x80000]
mov dword [esp + 0x24], edx
mov edx, eax
imul edx, dword [esp + 0x80]
imul eax, ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + edi + 0x80000]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
shl ecx, 4
lea ebp, [edx + esi + 0x80000]
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 + 0x40], edx
shl eax, 0x14
sub esi, edx
cdq
idiv esi
mov edx, dword [esp + 0x50]
add esi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x74], 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 + 0x6c], 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 + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [esp + 0x74]
imul edx, ecx
shl edi, 0x14
mov dword [esp + 0x8c], eax
imul eax, ecx
lea edx, [edx + edi + 0x80000]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x6c]
imul edx, ecx
mov ecx, dword [esp + 0x10]
shl ebx, 0x14
shl esi, 0x14
lea edx, [edx + ebx + 0x80000]
mov ebx, dword [esp + 0x4c]
lea eax, [eax + esi + 0x80000]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
cmp edx, ebx
mov esi, edx
jle 0x436e22
mov esi, ebx
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xc8]
imul ebx, dword [esp + 0x48]
add ebx, dword [edx + 4]
mov edx, dword [esp + 0x20]
cmp edx, esi
mov dword [esp + 0x1c], ebx
jg 0x437329
mov edx, dword [esp + 0x30]
shl eax, 4
shl ecx, 4
lea ebx, [eax + edx]
mov edx, dword [esp + 0x34]
lea esi, [ecx + edi]
mov dword [esp + 0x9c], ebx
lea eax, [eax + edx - 0xc]
add ebx, 0xfffffff0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], ebx
lea ebx, [esi - 0x10]
lea ecx, [ecx + eax - 0xc]
sub eax, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb0], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0xb4], eax
jmp 0x436eb1
mov esi, dword [esp + 0x94]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
cmp edx, eax
je 0x436f06
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x98]
add edi, eax
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x80]
add eax, edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
add ebp, esi
sar eax, 0x14
imul eax, dword [esp + 0x58]
mov ecx, ebp
mov dword [esp + 0x24], edi
sar ecx, 0x14
add edx, eax
mov dword [esp + 0x28], ebp
lea edi, [edx + ecx*4]
jmp 0x436fb6
mov ecx, dword [ebx + 0x10]
add ebx, 0x10
mov eax, ecx
mov edi, dword [esp + 0x18]
shl eax, 0x14
add eax, 0x80000
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov ebp, dword [ebx + 4]
lea eax, [ebx + 0x10]
sub esi, ebp
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, dword [esp + 0xb0]
shl eax, 0x14
cdq
idiv esi
add edi, 0x10
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], edi
mov edi, dword [ebx + ecx]
mov edx, dword [esp + 0x18]
mov ebp, edi
shl ebp, 0x14
mov ecx, dword [edx]
add ebp, 0x80000
mov dword [esp + 0x28], ebp
mov dword [esp + 0x70], eax
mov eax, ecx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
add esi, eax
mov eax, dword [edx + 4]
sub eax, edi
shl eax, 0x14
cdq
idiv esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
sub eax, ecx
imul ecx, dword [esp + 0x58]
shl eax, 0x14
cdq
idiv esi
mov edx, dword [esp + 0x88]
add edx, ecx
lea edi, [edx + edi*4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
cmp dword [ecx + 4], eax
je 0x436ff8
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x68]
add esi, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x7c]
add esi, edx
add ecx, eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x68], ecx
jmp 0x4370a5
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x10]
add esi, 0x10
add edx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x90], esi
mov edx, dword [esi]
mov ecx, dword [esi + 0xc]
mov eax, edx
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x2c], 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
shl eax, 0x14
cdq
idiv ecx
mov edx, dword [esp + 0xb4]
mov edx, dword [esi + edx]
mov esi, edx
shl esi, 0x14
add esi, 0x80000
mov dword [esp + 0x7c], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
shl eax, 0x14
add eax, 0x80000
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
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 + 0x6c], eax
mov eax, dword [edx + 8]
sub eax, dword [esp + 0x4c]
shl eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
sar edx, 0x14
sar eax, 0x14
mov ecx, edx
mov dword [esp + 0x54], edx
sub ecx, eax
mov dword [esp + 0xa4], eax
je 0x43710b
mov eax, dword [esp + 0x50]
mov edx, ebp
add ecx, eax
mov eax, esi
sar edx, 0x14
shl edx, 0x14
and eax, 0xfff00000
sub eax, edx
cdq
idiv ecx
mov esi, eax
mov eax, dword [esp + 0x5c]
sar eax, 0x14
shl eax, 0x14
mov edx, eax
mov eax, dword [esp + 0x68]
and eax, 0xfff00000
mov dword [esp + 0xa0], esi
sub eax, edx
cdq
idiv ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
jmp 0x43711a
xor eax, eax
xor esi, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0xa0], esi
xor ecx, ecx
mov dword [esp + 0x60], edi
cmp dword [esp + 0xdc], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], ecx
jne 0x43713f
mov ebx, dword [esp + 0xa4]
mov eax, edx
jmp 0x4371c6
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jl 0x437302
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jl 0x437302
cmp ecx, dword [esp + 0x24]
jg 0x437174
mov ebx, dword [esp + 0xa4]
jmp 0x4371a6
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0xdc]
sub ecx, ebp
mov ebx, dword [edx]
sar ecx, 0x14
mov edx, ecx
imul ecx, eax
mov dword [esp + 0x38], ecx
imul edx, esi
sar ecx, 0x14
imul ecx, dword [esp + 0x58]
mov dword [esp + 0x78], edx
sar edx, 0x14
add ecx, edi
lea edi, [ecx + edx*4]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x4371bb
mov eax, dword [esp + 0x54]
jmp 0x4371c6
mov ecx, dword [esp + 0xdc]
mov eax, dword [ecx + 8]
dec eax
cmp ebx, eax
jg 0x4372ea
mov edx, dword [esp + 0x1c]
sub eax, ebx
inc eax
lea ebp, [edx + ebx*4]
mov dword [esp + 0x54], eax
mov ax, word [edi]
cmp ax, word [esp + 0xcc]
je 0x4372a5
movzx cx, byte [edi + 2]
mov edx, dword [esp + 0xd0]
xor ebx, ebx
shl ecx, 4
and ecx, 0xffff
shl ecx, 8
movzx si, byte [ecx + edx + 0xa2ee04]
mov cx, word [ebp]
xor edx, edx
mov dl, ah
and esi, 0xffff
and edx, 0xf8
mov bl, ch
and ebx, 0xf8
mov dl, byte [edx + esi + 0xa2ee04]
add dl, byte [ebx + esi + 0x5f6e04]
shr eax, 3
shr ecx, 3
and eax, 0xfc
and ecx, 0xfc
and dl, 0xf8
mov al, byte [eax + esi + 0xa2ee04]
mov bl, byte [ecx + esi + 0x5f6e04]
movzx dx, dl
add al, bl
xor cx, cx
and al, 0xfc
shl edx, 5
mov cl, al
mov al, byte [ebp]
or edx, ecx
mov cl, byte [edi]
shl al, 3
shl cl, 3
and eax, 0xff
and ecx, 0xff
shl edx, 3
mov al, byte [eax + esi + 0x5f6e04]
mov bl, byte [ecx + esi + 0xa2ee04]
add al, bl
xor cx, cx
shr al, 3
mov cl, al
or edx, ecx
mov word [ebp], dx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0xa0]
sar ecx, 0x14
imul ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
add eax, esi
mov dword [esp + 0x78], eax
add edx, ecx
sar eax, 0x14
add ebp, 4
lea edi, [edx + eax*4]
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jne 0x4371dc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x437310
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x436eaa
mov edi, dword [esp + 0x3c]
push edi
call fcn.0054a2d0
mov edx, dword [esp + 0x34]
push edx
call fcn.0054a2d0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0054a2d0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0054a2d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret