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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x674978
sub esp, 0x8c
call fcn.00512c60
lea edi, [esp + 0x78]
lea esi, [esp]
call fcn.00464a5e
lea edi, [esp + 0x64]
lea esi, [esp + 0x78]
call fcn.00464a5e
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
test ecx, 0x80000000
je 0x674681
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or eax, ecx
mov ecx, edx
shl edx, 1
mov ebx, eax
shl eax, 1
shr edx, 0x1f
or eax, edx
shr ebx, 0x1f
add eax, 0xd7b17f80
adc ebx, 0xd
jmp 0x67468f
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov edx, ecx
mov ecx, eax
mov eax, edx
mov edx, eax
mov eax, 0x3b9aca00
mul edx
imul ebx, ebx, 0x3b9aca00
add edx, ebx
and ecx, 0x3fffffff
mov ebx, ecx
sar ecx, 0x1f
add eax, ebx
adc edx, ecx
add eax, 0x3d1a0000
adc edx, 0xa1b203eb
mov ecx, dword [0x8ce318]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0052e710
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
xor eax, eax
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x674701
mov edi, dword [esp + 0x40]
lea eax, [edi + 1]
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov esi, edx
mov edx, edi
cmp edx, eax
jle 0x67493d
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ebp
lea edi, [ecx + eax*8]
mov ebp, dword [edi + 4]
mov edi, dword [edi]
cmp ebp, 3
jl 0x674784
lea edx, [ebp - 3]
cmp ebp, edx
jb 0x67496e
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], ebp
lea eax, [ebp + edi - 3]
mov dword [esp], eax
lea eax, [0x6d2679]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x50]
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x40]
jmp 0x674792
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x44]
movzx eax, byte [esp + 0x27]
test al, al
je 0x6747a7
lea eax, [ebp - 3]
cmp ebp, eax
jae 0x6747a9
jmp 0x674965
mov eax, ebp
nop
mov dword [esp], edi
mov dword [esp + 4], eax
lea eax, [0x739f88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00479ad0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov ebx, dword [0x8ce318]
mov dword [esp], ebx
mov dword [esp + 4], 0x100
call fcn.0052ea00
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp], eax
call fcn.00409560
mov eax, dword [esp + 4]
lea ecx, [0x698320]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x6d252a]
mov dword [esp], eax
mov dword [esp + 4], 2
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00526f10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp edx, 3
jbe 0x674959
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [0x8f52e0]
test ecx, ecx
jne 0x67488d
mov dword [ebx + 0x18], eax
jmp 0x674895
lea edi, [ebx + 0x18]
call fcn.004642e0
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [0x739f88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00479d00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
inc edx
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x6748d6
mov ebp, dword [esp + 0x54]
jmp 0x674918
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x698ba0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
lea esi, [ebp + edx*8 - 4]
mov dword [esi], ecx
lea edi, [ebp + edx*8 - 8]
mov esi, dword [0x8f52e0]
test esi, esi
jne 0x674933
mov dword [edi], eax
jmp 0x6746e8
call fcn.004642e0
jmp 0x6746e8
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebx
add esp, 0x8c
ret
mov eax, 3
mov ecx, edx
call fcn.00464360
mov ecx, eax
mov edx, ebp
call fcn.00464380
mov eax, edx
mov ecx, ebp
call fcn.004643c0
nop
call fcn.00462ed0
jmp fcn.00674610