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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x768
mov eax, dword [0x52a2f8]
xor eax, esp
mov dword [esp + 0x764], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], edi
mov ecx, dword [edi + 0xc]
call fcn.0044ebe0
mov ecx, dword [edi + 0x14c]
cmp ecx, dword [edi + 0x148]
jae 0x4650e7
imul edx, ecx, 0x4c
add edx, dword [edi + 0x150]
inc ecx
mov dword [esp + 0x1c], edx
mov dword [edi + 0x14c], ecx
mov ecx, dword [edi + 0xc]
push eax
call fcn.0044ec00
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x466663
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov edx, 0x8dc
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x24]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cd00b
imul ecx, dword [edi + 0x24], 0x8dc
add esp, 4
mov esi, eax
mov dword [esp + 0x60], esi
push ecx
push dword [edi + 0x28]
push esi
call fcn.004d81e0
imul ecx, dword [edi + 0x2c], 0x8dc
add esp, 0xc
add esi, ecx
mov dword [esp + 0x4c], esi
mov eax, dword [esi + 0xc]
test eax, eax
js 0x465160
imul eax, eax, 0x8dc
add eax, dword [esp + 0x60]
mov dword [esp + 0x28], eax
jmp 0x465168
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esi + 0x834], eax
imul ecx, dword [edi + 0x2c], 0x8dc
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x60]
mov dword [ecx + edx + 0x838], eax
xor eax, eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x4651d8
mov esi, dword [esp + 0xc]
lea edi, [edx + 0x834]
mov ecx, dword [edi - 0x834]
test ecx, ecx
je 0x4651be
push ecx
push dword [edi + 4]
push dword [edi]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0045d320
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x24]
inc eax
add edi, 0x8dc
mov dword [esp + 0x34], eax
cmp eax, ecx
jb 0x4651a0
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0xc]
lea eax, [ecx*4]
push eax
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0x170]
push eax
call fcn.004d81e0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x5c], edx
test eax, eax
jne 0x46522b
add edx, dword [esi + 0x24c]
mov edi, dword [esi + 0x250]
mov dword [esp + 0x5c], edx
jmp 0x46580b
cmp eax, 6
jne 0x465340
push dword [esp + 0x60]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, edi
call fcn.00465010
mov edx, dword [esi + 0x260]
mov edi, eax
push ecx
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.00464790
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x10]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x54]
push eax
call fcn.0045d850
push dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.004643a0
mov ecx, dword [esp + 0xc]
push eax
push dword [edi + 8]
push dword [esi + 8]
call fcn.00464300
mov edx, dword [esi + 0x260]
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x48]
lea eax, [edi + 0x2c]
push eax
push dword [esp + 0x4c]
lea eax, [esi + 0x264]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.00464480
mov eax, dword [edi + 0x1c]
add esp, 0x1c
mov ecx, dword [esp + 0x18]
cmp ecx, eax
cmovg ecx, eax
sub eax, ecx
mov dword [esp + 0x18], ecx
mov dword [edi + 0x1c], eax
test eax, eax
jg 0x4652dd
mov eax, dword [esi + 0x284]
jmp 0x4652df
xor eax, eax
mov edx, dword [esi + 0x280]
imul edx, ecx
add edx, dword [esi + 0x27c]
add edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x24], 0
je 0x465306
mov ecx, dword [esi + 0x278]
jmp 0x465308
xor ecx, ecx
push dword [edx + 4]
mov eax, dword [esi + 0x274]
mov edi, dword [esp + 0x14]
add eax, ecx
push dword [edx]
add dword [esp + 0x64], eax
mov ecx, edi
push dword [edx + 0x14]
mov eax, dword [edi]
push dword [edx + 0x10]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x1c]
lea edi, [eax - 2]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x14]
jmp 0x46580b
cmp eax, 7
jne 0x465809
imul edx, dword [ecx + 0xc], 0x58
add edx, esi
mov dword [esp + 8], edx
mov eax, dword [edx + 0x2e8]
mov dword [esp + 0x64], eax
test eax, eax
js 0x4657b6
mov edi, dword [ecx + 0x10]
jne 0x465385
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x368], edi
mov dword [esp + 0x36c], eax
mov dword [esp + 0x50], 1
jmp 0x4653da
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x14]
cmp edi, dword [eax]
jne 0x465399
cmp ecx, dword [eax + 4]
jne 0x465399
xor edx, edx
jmp 0x46539e
mov edx, 1
mov eax, dword [esp + 0x10]
push edx
push 0
push 1
mov eax, dword [eax]
push 0
push 0
push dword [esp + 0x78]
push ecx
push edi
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x70]
push ecx
push 0
lea ecx, [esp + 0x390]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 8]
jbe 0x4657b0
lea eax, [edx + 0x2c4]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x38], eax
nop word [eax + eax]
push dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
push dword [esp + eax*8 + 0x370]
push dword [esp + eax*8 + 0x370]
call fcn.00465010
mov edi, eax
mov eax, dword [esp + 8]
push ecx
push edi
push esi
mov edx, dword [eax + 0x2c0]
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], edi
call fcn.00464790
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov eax, 0x10000
cmp dword [ecx + 0x2b8], 0
jne 0x465485
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x38]
cmp dword [esp + eax*8 + 0x368], edx
jne 0x465465
cmp dword [esp + eax*8 + 0x36c], ecx
jne 0x465465
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [edi]
push eax
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.0045d850
push dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.004643a0
mov ecx, dword [esp + 0xc]
push eax
push dword [edi + 8]
push dword [esi + 8]
call fcn.00464300
push eax
push dword [esp + 0x48]
lea eax, [edi + 0x2c]
push eax
push dword [esp + 0x4c]
lea eax, [esi + 0x2c]
push dword [esp + 0x78]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x2c0]
call fcn.00464480
mov edi, dword [edi + 4]
add esp, 0x1c
and edi, dword [esi + 4]
mov edx, dword [esp + 8]
neg edi
sbb edi, edi
and edi, 0xfffffff4
mov eax, dword [edx + 0x2b8]
add edi, 0x300
add edi, edx
cmp eax, 4
ja case.default.0x4654e8
jmp dword [eax*4 + 0x466680]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
mov eax, dword [ecx + 0x1c]
cmp esi, eax
cmovg esi, eax
sub eax, esi
mov dword [esp + 0x18], esi
mov dword [ecx + 0x1c], eax
test eax, eax
jg 0x465511
mov ecx, dword [edi + 8]
jmp 0x465513
xor ecx, ecx
mov eax, dword [edi + 4]
imul eax, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
add eax, dword [edi]
add eax, ecx
add dword [esp + 0x14], eax
jmp case.default.0x4654e8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
sub eax, ecx
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x18], edx
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 4]
imul eax, edx
add eax, dword [edi]
add dword [esp + 0x14], eax
jmp 0x465783
mov eax, dword [edx + 0x2bc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx + 0x134]
add ecx, 0x134
cmp edx, eax
cmovg edx, eax
sub eax, edx
mov dword [esp + 0x18], edx
mov dword [ecx], eax
mov eax, dword [edi + 4]
imul eax, edx
jmp 0x4655c4
mov ecx, dword [edx + 0x2bc]
mov eax, dword [edx + 0x2d4]
mov edx, dword [esp + 0x30]
mov dword [edx + ecx*4 + 0x134], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x2bc]
mov dword [edx + eax*4 + 0x1b4], ecx
mov eax, dword [edi + 4]
imul eax, ecx
add eax, dword [edi]
mov edx, dword [esp + 8]
add dword [esp + 0x14], eax
mov eax, dword [edx + 0x2bc]
cmp eax, 8
jl case.default.0x4654e8
cmp eax, 9
jle 0x4655eb
cmp eax, 0x1f
jne case.default.0x4654e8
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
cmp eax, dword [esi]
je case.default.0x4654e8
push ecx
push 0
push edi
mov edx, 0x100
lea ecx, [esp + 0x48]
call fcn.00464790
mov eax, dword [edi + 0x1b0]
add esp, 0xc
sub eax, dword [esp + 0x3c]
mov edx, 0
mov ecx, dword [edi + 0x12c]
add eax, ecx
cmovns edx, eax
mov dword [esp + 0x58], edx
cmp edx, ecx
je 0x465783
push dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
push edi
call fcn.00465040
mov ecx, dword [esp + 0x168]
or edi, 0xffffffff
mov dword [esp + 0x34], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], edx
test ecx, ecx
js 0x4657a8
nop dword [eax]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x34], ecx
jne 0x465692
test edi, edi
jns 0x4657a0
lea edi, [edx + 1]
or eax, 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], eax
jmp 0x4656ce
test eax, eax
jg 0x4656ce
mov esi, dword [esp + 0x60]
imul eax, ecx, 0x8dc
mov ecx, dword [esp + 0x58]
cmp ecx, dword [eax + esi + 0x12c]
mov esi, dword [esp + 0x4c]
jge 0x4656ca
test edi, edi
jns 0x4657a0
mov edi, edx
mov eax, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], eax
jmp 0x4656ce
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + edx*4 + 0x16c]
inc edx
mov dword [esp + 0x74], edx
test ecx, ecx
jns 0x465670
mov eax, dword [esp + 0x78]
cmp edi, eax
je 0x465783
test eax, eax
lea edi, [edx - 1]
cmovns edi, eax
lea eax, [edx*4 + 4]
push eax
lea eax, [esp + 0x16c]
push eax
lea eax, [esp + 0x570]
push eax
call fcn.004d81e0
mov edx, dword [esp + 0x60]
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp edx, 1
mov esi, dword [esp + 0x34]
mov eax, edi
cmove eax, ecx
sub edi, ecx
mov dword [esp + eax*4 + 0x568], esi
lea eax, [edi*4 + 4]
push eax
lea eax, [esp + 0x16c]
lea eax, [eax + ecx*4]
push eax
lea eax, [edx + ecx]
lea ecx, [esp + 0x570]
lea eax, [ecx + eax*4]
push eax
call fcn.004d81e0
mov ecx, dword [esp + 0x80]
add esp, 0xc
lea eax, [ecx*4 + 4]
push eax
lea eax, [esp + 0x56c]
push eax
lea eax, [esp + 0x170]
push eax
call fcn.004d81e0
mov esi, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x50]
jb 0x4653f0
mov ecx, dword [esp + 0x1c]
jmp 0x4657c0
lea eax, [edx - 1]
jmp 0x4656e2
or eax, 0xffffffff
jmp 0x4656e2
mov ecx, dword [esp + 0x1c]
jmp 0x4657c4
mov eax, dword [esi + 0x27c]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
cmp dword [ecx + 0x24], 0
je 0x4657d2
mov ecx, dword [edx + 0x2f0]
jmp 0x4657d4
xor ecx, ecx
mov eax, dword [edx + 0x2ec]
add eax, ecx
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x5c], eax
mov eax, dword [edi]
push dword [ecx + 4]
push dword [ecx]
mov eax, dword [eax + 0xc]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x1c]
sub eax, 2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], eax
jmp 0x46580b
xor edi, edi
mov edx, dword [ecx + 0x24]
mov eax, dword [esi + 0x248]
mov ecx, dword [ecx + 0x28]
imul eax, edx
add edi, eax
mov dword [esp + 0x14], edi
cmp ecx, 1
jl 0x465b25
mov eax, dword [esi + 0x2b0]
imul eax, ecx
add edi, eax
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
cmp dword [ecx + 0x30], 0
je 0x46587d
mov eax, dword [esi + 0x14]
imul eax, edx
imul eax, edx
add eax, dword [esi + 0x10]
add dword [esp + 0x14], eax
cmp dword [ecx + 8], 0
jne 0x465875
cmp dword [esi + 0x254], 1
mov dword [esp + 0x34], 1
je 0x46587d
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x5c]
mov edx, 0x100
push ecx
push 0
push esi
lea ecx, [esp + 0x48]
mov dword [esi + 0x12c], eax
call fcn.00464790
mov eax, dword [esi + 0x1b0]
add esp, 0xc
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [edi + 0x18]
mov dword [esp + 8], eax
movaps xmmword [esp + 0xc0], xmm0
mov esi, dword [ecx + 4]
imul esi, edx
movq qword [esp + 0xd0], xmm0
add esi, dword [ecx]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x4658fa
mov ecx, eax
lea edi, [esp + 0xf8]
mov eax, dword [esi + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x1c]
xor ecx, ecx
imul eax, edx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cd00b
mov ecx, dword [esp + 0x16c]
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], 0
test ecx, ecx
js 0x46645f
lea eax, [esp + 0x168]
mov dword [esp + 0x64], eax
nop
imul edi, ecx, 0x8dc
add edi, dword [esp + 0x60]
mov dword [esp + 0x44], edi
cmp dword [edi + 0x1c], 0
jle 0x46643a
mov eax, dword [edi + 0x12c]
cmp eax, dword [esp + 0x5c]
jg 0x46645b
mov edx, dword [esp + 0xc]
jne 0x465977
cmp dword [edx + 0x2c], ecx
jl 0x46645b
mov eax, dword [edi + 4]
test dword [esi + 4], eax
jne 0x466275
mov ecx, dword [edi + 0x850]
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], ecx
test ecx, ecx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x78]
setne al
shl ecx, 3
sub ecx, dword [esp + 0x78]
shl ecx, 2
mov dword [esp + 0x68], ecx
lea eax, [eax*4 + 0x854]
add eax, edi
mov dword [esp + 0x88], eax
mov eax, dword [eax]
cmp dword [ecx + eax], edx
je 0x465a36
push edx
mov edx, edi
lea ecx, [esp + 0x90]
call fcn.00464400
add esp, 4
mov eax, ecx
mov ecx, dword [esp + 0x10]
push 0
push 1
push eax
push 1
push dword [edi + 0x238]
push dword [edi + 0x234]
push dword [edi]
call fcn.0045d890
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push 0
push eax
push dword [edi]
push dword [esp + 0x78]
call fcn.0045ddd0
push dword [esp + 8]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x34]
add eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.004666d0
mov edx, eax
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x368]
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], ecx
lea edx, [edi + 0x2b4]
xor ecx, ecx
mov dword [esp + 0x20], edx
xor esi, esi
cmp dword [esp + 0x2c], ecx
setne cl
lea eax, [ecx*4 + 0x85c]
add eax, edi
mov ecx, eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
nop dword [eax]
nop dword [eax + eax]
cmp dword [edx], 0
mov dword [esp + esi*4 + 0x128], 0
je 0x465b87
mov edi, dword [esp + 0x68]
mov eax, dword [ecx]
cmp dword [edi + eax], 0
mov edi, dword [esp + 0x44]
je 0x465b83
lea eax, [esi + 1]
mov edx, edi
push eax
lea ecx, [esp + 0x90]
call fcn.00464400
add esp, 4
mov eax, ecx
mov ecx, dword [esp + 0x10]
push 0
push 1
push eax
push 1
push dword [edi + 0x238]
push dword [edi + 0x234]
push dword [edi]
call fcn.0045d890
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push 0
push eax
push dword [edi]
push dword [esp + 0x78]
call fcn.0045ddd0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
test eax, eax
jne 0x465b47
push dword [esp + 8]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x34]
add eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x30]
call fcn.004666d0
mov edx, dword [esp + 0x20]
jmp 0x465b57
test ecx, ecx
jns 0x465838
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x1c]
add eax, dword [edi + 0x18]
imul eax, dword [esi + 0x2b0]
add dword [esp + 0x14], eax
jmp 0x46583c
cmp eax, 4
jne 0x465b5e
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + eax]
mov dword [esp + esi*4 + 0x128], eax
cmp dword [esp + 0x50], 0
jne 0x465b77
cmp dword [esp + esi*4 + 0x128], 0
mov dword [esp + 0x50], 0
je 0x465b7f
mov dword [esp + 0x50], 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
inc esi
add edx, 0x58
add ecx, 8
mov dword [esp + 0x20], edx
add eax, 0x18
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
cmp esi, 0x10
jb 0x465a80
cmp dword [edi + 0x850], 0
mov esi, dword [esp + 0x4c]
je 0x465bd1
mov eax, dword [esi + 0x2ac]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x465bd9
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x154]
mov dword [esp + 0x54], eax
jmp 0x465bd9
mov dword [esp + 0x54], 0x64
mov eax, dword [esp + 8]
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x465f56
mov edx, dword [esp + 0x30]
nop
test edx, edx
js 0x465bfc
cmp edx, ecx
jne 0x465f49
lea eax, [ecx + 2]
mov ecx, dword [esp + 0x10]
push eax
push dword [esi]
call fcn.0045d3a0
cmp dword [esp + 0x58], 0
je 0x465d23
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x260]
push ecx
push esi
mov eax, dword [esp + eax*4 + 0x100]
lea ecx, [esp + 0x44]
push edi
mov dword [esp + 0x38], eax
call fcn.00464790
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x10]
push 1
push dword [esp + ecx*4 + 0xe4]
mov eax, dword [edx]
lea ecx, [esp + 0x84]
push dword [esi]
push ecx
mov ecx, edx
call dword [eax + 0x14]
push dword [esi]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push eax
call fcn.0045d850
push dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.004643a0
mov ecx, dword [esp + 0xc]
push eax
push dword [esi + 8]
push dword [edi + 8]
call fcn.00464300
mov edx, dword [edi + 0x260]
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x48]
lea eax, [esi + 0x2c]
push eax
push dword [esp + 0x4c]
lea eax, [edi + 0x264]
push eax
lea eax, [edi + 0x2c]
push eax
call fcn.00464480
mov edi, dword [esp + 0x40]
add esp, 0x1c
mov ecx, dword [esp + 0x2c]
mov eax, ecx
mov edx, dword [esp + 0x18]
sub eax, edx
mov dword [esp + edi*4 + 0xf8], eax
mov edi, dword [esp + 0x44]
test eax, eax
jg 0x465ced
cmp ecx, 1
jl 0x465ced
mov eax, dword [esi + 0x290]
jmp 0x465cef
xor eax, eax
mov ecx, dword [esi + 0x28c]
imul ecx, edx
add ecx, dword [esi + 0x288]
add ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x54]
imul ecx
mov ecx, dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esp + ecx*4 + 0xc0], eax
jmp 0x465d27
mov ecx, dword [esp + 0x24]
xor eax, eax
lea edx, [esp + 0x368]
add edi, 0x2c0
mov dword [esp + 0x2c], eax
lea edx, [edx + ecx*4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edx
nop word [eax + eax]
cmp dword [esp + eax*4 + 0x128], 0
je 0x465f21
mov ecx, dword [edi - 8]
test ecx, ecx
jne 0x465e7c
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
push ecx
push esi
mov eax, dword [esp + eax*4 + 0x100]
lea ecx, [esp + 0x44]
push dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
call fcn.00464790
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x10]
push 1
push dword [ecx]
mov eax, dword [edx]
lea ecx, [esp + 0x84]
push dword [esi]
push ecx
mov ecx, edx
call dword [eax + 0x14]
push dword [esi]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push eax
call fcn.0045d850
push dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.004643a0
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push dword [esi + 8]
push dword [eax + 8]
call fcn.00464300
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x48]
lea eax, [esi + 0x2c]
push eax
push dword [esp + 0x4c]
lea eax, [edi + 4]
push eax
mov eax, dword [esp + 0x5c]
add eax, 0x2c
push eax
call fcn.00464480
mov edi, dword [esp + 0x40]
add esp, 0x1c
mov ecx, dword [esp + 0x70]
mov eax, ecx
mov edx, dword [esp + 0x18]
sub eax, edx
mov dword [esp + edi*4 + 0xf8], eax
mov edi, dword [esp + 0x38]
test eax, eax
jg 0x465e3b
cmp ecx, 1
jl 0x465e3b
mov eax, dword [esi + 0x29c]
jmp 0x465e3d
xor eax, eax
mov ecx, dword [esi + 0x298]
imul ecx, edx
add ecx, dword [esi + 0x294]
add ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x54]
imul ecx
mov ecx, dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
add dword [esp + ecx*4 + 0xc0], eax
mov eax, dword [esp + 0x2c]
jmp 0x465f21
cmp ecx, 4
jne 0x465f1d
mov edi, dword [edi]
mov edx, edi
push ecx
push esi
push dword [esp + 0x4c]
lea ecx, [esp + 0x48]
call fcn.00464790
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push 0x10000
push dword [esi + 8]
push dword [eax + 8]
call fcn.00464300
push eax
push dword [esp + 0x48]
lea eax, [esi + 0x2c]
mov edx, edi
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
add eax, 4
push eax
mov eax, dword [esp + 0x5c]
add eax, 0x2c
push eax
call fcn.00464480
mov edi, dword [esp + 0x54]
add esp, 0x1c
mov ecx, dword [edi - 4]
mov eax, dword [edi + 0x14]
mov dword [esi + ecx*4 + 0x134], eax
mov eax, dword [edi - 4]
mov ecx, dword [esp + 0x18]
mov dword [esi + eax*4 + 0x1b4], ecx
mov eax, 0x51eb851f
mov edx, dword [esi + 0x2a4]
imul edx, ecx
add edx, dword [esi + 0x2a0]
imul edx, dword [esp + 0x54]
imul edx
jmp 0x465e5a
mov ecx, dword [esp + 0x24]
inc eax
add edi, 0x58
add edx, 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edx
cmp eax, 0x10
jb 0x465d50
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jb 0x465bf0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x466050
cmp dword [edi + 0x850], ecx
jne 0x466050
mov eax, dword [edi + 0x238]
xor edx, edx
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x12c]
sar ecx, 2
imul ecx, dword [edi + 0x240]
add ecx, dword [edi + 0x23c]
add eax, ecx
mov ecx, dword [esp + 0x74]
inc ecx
mov dword [esp + 0x70], eax
mov dword [edi + 0x12c], eax
lea eax, [esp + 0x168]
cmp dword [eax + ecx*4], edx
lea eax, [eax + ecx*4]
jl 0x465fe4
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
test edx, edx
jne 0x465fcb
imul eax, dword [eax], 0x8dc
cmp esi, dword [eax + edi + 0x12c]
cmovl edx, ecx
inc ecx
lea eax, [esp + 0x168]
cmp dword [eax + ecx*4], 0
lea eax, [eax + ecx*4]
jge 0x465fb7
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
test edx, edx
mov eax, ecx
cmovne eax, edx
mov edx, eax
mov dword [esp + 0x70], eax
cmp ecx, edx
jb 0x466013
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x168]
mov dword [esp + ecx*4 + 0x16c], eax
dec ecx
cmp ecx, edx
jae 0x466000
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x850], 1
cmp dword [edi + 0xc], 0
mov eax, dword [eax]
mov dword [esp + edx*4 + 0x168], eax
jl 0x46604c
mov eax, dword [edi + 0x848]
mov dword [edi + 0x834], eax
mov eax, dword [edi + 0x84c]
mov dword [edi + 0x838], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
cmp dword [edx + 8], 0
jne 0x46643a
test ecx, ecx
je 0x46643a
cmp dword [edx + 0x1c], 0
jge 0x46643a
xorps xmm0, xmm0
xor edx, edx
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0x2c], edx
test eax, eax
je 0x466134
mov eax, dword [esp + 0x88]
lea esi, [edi + 0x2b8]
mov ecx, dword [esp + 0x68]
add ecx, 4
mov dword [esp + 0x70], esi
mov eax, dword [eax]
add eax, ecx
mov dword [esp + 0x20], eax
mov edi, dword [eax]
add edi, dword [esp + edx*4 + 0xa0]
xor ecx, ecx
mov dword [esp + edx*4 + 0xa0], edi
mov edx, esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x58], ecx
cmp dword [esp + ecx*4 + 0x128], 0
je 0x4660f9
cmp dword [edx], 0
jne 0x4660f9
mov eax, dword [esi]
mov ecx, dword [esp + 0x68]
add edi, dword [ecx + eax + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov dword [esp + eax*4 + 0xa0], edi
inc ecx
add edx, 0x58
add esi, 8
mov dword [esp + 0x58], ecx
cmp ecx, 0x10
jb 0x4660d1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
inc edx
add dword [esp + 0x68], 4
add eax, 4
mov esi, dword [esp + 0x70]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
cmp edx, dword [esp + 8]
jb 0x4660b2
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xa0]
lea edi, [eax - 1]
mov ecx, 1
cmp eax, ecx
jbe 0x4661d3
cmp edi, 8
jb 0x4661b4
cmp dword [0x52fd24], 2
jl 0x4661b4
movd xmm0, edx
and edi, 7
pshufd xmm1, xmm0, 0
sub eax, edi
movaps xmm2, xmm1
nop word [eax + eax]
movups xmm0, xmmword [esp + ecx*4 + 0xa0]
pmaxud xmm1, xmm0
movups xmm0, xmmword [esp + ecx*4 + 0xb0]
add ecx, 8
pmaxud xmm2, xmm0
cmp ecx, eax
jb 0x466170
pmaxud xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pmaxud xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pmaxud xmm1, xmm0
movd edx, xmm1
mov edi, dword [esp + 8]
cmp ecx, edi
jae 0x4661d3
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0xa0]
cmp edx, eax
cmovae eax, edx
inc ecx
mov edx, eax
cmp ecx, edi
jb 0x4661c0
xor eax, eax
mov dword [esp + 0x20], 0
xor edi, edi
cmp dword [esp + 8], eax
jbe 0x466229
mov esi, eax
nop word [eax + eax]
xor eax, eax
mov ecx, edi
cmp edx, dword [esp + edi*4 + 0xa0]
cmovne ecx, dword [esp + 0x20]
sete al
mov dword [esp + edi*4 + 0xe0], eax
lea eax, [esi + 1]
cmovne eax, esi
mov dword [esp + 0x20], ecx
inc edi
mov esi, eax
cmp edi, dword [esp + 8]
jb 0x4661f0
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x1c]
cmp eax, 1
je 0x466269
push dword [edi + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
push dword [edi]
mov eax, dword [edx]
push dword [ecx + 0x838]
push dword [ecx + 0x834]
mov eax, dword [eax + 0xc]
mov ecx, edx
call eax
sub eax, 2
cmp dword [esp + eax*4 + 0xe0], 0
je 0x466269
mov dword [edi + 0x1c], eax
jmp 0x46643a
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x1c], ecx
jmp 0x46643a
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x46643a
mov eax, dword [ecx + 0x838]
imul eax, dword [edx + 0x18]
add eax, dword [ecx + 0x834]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x854]
shl ecx, 2
mov dword [esp + 0x84], ecx
cmp dword [ecx + eax], 0
je 0x46643a
push 0
mov edx, edi
lea ecx, [esp + 0x90]
call fcn.00464400
add esp, 4
mov eax, ecx
mov ecx, dword [esp + 0x10]
push 0
push 1
push eax
push 1
push dword [edi + 0x238]
push dword [edi + 0x234]
push dword [edi]
call fcn.0045d890
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push 0
push eax
push dword [edi]
push dword [esp + 0x78]
call fcn.0045ddd0
push dword [esp + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push dword [eax + 0x83c]
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.004666d0
test eax, eax
je 0x46643a
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x260]
push ecx
push ecx
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x44]
push edi
mov dword [esp + 0x64], eax
call fcn.00464790
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x83c]
mov edx, dword [ecx]
push 1
push dword [esp + eax*4 + 0xe4]
mov eax, dword [esp + 0x30]
push dword [eax]
lea eax, [esp + 0x88]
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push dword [eax]
lea eax, [esp + 0x4c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push eax
call fcn.0045d850
push dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.004643a0
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 8]
push dword [edi + 8]
call fcn.00464300
mov edx, dword [edi + 0x260]
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add eax, 0x2c
push eax
push dword [esp + 0x4c]
lea eax, [edi + 0x264]
push eax
lea eax, [edi + 0x2c]
push eax
call fcn.00464480
mov edi, dword [esp + 0x44]
add esp, 0x1c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov eax, dword [edi + 0x1c]
cmp ecx, eax
jle 0x46640d
xor ecx, ecx
cmp edx, 1
cmovge ecx, eax
mov dword [esp + 0x18], ecx
sub eax, ecx
mov dword [edi + 0x1c], eax
test eax, eax
jg 0x466423
cmp edx, 1
jl 0x466423
mov edx, dword [esi + 0x284]
jmp 0x466425
xor edx, edx
mov eax, dword [esi + 0x280]
imul eax, ecx
add eax, dword [esi + 0x27c]
add eax, edx
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x168]
inc eax
mov dword [esp + 0x74], eax
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov dword [esp + 0x64], eax
test ecx, ecx
jns 0x465940
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ccfc8
add esp, 4
cmp dword [esp + 0x34], 0
je 0x46661b
mov ecx, dword [esp + 0x10]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x238]
push dword [esi + 0x234]
push dword [esi]
call fcn.0045d4f0
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push dword [eax + 0x838]
push dword [eax + 0x834]
lea eax, [esp + 0x104]
push dword [esi]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.0045d570
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esp + 0x34], eax
mov edi, 0x80000000
test ecx, ecx
je 0x46661b
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + eax*4 + 0xe0], 0
jl 0x4665e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x260]
push ecx
push ecx
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x44]
push esi
mov dword [esp + 0x70], eax
call fcn.00464790
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x10]
push dword [eax]
mov eax, dword [esp + 0x38]
push dword [esp + eax*8 + 0x100]
push dword [esp + eax*8 + 0x100]
lea eax, [esp + 0x54]
push eax
call fcn.0045d850
push dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.004643a0
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 8]
push dword [esi + 8]
call fcn.00464300
mov edx, dword [esi + 0x260]
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add eax, 0x2c
push eax
push dword [esp + 0x4c]
lea eax, [esi + 0x264]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.00464480
mov eax, dword [esp + 0x44]
add esp, 0x1c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 0x1c]
cmp ecx, eax
jle 0x4665a2
xor ecx, ecx
cmp edx, 1
cmovge ecx, eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x28]
sub eax, ecx
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0x4c]
test eax, eax
jg 0x4665c0
cmp edx, 1
jl 0x4665c0
mov edx, dword [esi + 0x284]
jmp 0x4665c2
xor edx, edx
mov eax, dword [esi + 0x280]
imul eax, ecx
mov ecx, dword [esp + 8]
add eax, dword [esi + 0x27c]
add eax, edx
cmp edi, eax
cmovl edi, eax
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jb 0x4664e0
cmp edi, 0x80000000
je 0x46661b
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x158]
mov eax, 0x51eb851f
imul ecx, edi
mov edi, dword [esp + 0x14]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add edi, eax
jmp 0x46661f
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 8]
xor ecx, ecx
test esi, esi
je 0x466653
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
add edx, 0x34
test eax, eax
js 0x46663c
cmp eax, ecx
jne 0x46664b
mov eax, dword [esp + ecx*4 + 0xc0]
add eax, edi
mov dword [edx], eax
mov eax, dword [esp + 0x30]
inc ecx
add edx, 4
cmp ecx, esi
jb 0x466634
push dword [esp + 0x60]
call fcn.004ccfc8
mov ecx, dword [esp + 0x20]
add esp, 4
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x76c]
pop edi
setne al
pop esi
xor ecx, esp
call fcn.004ccfb7
mov esp, ebp
pop ebp
ret 4