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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6710a6
sub esp, 0x30
mov ecx, dword [esp + 0x34]
test byte [ecx], al
nop
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x67108c
lea ebx, [0x83569c]
mov dword [ecx + 0x74], ebx
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x88], 0
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x67107a
mov dword [ecx + 0x8c], 0
mov byte [ecx + 0x78], 0
lea ebx, [ecx + 0x74]
mov dword [esp + 0x24], ebx
mov ebp, dword [ecx + 0x68]
xor eax, eax
xor edx, edx
jmp 0x670f63
mov eax, dword [esp + 0x14]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
cmp ebx, esi
jge 0x670f28
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x34]
mov ebp, dword [eax + 0x90]
add ebp, 1
movzx esi, byte [ecx + ebx]
mov ecx, dword [eax + 0x94]
mov dword [eax + 0x90], ebp
adc ecx, 0
mov dword [eax + 0x94], ecx
mov ecx, dword [eax + 0x74]
mov dword [esp], edi
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
mov ebp, dword [ecx]
mov edx, ecx
call ebp
mov eax, dword [esp + 8]
cmp eax, 8
jg 0x670eb7
cmp eax, 5
je 0x670e70
cmp eax, 8
jne 0x670dfa
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov byte [esp + 4], 0x20
call fcn.0066df80
cmp dword [esp + 8], 0xa
jne 0x670dfa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 0x34]
sub eax, dword [ecx + 0x68]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
add esp, 0x30
ret
cmp eax, 0xa
je 0x670f18
cmp eax, 0xb
jne 0x670dfa
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x8c]
mov edx, dword [ecx + 0x88]
mov dword [ecx + 0x98], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x670f0b
mov dword [ecx + 0x9c], eax
mov eax, dword [ecx + 0x8c]
mov ecx, dword [ecx + 0x88]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
add esp, 0x30
ret
lea edi, [ecx + 0x9c]
call fcn.0044f0d0
jmp 0x670eeb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx]
jmp 0x670e98
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x20], ebx
test edx, edx
jne 0x670f9e
mov eax, dword [ecx + 0x68]
mov dword [esp + 0x1c], eax
mov dword [esp], ecx
call fcn.006710b0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ebp, eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
add ebp, dword [ecx + 0x68]
mov ebx, dword [esp + 0x24]
mov esi, dword [ecx + 0xc]
mov edi, ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
cmp ebp, esi
ja 0x67109f
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebp
sub ecx, ebp
neg ecx
sar ecx, 0x1f
and ecx, ebp
add ecx, ebx
mov dword [esp + 0x2c], ecx
sub esi, ebp
mov dword [esp + 0x20], esi
xor ebx, ebx
jmp 0x670e19
cmp dword [0xb7d820], edx
je 0x670fdd
mov dword [ecx + 0x98], edx
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x670fd0
mov dword [ecx + 0x9c], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
add esp, 0x30
ret
lea edi, [ecx + 0x9c]
call fcn.0044f0d0
jmp 0x670fbc
mov dword [esp], edx
mov dword [esp + 4], eax
mov ecx, dword [0xb7d824]
mov dword [esp + 8], ecx
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x67100a
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
jmp 0x670fa6
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x74]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov byte [esp + 4], 0x20
mov ecx, dword [edx]
call ecx
cmp dword [esp + 8], 0xa
jne 0x671031
mov eax, dword [esp + 0x20]
jmp 0x670e98
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00671290
movzx eax, byte [esp + 0xc]
test al, al
je 0x671070
mov ecx, dword [0xb7d848]
mov edx, dword [0xb7d84c]
mov eax, edx
mov edx, ecx
mov ecx, dword [esp + 0x34]
jmp 0x670fa6
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
jmp 0x671063
lea edi, [ecx + 0x8c]
xor eax, eax
call fcn.0044f0d0
jmp 0x670de3
lea edi, [ecx + 0x74]
lea eax, [0x83569c]
call fcn.0044f0d0
jmp 0x670db7
call fcn.004288c0
ud2
call fcn.0044d880
jmp fcn.00670d80