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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x6746ee
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0xb8]
test ecx, ecx
jne 0x6746a4
mov edx, dword [0xbadd58]
test edx, edx
jne 0x674691
mov dword [esp], eax
call fcn.00674b80
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0xd8]
test ecx, ecx
je 0x6745f3
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xd8]
mov ebx, dword [eax + 0xdc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], edx
movzx ebp, byte [eax + 0xa8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6745c2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00672d40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test ecx, ecx
je 0x6742ed
test eax, eax
je 0x6742e1
movzx ebx, byte [eax + 0x9c]
test bl, bl
je 0x674182
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x98
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x771de0]
mov dword [esp + 0x88], eax
lea ecx, [0x8f6e58]
mov dword [esp + 0x8c], ecx
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.006754f0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00675660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea ecx, [0x7e6464]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1b
lea ecx, [esp + 0x68]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006755a0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
jmp 0x674166
mov eax, dword [esp + 0x9c]
jmp 0x67415b
mov dword [esp + 0x40], eax
mov byte [eax + 0xd4], 1
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x67456c
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.00673800
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x674563
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [0xbb4eb8]
cmp eax, edx
je 0x6744dc
mov edx, dword [esp + 0x40]
movzx ebx, byte [edx + 0x9c]
test bl, bl
je 0x674414
movzx ebx, byte [edx + 0x9d]
test bl, bl
je 0x67437a
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x98
ret
mov ebx, dword [esp + 0x9c]
movzx ebp, byte [ebx + 0x9d]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x67435e
mov dword [esp], edx
call fcn.00671cd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.006754f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
jmp 0x67435e
mov ebx, dword [esp + 0x9c]
movzx ebp, byte [ebx + 0x9c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x674353
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x771de0]
mov dword [esp + 0x78], eax
lea ecx, [0x8f6e60]
mov dword [esp + 0x7c], ecx
mov dword [esp], eax
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.006754f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
jmp 0x674353
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0xbb4ebc]
mov dword [esp + 8], edx
call fcn.00402e90
movzx eax, byte [esp + 0xc]
test al, al
jne 0x674508
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
jmp 0x674340
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00671bf0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x98
ret
mov edx, dword [esp + 0x40]
jmp 0x67435e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], esi
mov dword [esp], eax
call fcn.00675980
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x40]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x6745b5
mov dword [edx + 0xcc], eax
mov eax, edx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jmp 0x674306
lea edi, [edx + 0xcc]
call fcn.0044cc20
jmp 0x6745a2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00672830
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
jmp 0x67414b
mov ecx, dword [0xbb55b0]
mov edx, dword [0xbb55b4]
test edx, edx
jbe 0x6746e7
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ddcb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp ecx, 0xa
je 0x674666
mov eax, dword [0xbb55b8]
mov ecx, dword [0xbb55b0]
mov edx, dword [0xbb55b4]
cmp edx, 1
jb 0x6746e0
lea ebp, [eax - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
add ebp, ecx
lea ebx, [edx - 1]
mov eax, dword [esp + 0x9c]
mov ecx, esi
mov edx, ebp
jmp 0x674102
mov dword [esp], eax
lea eax, [0x7de32d]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004021e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x674625
mov eax, dword [esp + 0x9c]
jmp 0x6740f0
mov dword [esp], eax
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x9c]
jmp 0x6740d3
mov dword [esp], eax
call fcn.00673770
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00674090
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x98
ret
call fcn.00426730
ud2
call fcn.00426630
ud2
call fcn.0044b4c0
jmp fcn.00674090