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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x67327b
sub esp, 0x84
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0x400
mov dword [esp + 0x60], 0x10400
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x672b43
lea ebx, [edx + 1]
mov eax, ebx
mov ecx, edi
mov edx, dword [esp + 0x74]
cmp eax, 2
jge 0x672d68
mov dword [esp + 0x2c], eax
lea ecx, [esp + eax*8 + 0x58]
mov edx, dword [ecx]
mov ebx, dword [esp + 0x90]
cmp ebx, edx
xchg ebp, ebx
setb bl
xchg ebp, ebx
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x94]
cmp esi, ecx
xchg edi, ebx
sete bl
xchg edi, ebx
setl al
and ebp, edi
or ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x672b8f
mov ecx, dword [esp + 0x94]
jmp 0x672b91
mov ebx, edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ecx
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044b8f0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x88]
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 0x8c]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x38]
sbb edi, ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
je 0x672c5c
mov eax, dword [0x989cc4]
cmp dword [0x989cc0], ecx
je 0x672c30
mov eax, 1
jmp 0x672c58
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00403790
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
test al, al
jne 0x672cbb
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00673910
mov eax, dword [esp + 0xc]
test eax, eax
jge 0x672d33
mov edx, dword [esp + 0x2c]
cmp edx, 1
je 0x672cf1
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x38]
cmp ebx, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x54]
cmp esi, edi
sete bl
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x672b38
jmp 0x672cf1
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebp
add esp, 0x84
ret
mov eax, dword [0x989678]
mov ecx, dword [0x98967c]
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x84
ret
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jb 0x673275
mov ebx, dword [esp + 0x50]
mov ebp, eax
add eax, ebx
mov esi, ebp
sar ebp, 0x1f
add ebx, esi
mov ebx, dword [esp + 0x4c]
adc ebp, ebx
sub ecx, esi
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, esi
mov esi, dword [esp + 0x74]
lea edx, [ecx + esi]
jmp 0x672d6e
mov ebx, ecx
xor ebp, ebp
xor eax, eax
cmp ebx, 4
jb 0x673269
lea ecx, [ebx - 4]
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
lea edi, [edx + ecx]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
nop
cmp esi, 1
jbe 0x67325d
mov dword [esp + 0x34], ebp
lea esi, [ebx - 6]
movzx edx, word [edx + ecx]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov ecx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
lea ebp, [edi + esi]
mov dword [esp + 0x78], ebp
nop
cmp ecx, 1
jbe 0x673253
lea ecx, [ebx - 8]
movzx esi, word [edi + esi]
mov dword [esp + 0x54], esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
lea esi, [ebp + ecx]
mov dword [esp + 0x78], esi
nop
cmp edi, 1
jbe 0x673247
lea edi, [ebx - 0xa]
movzx ebp, word [ebp + ecx]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 2
lea ebp, [esi + edi]
mov dword [esp + 0x78], ebp
nop
cmp ecx, 1
jbe 0x67323d
lea ecx, [ebx - 0xc]
movzx esi, word [esi + edi]
mov dword [esp + 0x48], esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
lea esi, [ecx + ebp]
mov dword [esp + 0x78], esi
nop
cmp edi, 3
jbe 0x673231
lea edi, [ebx - 0x10]
mov ebp, dword [ebp + ecx]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 4
lea ebp, [edi + esi]
mov dword [esp + 0x78], ebp
nop
cmp ecx, 3
jbe 0x673227
lea ecx, [ebx - 0x14]
mov esi, dword [esi + edi]
mov dword [esp + 0x40], esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
lea esi, [ecx + ebp]
mov dword [esp + 0x78], esi
nop
cmp edi, 1
jbe 0x67321b
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
lea eax, [ebx - 0x16]
movzx ecx, word [ebp + ecx]
mov word [esp + 0x26], cx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, esi
mov dword [esp + 0x78], eax
lea eax, [0x6ff240]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], 0
movzx ecx, word [esp + 0x26]
mov word [eax + 0x28], cx
movzx ecx, cx
mov edx, dword [esp + 0x78]
lea ebx, [esp + 0x78]
cmp dword [ebx + 4], ecx
jl 0x6731be
mov dword [esp + 0x6c], eax
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0044f4c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x672fab
mov dword [edx + 0x2c], eax
jmp 0x672fb3
lea edi, [edx + 0x2c]
call fcn.00463350
cmp dword [edx + 0x10], 0xffff
sete al
mov ecx, dword [edx + 0x14]
test ecx, ecx
sete cl
and eax, ecx
test al, al
jne 0x672ffc
cmp dword [edx + 0x18], 0xffff
sete al
mov ecx, dword [edx + 0x1c]
test ecx, ecx
sete cl
and eax, ecx
test al, al
jne 0x672ffc
cmp dword [edx + 0x20], 0xffffffff
sete al
mov ecx, dword [edx + 0x24]
test ecx, ecx
sete cl
and eax, ecx
test al, al
je 0x6730db
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ebx
call fcn.00673290
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
test ecx, ecx
jne 0x673055
test edx, edx
sete dl
xchg esi, ebx
setg bl
xchg esi, ebx
and edx, 1
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x67305f
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
jmp 0x6730a1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
call fcn.00673510
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
test ecx, ecx
je 0x6730e3
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x18]
mov ebp, edx
sub edx, ebx
mov esi, dword [ecx + 0x20]
mov dword [esp + 0x54], esi
mov edi, edx
sub edx, esi
add esi, edx
mov dword [esp + 0x28], esi
mov esi, dword [ecx + 0x1c]
sub ebp, ebx
sbb eax, esi
mov ebx, dword [ecx + 0x24]
mov ebp, dword [esp + 0x54]
sub edi, ebp
sbb eax, ebx
add ebp, edx
adc ebx, eax
test ebx, ebx
jl 0x67314a
mov ebp, dword [esp + 0x94]
cmp ebp, ebx
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x90]
cmp esi, edi
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x67318c
mov eax, dword [0x989678]
mov ecx, dword [0x98967c]
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x84
ret
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x84
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x724c79]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x79d538]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x84
ret
mov eax, 1
mov ecx, edi
call fcn.004633d0
mov eax, 3
call fcn.004633d0
mov eax, 3
mov ecx, edi
call fcn.004633d0
mov eax, 1
call fcn.004633d0
mov eax, 1
mov ecx, edi
call fcn.004633d0
mov eax, 1
call fcn.004633d0
mov eax, 1
mov ecx, esi
call fcn.004633d0
mov eax, 4
mov ecx, ebx
call fcn.00463430
call fcn.00463430
nop
call fcn.00461f40
jmp fcn.00672ae0