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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x676072
sub esp, 0xb0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], eax
movzx ecx, byte [esp + 0xb5]
test cl, cl
je 0x675edb
movzx ecx, cl
cmp ecx, 4
jae 0x67605d
lea eax, [0xa784a0]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 8], edx
call fcn.004d2030
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x675ac0
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x34], eax
movzx ecx, byte [esp + 0xb5]
cmp cl, 3
je 0x675d14
mov ecx, dword [esp + 0xc4]
cmp eax, ecx
jne 0x675c37
mov dword [esp], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
call fcn.0043be60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0065dde0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0043bfb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x675b75
lea edi, [esp + 0xb4]
lea esi, [esp + 0x40]
call fcn.0044cfd2
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov edx, dword [esp + 0x30]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov ebp, dword [esp + 0x38]
add eax, ebp
mov edx, ebx
test ecx, ecx
je 0x675c0f
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
movzx ebx, byte [esp + 0xb4]
cmp ebx, 0x19
jae 0x676048
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
lea ebp, [0xa79380]
mov ebx, dword [ebp + ebx*4]
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cfd2
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebp, dword [ebx]
mov edx, ebx
call ebp
lea edi, [esp + 0x58]
mov esi, dword [esp + 0x3c]
call fcn.0044cfd2
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x40]
lea esi, [esp + 0x58]
call fcn.0044cfd2
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jbe 0x675b48
jmp 0x676041
lea edi, [esp + 0xcc]
lea esi, [esp + 0xb4]
call fcn.0044cfd2
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
movzx ecx, byte [esp + 0xb9]
mov byte [esp + 0x2b], cl
movzx edx, byte [esp + 0xb4]
cmp dl, 7
jne 0x675cb5
cmp cl, 1
jne 0x675cb5
movzx edx, byte [esp + 0xb8]
cmp dl, 2
jne 0x675cb5
test eax, eax
jl 0x67603a
mov edx, dword [esp + 0xc8]
cmp eax, edx
ja 0x67603a
mov dword [esp], 0
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0043be60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006784b0
movzx eax, byte [esp + 8]
test al, al
je 0x675d10
movzx eax, byte [esp + 0x2b]
movzx ecx, byte [esp + 0xb5]
cmp cl, 3
je 0x675d0a
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xcc], 1
mov byte [esp + 0xd1], al
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov ecx, dword [esp + 0x34]
jmp 0x675ccc
xor eax, eax
jmp 0x675cba
test eax, eax
jl 0x676056
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
ja 0x676056
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea ebx, [0x790760]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 5
call fcn.004d2030
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x675d65
mov eax, dword [esp + 0x34]
jmp 0x675ad5
lea ecx, [eax + 1]
test ecx, ecx
jl 0x67604f
cmp eax, ecx
ja 0x67604f
mov edx, dword [esp + 0xc8]
cmp ecx, edx
ja 0x67604f
mov ecx, edx
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0xc0]
add eax, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x719580]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004075f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x719580]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.004075f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov dword [esp], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [0x79b445]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x17
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 2
call fcn.006710a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xcc], 0x18
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cfd2
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x14], ecx
call fcn.0067b660
lea edi, [esp + 0x94]
mov esi, dword [esp + 0x3c]
call fcn.0044cfd2
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x4c]
lea esi, [esp + 0x94]
call fcn.0044cfd2
test eax, eax
je 0x676018
jl 0x67606b
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
ja 0x67606b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
movzx ebx, byte [esp + 0xb4]
cmp ebx, 0x19
jae 0x676064
lea ebp, [0xa79380]
mov edx, dword [ebp + ebx*4]
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cfd2
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
call eax
lea edi, [esp + 0x7c]
mov esi, dword [esp + 0x3c]
call fcn.0044cfd2
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x88]
lea esi, [esp + 0x7c]
call fcn.0044cfd2
lea edi, [esp + 0xcc]
lea esi, [esp + 0x88]
call fcn.0044cfd2
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
lea edi, [esp + 0xcc]
lea esi, [esp + 0x4c]
call fcn.0044cfd2
mov dword [esp + 0xd8], 0
add esp, 0xb0
ret
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004266e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004266e0
ud2
call fcn.004266e0
ud2
call fcn.004267e0
ud2
call fcn.0044b280
jmp fcn.00675a10