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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x3c], 1
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x4d4], 0
mov eax, dword [eax + edx*4]
mov dword [esp + 0x28], eax
jne 0x46680c
xor eax, eax
cmp dword [ebp + 0x4d0], 0
setne al
mov dword [esp + 0x3c], eax
mov dword [esp], 0x50
call fcn.00648a36
test eax, eax
mov dword [esp + 0x2c], eax
je 0x466c06
test byte [ebx + 0x25], 0x20
je 0x4668b6
cmp dword [ebx + 0x1c], 0xaaaaac44
je 0x466851
mov dword [esp + 0x14], 0x3a3
mov dword [esp + 0x10], 0x6d4759
mov dword [esp + 0xc], 0x6d476b
jmp 0x466872
cmp dword [ebx + 0x18], 0xffffff08
jne 0x466893
mov dword [esp + 0x14], 0x3a4
mov dword [esp + 0x10], 0x6d4759
mov dword [esp + 0xc], 0x6d4a2d
mov dword [esp + 8], 0x6d47ab
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00647705
call fcn.00697e77
mov ecx, 0x12
mov edi, dword [esp + 0x2c]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
jmp 0x4668df
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047c9e0
test eax, eax
mov esi, eax
jns 0x4668df
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.006489d6
mov eax, esi
jmp 0x466c0b
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + edx*4]
cmp dword [eax + 0xec], 0
je 0x466904
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xec]
mov dword [esp + 0x20], eax
add eax, 0x48
jmp 0x46690d
mov eax, dword [ebp + 0x50c]
add eax, 4
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
je 0x466b37
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 3
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x4d0]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00647e9f
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x34]
mov edi, esi
sar edi, 0x1f
add esi, dword [eax + 0x1a8]
adc edi, dword [eax + 0x1ac]
mov dword [eax + 0x1a8], esi
mov dword [eax + 0x1ac], edi
mov eax, dword [ebx + 0x30]
add eax, dword [ecx + 0x1b0]
adc edx, dword [ecx + 0x1b4]
mov dword [ecx + 0x1b0], eax
mov dword [esp + 0x30], eax
mov dword [ecx + 0x1b4], edx
mov ecx, dword [ebp + 0x4d4]
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x4669c8
mov eax, ecx
cdq
cmp edi, edx
jg 0x4669f4
jl 0x4669c8
cmp esi, ecx
ja 0x4669f4
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x20]
je 0x466b37
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x24], eax
ja 0x466b37
jb 0x4669f4
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x20], eax
jae 0x466b37
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1a8], 0
mov dword [eax + 0x1ac], 0
mov eax, dword [esp + 0x2c]
or dword [eax + 0x24], 0x1000
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x20]
je 0x466b1f
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x24], eax
ja 0x466b1f
jb 0x466a43
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x20], eax
jae 0x466b1f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0xb0]
cmp dword [eax], 0
sete al
movzx eax, al
imul ecx, eax
mul dword [esp + 0x20]
add edx, ecx
shrd eax, edx, 1
shr edx, 1
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
adc edx, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00647e5c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
imul edx, dword [esp + 0x20]
imul esi, eax
lea ecx, [edx + esi]
mov esi, dword [esp + 0x48]
mul dword [esp + 0x20]
add edx, ecx
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
sub esi, eax
mov eax, dword [esp + 0x30]
sbb edi, edx
xor edx, edx
mov ecx, edi
sar ecx, 0x1f
and ecx, 7
add esi, ecx
adc edi, edx
mov edx, dword [esp + 0x34]
shrd esi, edi, 3
sar edi, 3
sub eax, dword [esp + 0x20]
sbb edx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x28]
adc edi, edx
mov dword [eax + 0x1b0], esi
mov dword [eax + 0x1b4], edi
jmp 0x466b37
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1b0], 0
mov dword [eax + 0x1b4], 0
mov eax, dword [esp + 0x38]
cmp dword [eax], 0
je 0x466bc7
cmp dword [esp + 0x3c], 0
je 0x466b55
mov eax, dword [esp + 0x2c]
test byte [eax + 0x25], 0x10
je 0x466bd4
mov dword [esp + 8], ebx
mov eax, dword [ebp + 0x50c]
mov eax, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dword [esp + 0x78]
test eax, eax
je 0x466bb7
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
test eax, eax
jne 0x466b86
mov eax, dword [esp + 0x38]
cmp dword [eax], 0
jne 0x466bd4
jmp 0x466bc7
cmp dword [esp + 0x3c], 0
je 0x466ba2
test byte [eax + 0x25], 0x10
jne 0x466ba2
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
add eax, 0x48
mov dword [esp + 0x38], eax
jmp 0x466b71
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [esp + 0x78]
test eax, eax
je 0x466b93
jmp 0x466b7b
mov eax, dword [ebp + 0x50c]
mov eax, dword [eax + 8]
add eax, 0x48
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x50c]
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [esp + 0x38]
mov eax, dword [eax + edx*4]
mov dword [edi], ecx
mov dword [eax + 0xec], ecx
mov dword [esp], ebx
call fcn.0047c59e
xor eax, eax
jmp 0x466c0b
mov eax, 0xfffffff4
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret