Function at 0x100376ad
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100624cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10037819
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0x4df7
mov dword [ebp - 0x54], 0x1000abc0
cmp dword [ebp - 0x28], 0x4eb0
jle 0x10037784
push 0x5f9
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [ebp - 0x1c], 0
jmp 0x10037724
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4465
jge 0x10037784
and dword [ebp - 0x20], 0
jmp 0x1003773a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3533
jge 0x10037782
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.1000d990
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.1000ddee
push eax
call fcn.1004c266
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.1000dde4
jmp 0x10037733
jmp 0x1003771d
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003779a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x100377d8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, 0x56ebf4d3
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x4dd1
jge 0x100377ee
push dword [ebp - 0x54]
call fcn.1004c266
pop ecx
jmp 0x1003780a
or dword [ebp - 4], 0xffffffff
jmp 0x10037814
jmp 0x1003789b
lea eax, [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10037882
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10037863
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x10037880
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.10015a22
mov dword [eax], 0x13b91020
jmp 0x10037858
jmp 0x1003789b
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003789b
push 0x870
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret