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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007306e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
push 2
pop ebx
mov edi, ecx
mov dword [esp + 0x10], 0xb3ae3556
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x74]
push 3
call fcn.100105fb
xor esi, esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x38], 0xfffffffa
mov dword [esp + 0x34], 0xc50133ec
push ebx
call fcn.100105fb
push 7
pop eax
mov byte [esp + 0x9c], 1
lea edx, [esp + 0x74]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], eax
call fcn.1004f58b
mov dword [esp + 0x18], esi
jmp 0x1004f794
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jl 0x1004f781
mov dword [esp + 0x10], 0xfffffff9
jmp 0x1004f987
mov dword [esp + 0x20], 0xe4562513
mov dword [esp + 0x24], 1
push ecx
mov dword [esp + 0x30], 0x17c7747b
push ecx
mov dword [esp + 0x30], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 6
call fcn.1004f5aa
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
setle dl
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x260e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x14], esi
je 0x1004f966
push ebx
lea ecx, [esp + 0x60]
call fcn.100105fb
mov byte [esp + 0x9c], bl
lea eax, [esp + 0x90]
push dword [esp + 0x4c]
movdqa xmm0, xmmword [0x1000b8f0]
lea ecx, [esp + 0x54]
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x58], esi
push eax
push esi
movdqu xmmword [esp + 0x90], xmm0
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.100147ae
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], 0xfffffffc
mov dword [esp + 0x1c], esi
jmp 0x1004f8ad
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jl 0x1004f89d
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], esi
jl 0x1004f8d8
mov dword [esp + 0x44], 0x29b4ccc4
mov dword [esp + 0x1c], esi
call fcn.1004f5b1
inc dword [esp + 0x1c]
dec dword [esp + 0x14]
jns 0x1004f8bd
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x64]
call fcn.1004f5d0
add esp, 0x2c
cmp dword [esp + 0x50], 0
je 0x1004f93f
push dword [esp + 0x50]
call fcn.10057c67
pop ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x9c], 1
cmp dword [esp + 0x5c], 0
je 0x1004f983
push dword [esp + 0x5c]
call fcn.10057c67
pop ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
jmp 0x1004f983
mov dword [esp + 0x1c], 0xa700
mov dword [esp + 0x44], 0xa3775ed1
mov eax, dword [esp + 0x1c]
sub eax, 0xf4d9
mov dword [esp + 0x44], eax
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff2
jne 0x1004f7a7
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x5c]
push eax
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x4c]
call fcn.1004f6d2
add esp, 0x14
cmp dword [esp + 0x68], 0
je 0x1004f9c8
push dword [esp + 0x68]
call fcn.10057c67
pop ecx
cmp dword [esp + 0x74], 0
je 0x1004f9d9
push dword [esp + 0x74]
call fcn.10057c67
pop ecx
lea eax, [edi - 0x1d]
mov ecx, 0x7e8
cdq
idiv ecx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
sub eax, 0x1d
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret