Function at 0x10040f0c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067e8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push esi
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10040f97
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xc8]
push dword [ebp - 0x124]
push 1
push dword [ebp - 0xc0]
push 0x19fc
push 0x41d8
push dword [ebp - 0x11c]
push dword [ebp - 0xd0]
call fcn.10041738
add esp, 0x20
jmp 0x10041729
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x28], 0xc2e6
mov dword [ebp - 0x30], 0xc2f92e6c
mov dword [ebp - 0xb0], 0x93f6
push 1
lea ecx, [ebp - 0x108]
call fcn.1002a894
and dword [ebp - 4], 0
mov dword [ebp - 0x88], 3
mov dword [ebp - 0x40], 0
jmp 0x10041015
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x10041031
push dword [ebp - 0x40]
lea ecx, [ebp - 0x108]
call fcn.1002a943
mov dword [eax], 7
jmp 0x1004100e
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1004104d
push 0x7b6
push 0x167c
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10041064
mov dword [ebp - 0x1c], 0xec32
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], 0x978d8ef0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
cmp eax, 0xfffffff8
jge 0x1004107f
mov dword [ebp - 0x74], 1
jmp 0x10041083
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x74], eax
jg 0x10041094
mov dword [ebp - 0x58], 1
jmp 0x10041098
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x58], eax
je 0x100410ac
mov dword [ebp - 0xbc], 1
jmp 0x100410b3
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x30]
je 0x100410d0
cmp dword [ebp - 0xb0], 0
je 0x100410d0
mov dword [ebp - 0x60], 1
jmp 0x100410d4
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x60], eax
jg 0x100410eb
mov dword [ebp - 0x90], 1
jmp 0x100410f2
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x90], eax
jge 0x10041106
mov dword [ebp - 0x68], 1
jmp 0x1004110a
and dword [ebp - 0x68], 0
push 0
lea ecx, [ebp - 0x108]
call fcn.1002a943
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [eax]
je 0x1004112a
mov dword [ebp - 0xa8], 1
jmp 0x10041131
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xa8]
jge 0x10041145
mov dword [ebp - 0x70], 1
jmp 0x10041149
and dword [ebp - 0x70], 0
push 0
lea ecx, [ebp - 0x108]
call fcn.1002a943
mov esi, dword [ebp - 0x70]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x108]
call fcn.1002a943
cmp esi, dword [eax]
jg 0x10041179
mov dword [ebp - 0x98], 1
jmp 0x10041180
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
je 0x10041195
mov dword [ebp - 0x118], 1
jmp 0x1004119c
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x128], eax
mov eax, 0xfffe
test eax, eax
jne 0x100411b7
mov dword [ebp - 0x78], 1
jmp 0x100411bb
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
je 0x100411e6
or eax, 0xffffffff
je 0x100411e6
cmp dword [ebp - 0x88], 0
je 0x100411e6
cmp dword [ebp - 0x28], 0
je 0x100411e6
mov dword [ebp - 0xb8], 1
jmp 0x100411ed
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xfffffff9
jge 0x100411ff
mov dword [ebp - 0x80], 1
jmp 0x10041203
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x80]
jl 0x10041217
mov dword [ebp - 0xa0], 1
jmp 0x1004121e
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.1002a918
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x10041697
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xf0], eax
push 4
lea ecx, [ebp - 0x140]
call fcn.1002a894
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], 0
jmp 0x1004127a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x10041293
push dword [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.1002a943
and dword [eax], 0
jmp 0x10041273
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x100412aa
push 0x4b0
call dword [sym.imp.USER32.dll_GetParent]
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x100412ea
push 0
push 0x12e7
push 0xe3e
push 0x1ec2
push 0x1393
push 0x739
push 0x1e01
push 0x2377
push 0x1124
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.1002a918
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x50], 0xfe9a5a16
mov dword [ebp - 0x94], 0x1a078351
mov dword [ebp - 0xac], 0x694486ca
mov dword [ebp - 0x10], 0xf
jmp 0x10041337
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff3
jl 0x100415bf
push 2
lea ecx, [ebp - 0x4c]
call fcn.1002a894
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xe8], 0xffdeabfd
mov dword [ebp - 0x2c], 0
jmp 0x10041373
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004138c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov dword [eax], 0x32a27689
jmp 0x1004136c
mov dword [ebp - 0x20], 1
jmp 0x1004139c
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x100413e1
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x100413cb
push 0
push 0
push 0
push 0
push 0xf6b
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100413df
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x10041395
push 1
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
test eax, eax
je 0x10041408
mov eax, 0xfff9
test eax, eax
je 0x10041408
mov dword [ebp - 0x54], 1
jmp 0x1004140c
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x54], eax
jl 0x1004142c
push 1
lea ecx, [ebp - 0x4c]
call fcn.1002a943
cmp dword [eax], 0
je 0x1004142c
mov dword [ebp - 0x5c], 1
jmp 0x10041430
and dword [ebp - 0x5c], 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov eax, dword [eax]
cmp eax, dword [ebp - 0x5c]
jge 0x1004145c
push 0
lea ecx, [ebp - 0x4c]
call fcn.1002a943
cmp dword [eax], 0
je 0x1004145c
mov dword [ebp - 0x120], 1
jmp 0x10041463
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x144], eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov esi, eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10041491
mov dword [ebp - 0x64], 1
jmp 0x10041495
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x72c34ccb
je 0x100414a7
mov dword [ebp - 0x6c], 1
jmp 0x100414ab
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x20], eax
jl 0x100414c8
mov dword [ebp - 0x7c], 1
jmp 0x100414cc
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x5c9b
jg 0x100414e1
mov dword [ebp - 0x84], 1
jmp 0x100414e8
and dword [ebp - 0x84], 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jle 0x10041508
mov dword [ebp - 0x8c], 1
jmp 0x1004150f
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x10041536
cmp dword [ebp - 0xac], 0
jne 0x10041536
and dword [ebp - 0x9c], 0
jmp 0x10041540
mov dword [ebp - 0x9c], 1
push 1
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov esi, eax
push 1
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov ecx, dword [ebp - 0x9c]
add ecx, dword [eax]
cmp dword [esi], ecx
jl 0x1004156e
mov dword [ebp - 0xa4], 1
jmp 0x10041575
and dword [ebp - 0xa4], 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.1002a943
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax]
jne 0x10041595
mov dword [ebp - 0xb4], 1
jmp 0x1004159c
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0xe8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1002a918
jmp 0x10041330
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x12c], 0x99ac7894
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x10041602
push 0x2091
push 0x5c
push 0x1711
push 0x2037
push 0x97e
push 0x199a
call dword [sym.imp.GDI32.dll_PatBlt]
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x10041619
push 0x390
call dword [sym.imp.GDI32.dll_GetStockObject]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x114], eax
push 1
mov eax, dword [ebp - 0x114]
push dword [eax]
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.10045b00
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 3
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xdc]
call fcn.10038c57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.100337c3
jmp 0x10041729
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x34], 0xf6af1124
mov dword [ebp - 0x34], 0xffffffee
jmp 0x100416ba
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x17
jge 0x10041714
mov dword [ebp - 0x3c], 0
jmp 0x100416d0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100416e6
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x134], 0xfffe
jmp 0x100416c9
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10041700
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x134], 0
je 0x10041712
jmp 0x10041714
jmp 0x100416b3
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret