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

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x80]
shl eax, 3
push ebx
mov dword [esp + 0xc], eax
xor eax, eax
cmp dword [esp + 0x84], 1
push ebp
setg al
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
mov ebp, edx
mov edx, dword [esp + 0x48]
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
push edi
shl eax, 3
xor ebx, ebx
push 0x40
pop esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 6
add esi, ebx
xor edi, edi
and dword [esp + 0x2c], edi
sar esi, 1
cmp edx, ebp
jle 0x468dca
mov eax, dword [esp + 0x5c]
lea ebx, [ecx + edx*4]
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, edx
mov edx, dword [esp + 0x28]
sub eax, ebp
mov ebp, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x3c], eax
lea ebx, [ebx - 4]
mov eax, dword [edx + ebx]
imul eax, esi
sar eax, 6
add eax, dword [ebx]
cmp eax, dword [ebx + ebp]
jge 0x468d98
cmp dword [esp + 0x2c], 0
jne 0x468d98
cmp eax, dword [esp + 0x18]
jl 0x468db1
add edi, dword [esp + 0x18]
jmp 0x468db1
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], 1
cmp eax, dword [edx + ebx]
cmovge eax, dword [edx + ebx]
mov edx, dword [esp + 0x28]
add edi, eax
sub ecx, 1
jne 0x468d72
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
cmp edi, eax
cmovle ebx, esi
cmovle esi, dword [esp + 0x20]
sub dword [esp + 0x14], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
jne 0x468d2d
xor eax, eax
and dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
cmp edx, ebp
jle 0x468e95
mov eax, dword [esp + 0x60]
lea esi, [ecx + edx*4]
sub dword [esp + 0x5c], ecx
sub eax, ecx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, edx
mov edx, dword [esp + 0x3c]
sub eax, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
lea esi, [esi - 4]
mov ecx, dword [esi + eax]
imul ecx, ebx
sar ecx, 6
add ecx, dword [esi]
cmp ecx, dword [esi + edx]
jge 0x468e67
cmp dword [esp + 0x2c], 0
jne 0x468e67
mov eax, dword [esp + 0x18]
and dword [esp + 0x3c], 0
cmp ecx, eax
cmovl eax, dword [esp + 0x3c]
mov ecx, eax
jmp 0x468e6f
mov dword [esp + 0x2c], 1
mov eax, dword [esi + ebp]
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0x34]
add edi, eax
sub dword [esp + 0x28], 1
mov dword [ecx + esi], eax
jne 0x468e35
mov ebp, dword [esp + 0x10]
mov eax, edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x84]
lea ecx, [edx - 1]
mov ebx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
cmp ecx, dword [esp + 0x54]
jle 0x469091
mov esi, dword [esp + 0x18]
lea edx, [edx*4 - 4]
add esi, 8
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x68]
sub edi, eax
and dword [esp + 0x78], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
movsx eax, word [ecx + ebx*2]
movsx ebx, word [ecx + ebp*2]
mov esi, eax
mov dword [esp + 0x2c], eax
sub esi, ebx
mov eax, edi
cdq
idiv esi
mov edx, eax
mov eax, dword [esp + 0x28]
imul esi, edx
movsx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x2c]
sub ebx, esi
sub ecx, eax
mov esi, dword [esp + 0x28]
sub ebx, eax
add ebx, edi
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x84]
test ebx, ebx
cmovle ebx, dword [esp + 0x78]
imul ecx, edx
lea eax, [edi + esi*4]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
add ebx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
add ecx, ebx
mov dword [esp + 0x78], ecx
mov eax, dword [eax + esi*4]
cmp eax, dword [esp + 0x40]
cmovle eax, dword [esp + 0x40]
cmp ecx, eax
jl 0x468ff5
cmp dword [esp + 0x9c], 0
je 0x468fbe
mov ebx, dword [esp + 0x20]
lea eax, [ebp + 2]
cmp ebx, eax
jle 0x46907b
cmp esi, dword [esp + 0xa0]
push 9
pop eax
push 7
pop ecx
cmovl eax, ecx
mov ecx, dword [esp + 0x94]
imul eax, dword [esp + 0x2c]
shl eax, cl
shl eax, 3
sar eax, 4
cmp dword [esp + 0x78], eax
jg 0x46907b
mov esi, dword [esp + 0x98]
mov ecx, dword [esi + 0x1c]
mov eax, ecx
shr eax, 1
sub ecx, eax
mov dword [esi + 0x1c], ecx
mov ecx, esi
call fcn.0045a0a4
jmp 0x468fd7
mov esi, dword [esp + 0x98]
xor edx, edx
inc edx
mov ecx, esi
call fcn.00459e9d
test eax, eax
jne 0x469097
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
add ecx, 8
mov eax, dword [esp + 0x34]
sub ebx, 8
mov esi, dword [esp + 0x28]
mov dword [esp + 0x78], ebx
mov eax, dword [eax]
jmp 0x469001
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
add eax, edx
sub ecx, eax
test edx, edx
jle 0x46901a
sub esi, ebp
movzx edx, byte [esi + 0x551560]
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x18]
add ecx, edx
xor edx, edx
mov eax, esi
cmp ebx, esi
mov ebx, dword [esp + 0x20]
cmovl eax, edx
mov edx, dword [esp + 0x34]
sub dword [esp + 0x38], 4
dec ebx
mov dword [esp + 0x20], ebx
mov dword [edx], eax
lea eax, [ecx + esi]
mov edx, dword [esp + 0x3c]
dec edx
cmp dword [esp + 0x78], esi
mov dword [esp + 0x3c], edx
cmovl eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
cmp edx, dword [esp + 0x54]
jg 0x468ed5
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x70]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x68], eax
jmp 0x46909f
mov esi, dword [esp + 0x98]
xor edx, edx
push 1
inc edx
mov ecx, esi
call fcn.0045a158
pop ecx
jmp 0x46909b
mov ecx, dword [esp + 0x78]
jmp 0x469066
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4690e6
mov eax, ebx
sub eax, ebp
inc eax
cmp dword [esp + 0x9c], 0
je 0x4690d2
mov ecx, dword [esp + 0x74]
push eax
mov edx, dword [ecx]
cmp edx, ebx
cmovge edx, ebx
mov dword [ecx], edx
sub edx, ebp
mov ecx, esi
call fcn.0045a1cc
mov eax, dword [esp + 0x78]
pop ecx
mov edx, dword [eax]
jmp 0x4690ef
mov edx, eax
mov ecx, esi
call fcn.00459f1f
lea edx, [eax + ebp]
mov eax, dword [esp + 0x74]
mov dword [eax], edx
jmp 0x4690ef
mov eax, dword [esp + 0x74]
and dword [eax], 0
xor edx, edx
mov eax, dword [esp + 0x68]
cmp edx, ebp
mov ecx, dword [esp + 0x80]
lea esi, [eax + ecx]
cmovg esi, eax
xor eax, eax
cmp edx, ebp
cmovg eax, ecx
test eax, eax
jle 0x469145
cmp dword [esp + 0x9c], 0
je 0x46912e
mov ecx, dword [esp + 0x7c]
push 1
mov edx, dword [ecx]
mov ecx, dword [esp + 0x9c]
call fcn.0045a158
pop ecx
jmp 0x46914c
mov ecx, dword [esp + 0x98]
xor edx, edx
inc edx
call fcn.00459e9d
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
jmp 0x46914c
mov ecx, dword [esp + 0x7c]
and dword [ecx], 0
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
movsx ecx, word [eax + ebx*2]
movsx eax, word [eax + ebp*2]
sub ecx, eax
mov eax, esi
cdq
idiv ecx
mov edx, ebp
imul ecx, eax
mov dword [esp + 0x68], eax
sub esi, ecx
mov dword [esp + 0x54], esi
cmp ebp, ebx
jge 0x4691a0
mov esi, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi + 0x20]
movsx ecx, word [eax + edx*2 + 2]
movsx eax, word [eax + edx*2]
sub ecx, eax
imul ecx, ebp
add dword [edi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x46917f
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
mov edx, ebp
cmp ebp, ebx
jge 0x4691cd
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x20]
movsx ecx, word [eax + edx*2 + 2]
movsx eax, word [eax + edx*2]
sub ecx, eax
mov eax, esi
cmp esi, ecx
cmovge eax, ecx
add dword [edi + edx*4], eax
sub esi, eax
inc edx
cmp edx, ebx
jl 0x4691aa
mov ebp, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp ebp, ebx
jge 0x4693f2
mov eax, dword [esp + 0x84]
lea edi, [edi + ebp*4]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
sub esi, eax
sub dword [esp + 0x64], eax
sub ecx, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
mov eax, dword [eax + 0x20]
movsx edx, word [eax + ebp*2 + 2]
movsx eax, word [eax + ebp*2]
sub edx, eax
shl edx, cl
mov ecx, dword [edi]
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
mov ebx, ecx
cmp edx, 1
jle 0x469360
mov eax, dword [esp + 0x64]
sub ebx, dword [eax + edi]
xor eax, eax
test ebx, ebx
cmovle ebx, eax
sub ecx, ebx
cmp dword [esp + 0x90], 2
mov dword [edi], ecx
jne 0x46926d
cmp edx, 2
jle 0x46926d
mov eax, dword [esp + 0x7c]
cmp dword [eax], 0
jne 0x46926d
mov eax, dword [esp + 0x74]
cmp ebp, dword [eax]
jge 0x46926d
xor eax, eax
inc eax
jmp 0x46926f
xor eax, eax
mov esi, edx
imul esi, dword [esp + 0x90]
add esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], esi
mov eax, dword [eax + 0x38]
movsx edx, word [eax + ebp*2]
add edx, dword [esp + 0x48]
imul eax, dword [esp + 0x68], 0x15
imul edx, esi
mov esi, edx
sar esi, 1
sub esi, eax
mov eax, dword [esp + 0x68]
mov ebp, eax
shl ebp, 3
cmp dword [esp + 0x44], 2
mov dword [esp + 0x78], ebp
jne 0x4692bb
mov eax, ebp
sar eax, 2
add esi, eax
mov eax, dword [esp + 0x68]
lea ebp, [ecx + esi]
shl eax, 4
cmp ebp, eax
jge 0x4692ca
sar edx, 2
jmp 0x4692d6
imul eax, dword [esp + 0x68], 0x18
cmp ebp, eax
jge 0x4692d8
sar edx, 3
add esi, edx
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x10]
lea eax, [ecx + eax*4]
xor ecx, ecx
add eax, esi
cdq
idiv dword [esp + 0x78]
mov edx, dword [esp + 0x54]
test eax, eax
cmovns ecx, eax
mov dword [edx + edi], ecx
mov eax, dword [edi]
mov dword [esp + 0x68], ecx
imul ecx, dword [esp + 0x90]
sar eax, 3
cmp ecx, eax
jle 0x46931d
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
sar eax, cl
sar eax, 3
mov dword [edx + edi], eax
jmp 0x469321
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
push 8
pop edx
cmp eax, edx
cmovl edx, eax
xor eax, eax
mov dword [ecx + edi], edx
imul edx, dword [esp + 0x78]
mov ecx, dword [edi]
add ecx, esi
mov esi, dword [esp + 0x54]
cmp edx, ecx
mov ecx, dword [esp + 0x80]
setge al
mov dword [ecx + edi], eax
mov eax, dword [esi + edi]
imul eax, dword [esp + 0x90]
shl eax, 3
sub dword [edi], eax
jmp 0x46937f
sub ebx, dword [esp + 0x18]
push 0
pop eax
cmovs ebx, eax
sub ecx, ebx
mov dword [edi], ecx
and dword [esi + edi], eax
mov eax, dword [esp + 0x80]
mov dword [eax + edi], 1
test ebx, ebx
jle 0x4693cd
mov edx, dword [esi + edi]
mov esi, ebx
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
push 8
pop eax
sub eax, edx
lea ecx, [ecx + 3]
sar esi, cl
mov ecx, dword [esp + 0x54]
cmp esi, eax
cmovge esi, eax
lea eax, [edx + esi]
imul esi, dword [esp + 0x90]
mov dword [ecx + edi], eax
mov eax, ebx
sub eax, dword [esp + 0x2c]
xor ecx, ecx
shl esi, 3
cmp esi, eax
mov eax, dword [esp + 0x80]
setge cl
sub ebx, esi
mov dword [eax + edi], ecx
mov esi, dword [esp + 0x54]
mov ecx, ebx
mov ebx, dword [esp + 0x20]
inc ebp
add edi, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebp
cmp ebp, ebx
jl 0x469206
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x50]
mov dword [eax], ecx
cmp ebp, esi
jge 0x469445
mov eax, dword [esp + 0x88]
sub edi, eax
sub dword [esp + 0x8c], eax
sub esi, ebp
mov ebx, dword [esp + 0x8c]
lea edx, [eax + ebp*4]
mov eax, dword [edi + edx]
mov ecx, dword [esp + 0x30]
sar eax, cl
xor ecx, ecx
sar eax, 3
mov dword [edx], eax
and dword [edi + edx], 0
cmp dword [edx], 1
setl cl
mov dword [ebx + edx], ecx
lea edx, [edx + 4]
sub esi, 1
jne 0x46941c
mov ebx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x3c
ret