Function at 0x100c7000
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fdca3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
jne 0x100c7295
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push str.en_US.utf8
push 2
call fcn.10066f58
add esp, 8
push str.samp.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x24
mov edi, eax
call fcn.10054653
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], str.FormDX
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov word [0x1017cd04], ax
mov byte [0x1017cd06], al
mov eax, 0x1017cc4c
movups xmmword [0x1017cce4], xmm0
movups xmmword [0x1017ccf4], xmm0
nop
mov dword [eax - 4], 1
mov dword [eax], 1
mov dword [eax + 4], 1
add eax, 0xc
cmp eax, 0x1017ccdc
jle 0x100c70c0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x10101050
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x100c7139
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.100244e0
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.1002c350
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.10018cc0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10020320
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, esi
call fcn.1007fa00
mov dword [ebp - 4], 0xffffffff
push 0x138
mov dword [0x1015b7b0], esi
call fcn.10054653
mov esi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 5
push 0x3ec0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x108], edi
call fcn.10054653
mov dword [ebp - 4], 0xffffffff
push 0x8c
mov dword [esi + 0x130], eax
mov dword [0x1015b9a0], esi
call fcn.10054653
add esp, 0xc
mov dword [ebp - 0x2c], eax
push edi
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.10039930
lea ecx, [ebp - 0x60]
mov dword [0x1015b9a4], eax
mov dword [ebp - 0x60], 0x1013b678
mov dword [ebp - 0x5c], 0x100c8780
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 7
lea edi, [eax + 0x50]
mov esi, dword [eax + 0x54]
cmp esi, dword [eax + 0x58]
je 0x100c725c
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x100c7256
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0x3c]
add dword [edi + 4], 0x28
jmp 0x100c726b
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
push esi
call fcn.1003dc70
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x100c7280
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0
push 0
push 0
push 0x100c72c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret 0xc