Function at 0x411097
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x4396a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x448270]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x110]
mov ebx, dword [ebp + 0x114]
push 0x44
push 0
push 0x44a060
call fcn.004141c0
xor eax, eax
add esp, 0xc
push esi
lea ecx, [ebp - 0x10]
mov dword [0x44a060], 0x44
mov dword [0x44a04c], eax
mov dword [0x44a050], eax
mov dword [0x44a054], eax
mov dword [0x44a058], eax
call fcn.004016e0
mov eax, dword [ebp - 0x10]
push 0x5c
push eax
mov dword [ebp - 4], 0
call fcn.004151df
add esp, 8
test eax, eax
jne 0x4110ed
or edi, 0xffffffff
jmp 0x4110f4
sub eax, dword [ebp - 0x10]
sar eax, 1
mov edi, eax
push esi
lea ecx, [ebp - 0x18]
call fcn.004016e0
cmp edi, 0xffffffff
mov byte [ebp - 4], 1
je 0x411143
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402470
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004024f0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411143
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push 5
push ecx
push ebx
push edx
push 0x43d554
push 0
call dword [0x449f2c]
cmp eax, 0x20
jg 0x41125c
push 0x44a04c
push 0x44a060
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
call dword [0x449eb4]
test eax, eax
jne 0x41125c
push 0x103
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.004141c0
add esp, 0xc
call dword [0x448230]
test esi, esi
mov dword [ebp - 0x14], eax
jne 0x4111b0
xor eax, eax
jmp 0x4111dd
push esi
call dword [0x449f28]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4111c5
xor eax, eax
jmp 0x4111dd
lea edi, [eax + eax]
mov eax, edi
call fcn.00414b40
mov ecx, dword [ebp - 0x14]
mov eax, esp
push ecx
push edi
push esi
push eax
call fcn.0040f340
lea edx, [ebp]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x4111e0
test ebx, ebx
jne 0x4111f6
xor eax, eax
jmp 0x411223
push ebx
call dword [0x449f28]
add eax, 1
cmp eax, 0x3fffffff
jle 0x41120b
xor eax, eax
jmp 0x411223
lea esi, [eax + eax]
mov eax, esi
call fcn.00414b40
mov edx, dword [ebp - 0x14]
mov eax, esp
push edx
push esi
push ebx
push eax
call fcn.0040f340
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411225
lea edi, [ebp]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x411236
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 5
lea eax, [ebp]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41127f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00413d5c
add ebp, 0x108
mov esp, ebp
pop ebp
ret 8