Function at 0x3001b03c
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov eax, 0x249c
lea ebp, [esp - 0x241c]
call fcn.3001fd80
mov eax, dword [0x30034b3c]
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x2418], eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x10], ebx
call fcn.3000d430
lea ecx, [ebp]
call fcn.3000d430
lea ecx, [ebp + 0x68]
call fcn.3000d430
lea ecx, [ebp + 0x38]
call fcn.3000d430
lea ecx, [ebp - 0x18]
call fcn.3000d430
or dword [ebp + 0x44], 0xffffffff
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
call fcn.3001113e
mov dword [ebp + 0x18], eax
xor eax, eax
push 0x11
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or dword [ebp + 0x28], 0xffffffff
or dword [ebp + 0x24], 0xffffffff
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x50], ebx
jmp 0x3001b851
mov esi, 0x30008d58
push esi
lea eax, [ebp + 0x14]
push eax
call fcn.30019ce1
cmp eax, 0xfffffe0c
je 0x3001b882
xor eax, eax
push 0x11
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
call fcn.3001408d
push esi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.3001ac8a
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b89a
push dword [ebp]
and dword [0x3007b670], 0xfffffffd
call fcn.3001a1ea
mov dword [ebp + 0x40], eax
call fcn.3001cd83
push dword [ebp + 0x40]
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.3001a9ad
test eax, eax
je 0x3001b8a4
push esi
push dword [ebp + 0x14]
call fcn.3001afdf
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b8b5
push dword [ebp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
test eax, eax
jne 0x3001b188
push dword [ebp + 0x68]
call edi
test eax, eax
je 0x3001b7b3
cmp dword [ebp + 0x40], ebx
jne 0x3001b5dd
call fcn.300173b5
cmp dword [0x30076f88], ebx
jne 0x3001b541
cmp dword [0x3007bcc4], ebx
je 0x3001b541
lea ecx, [ebp + 0x1c]
call fcn.3000d430
push dword [0x30076d54]
lea eax, [ebp + 0x1c]
push eax
push 0x30008f80
mov dword [ebp + 8], ebx
call fcn.30011ffa
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x68]
call fcn.3001091d
mov edi, eax
xor esi, esi
cmp dword [ebp + 0x64], ebx
mov dword [ebp + 0x50], edi
jle 0x3001b510
push dword [edi + esi*4]
push 0x3000a334
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x3001b206
inc esi
cmp esi, dword [ebp + 0x64]
jl 0x3001b1e9
jmp 0x3001b510
mov esi, dword [edi + esi*4 + 4]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x3001b510
xor esi, esi
cmp dword [ebp + 0x64], ebx
jle 0x3001b253
push 0xa
push dword [edi + esi*4]
push 0x3000a31c
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x3001b23b
inc esi
cmp esi, dword [ebp + 0x64]
jl 0x3001b21c
jmp 0x3001b253
push ebx
push dword [edi + esi*4]
lea eax, [ebp + 0x4c]
push eax
mov dword [ebp + 0x44], esi
call fcn.3001e1f7
cmp eax, ebx
jl 0x3001b8bf
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x3001b280
cmp word [eax], bx
je 0x3001b280
push eax
xor esi, esi
push 0xa
inc esi
push 0x300771b4
mov dword [0x30076f8c], esi
call fcn.3000d4b9
cmp eax, ebx
jl 0x3001b8df
mov dword [ebp + 8], esi
push dword [ebp + 0x18]
lea eax, [ebp + 0x2204]
push 0x104
push eax
push dword [ebp - 8]
lea eax, [ebp + 0x4c]
push eax
mov word [ebp + 0x2204], bx
call fcn.3001795c
cmp eax, ebx
jne 0x3001b4e6
cmp dword [ebp + 0x44], 0xffffffff
je 0x3001b2ce
mov eax, dword [ebp + 0x44]
lea esi, [edi + eax*4]
mov eax, dword [esi]
cmp eax, ebx
je 0x3001b2c2
push eax
call fcn.3002244a
mov eax, dword [ebp + 0x4c]
or dword [ebp + 0x44], 0xffffffff
mov dword [esi], eax
mov dword [ebp + 0x4c], ebx
mov eax, dword [0x3007bcc4]
dec eax
push ebx
mov esi, 0x30076d58
push esi
je 0x3001b2ee
dec eax
je 0x3001b2e7
push 0x300044ac
jmp 0x3001b2f3
push 0x3000a318
jmp 0x3001b2f3
push 0x3000448c
push 0x30008fa0
call fcn.30011df1
cmp dword [0x3007bcc4], ebx
je 0x3001b510
cmp dword [0x30034024], ebx
je 0x3001b31c
push esi
push 0x3000a2f4
call fcn.30011ec0
lea ecx, [ebp + 0x68]
call fcn.3000d474
cmp dword [ebp + 0x64], ebx
mov dword [ebp + 0x70], ebx
jle 0x3001b453
cmp dword [ebp + 0x70], ebx
je 0x3001b342
push 0x30003be8
lea ecx, [ebp + 0x68]
call fcn.3000d701
mov eax, dword [ebp + 0x70]
mov esi, dword [edi + eax*4]
push esi
push 0x3000a2d4
call fcn.300106d0
cmp esi, dword [ebp - 8]
pop ecx
pop ecx
jne 0x3001b360
lea esi, [ebp + 0x2204]
push 0x3d
push esi
call fcn.3001621d
cmp eax, ebx
je 0x3001b38d
cmp word [eax + 2], bx
jne 0x3001b38d
push esi
lea ecx, [ebp + 0x68]
call fcn.3000d701
push 0x30001640
lea ecx, [ebp + 0x68]
call fcn.3000d701
jmp 0x3001b444
push 0x20
push esi
call fcn.3001621d
test eax, eax
jne 0x3001b3a8
push 0x22
push esi
call fcn.3001621d
test eax, eax
jne 0x3001b3a8
push esi
jmp 0x3001b380
push 0x3d
xor eax, eax
mov word [ebp + 0x54], bx
lea edi, [ebp + 0x56]
push esi
stosw word es:[edi], ax
call fcn.3001621d
test eax, eax
je 0x3001b404
cmp word [esi], 0x2f
je 0x3001b404
mov ax, word [esi]
cmp ax, bx
je 0x3001b3dd
mov word [ebp + 0x54], ax
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x68]
call fcn.3000d701
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
je 0x3001b404
cmp ax, 0x3d
jne 0x3001b3c5
cmp ax, bx
je 0x3001b404
mov word [ebp + 0x54], ax
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x68]
call fcn.3000d701
inc esi
inc esi
mov edi, 0x30003be0
push edi
lea ecx, [ebp + 0x68]
call fcn.3000d701
jmp 0x3001b430
cmp ax, 0x22
jne 0x3001b421
push 0x30001640
jmp 0x3001b429
mov word [ebp + 0x54], ax
lea eax, [ebp + 0x54]
push eax
call fcn.3000d701
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
lea ecx, [ebp + 0x68]
jne 0x3001b414
push edi
call fcn.3000d701
mov edi, dword [ebp + 0x50]
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebp + 0x64]
jl 0x3001b330
mov eax, dword [0x300771b0]
add eax, 0x40
cmp dword [ebp + 8], ebx
mov dword [ebp + 0x34], 0x58
mov word [ebp + 0x34], ax
lea eax, [ebp + 0x34]
je 0x3001b471
push ebx
jmp 0x3001b473
push 1
push 0x30076d58
push eax
push 0x30008f80
call fcn.30011df1
xor eax, eax
mov word [ebp + 0x240c], bx
lea edi, [ebp + 0x240e]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
lea eax, [ebp + 0x240c]
push eax
push 0x300044ac
push 0x30008f74
push 0x30008f50
call fcn.30010b2b
lea eax, [ebp + 0x240c]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, ebx
pop ecx
mov dword [0x30076f84], eax
je 0x3001b4d7
push 0x30076d58
push 0x3000a2c4
call fcn.30011ec0
push 0x3000a278
call fcn.300105be
mov edi, dword [ebp + 0x50]
jmp 0x3001b510
cmp eax, 0x80004004
je 0x3001b8f1
push ebx
push 0x30076d58
push 0x300044ac
push 0x30008fa0
call fcn.30011df1
push 0x3000a238
call fcn.300105be
xor esi, esi
cmp dword [ebp + 0x64], ebx
jle 0x3001b525
push dword [edi + esi*4]
call fcn.3002244a
inc esi
cmp esi, dword [ebp + 0x64]
jl 0x3001b517
push edi
call fcn.3001fa19
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x50], ebx
call fcn.3000d43a
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, 0x30008d58
lea eax, [ebp + 0x68]
push eax
call fcn.3001a6cf
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b8fd
push 0x30003be8
lea ecx, [ebp + 0x68]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b907
lea eax, [ebp - 0x18]
push eax
call fcn.30012143
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b911
push dword [ebp - 0x18]
lea ecx, [ebp + 0x68]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b91b
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.30019ce1
cmp eax, 0xfffffe0c
je 0x3001b5c0
push 0x3000a204
lea ecx, [ebp + 0x68]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b925
cmp dword [ebp + 0x48], ebx
je 0x3001b5dd
push 0x3000a1d4
lea ecx, [ebp + 0x68]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b92f
push dword [ebp + 0x68]
call edi
test eax, eax
je 0x3001b5f3
push dword [ebp + 0x38]
call edi
test eax, eax
je 0x3001b939
lea ecx, [ebp + 0x58]
call fcn.3000d430
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x3c]
push 0x20
lea eax, [ecx + eax + 4]
pop esi
push eax
lea ecx, [ebp + 0x58]
call fcn.3000d531
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b943
push 0x30003be0
lea ecx, [ebp + 0x58]
call fcn.3000d622
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b950
push dword [ebp + 0x38]
lea ecx, [ebp + 0x58]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b957
push 0x30001648
lea ecx, [ebp + 0x58]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b950
push dword [ebp + 0x68]
lea ecx, [ebp + 0x58]
call fcn.3000d701
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b957
call fcn.30010608
push 0x3000a1b4
call fcn.300105be
push dword [ebp - 0x10]
call fcn.300105be
push dword [ebp + 0x58]
call fcn.300105be
push dword [ebp + 4]
push dword [ebp]
push 0x3000a1a0
call fcn.300106d0
add esp, 0xc
cmp dword [ebp + 0xc], ebx
mov ecx, 0x30008c84
jne 0x3001b6b9
mov ecx, 0x30008c90
cmp dword [ebp - 4], ebx
mov eax, 0x30008c84
jne 0x3001b6c8
mov eax, 0x30008c90
push ecx
push eax
push 0x3000a150
call fcn.300106d0
add esp, 0xc
test byte [ebp + 0x10], 1
je 0x3001b6e2
mov esi, 0x8000020
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp + 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x3001b95e
push dword [ebp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
or dword [ebp + 0x28], 0xffffffff
cmp dword [ebp + 0x40], ebx
jne 0x3001b71d
push 0x3000a108
jmp 0x3001b722
push 0x3000a0b0
call fcn.300105be
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0xff
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x24]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x3001b97e
cmp dword [ebp + 0x60], 0x103
je 0x3001b7f7
push dword [ebp + 0x60]
lea eax, [ebp + 0x2074]
push 0xc8
push eax
call fcn.300158a9
push eax
push 0x3000a060
call fcn.300106d0
add esp, 0xc
push dword [ebp + 0x24]
call edi
or dword [ebp + 0x24], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.3000d43a
mov esi, 0x642
cmp dword [ebp + 0x60], esi
jne 0x3001b7b3
push 1
call fcn.3001a4b0
cmp dword [0x30077290], ebx
je 0x3001b994
push 0x30008d58
lea eax, [ebp - 0x1c]
push eax
call fcn.30019ce1
xor ecx, ecx
cmp eax, 0xfffffe0c
mov eax, dword [ebp + 0x60]
setne cl
cmp eax, 0xbc2
mov esi, ecx
jne 0x3001b80b
mov dword [0x30077290], 1
jmp 0x3001b83a
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call esi
test eax, eax
jne 0x3001b7e3
jmp 0x3001b72d
cmp eax, 0x669
je 0x3001baca
cmp dword [ebp + 0xc], ebx
jne 0x3001ba3d
cmp esi, ebx
jne 0x3001b82f
cmp dword [0x30077290], ebx
jne 0x3001ba4f
cmp eax, 0x644
je 0x3001b9a6
cmp dword [ebp - 4], ebx
jne 0x3001b851
cmp eax, 0xbc2
je 0x3001b851
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x3001b99c
push 0x3000a010
call fcn.300106d0
pop ecx
push dword [0x300340d0]
lea eax, [ebp + 0x48]
push eax
push 1
call fcn.3001a0f7
cmp eax, ebx
mov dword [ebp + 0x70], eax
je 0x3001b0c2
push 0x30009fdc
jmp 0x3001bab1
cmp dword [ebp + 0x48], ebx
je 0x3001b892
cmp dword [ebp + 0x60], ebx
jne 0x3001b892
push ebx
call fcn.3000df1e
mov dword [ebp + 0x70], ebx
jmp 0x3001baca
push 0x30009fc4
jmp 0x3001bab1
push 1
call fcn.3000df1e
mov esi, 0x80070015
jmp 0x3001bb4a
push 0x30009fac
jmp 0x3001bab1
push eax
push 0x30001420
call fcn.30010597
push 0x30009f78
call fcn.30010597
add esp, 0xc
lea ecx, [ebp + 0x1c]
jmp 0x3001b98a
push eax
push 0x30001420
call fcn.30010597
push 0x30009f40
jmp 0x3001b8cf
push 0x30009ee8
call fcn.300105be
jmp 0x3001b8d7
push 0x30009ebc
jmp 0x3001bab1
push 0x30009410
jmp 0x3001bab1
push 0x30009e9c
jmp 0x3001bab1
push 0x30009e5c
jmp 0x3001bab1
push 0x30009e1c
jmp 0x3001bab1
push 0x30009de0
jmp 0x3001bab1
mov esi, 0xfffffe0b
jmp 0x3001bb4a
push 0x300017f0
call fcn.30010597
pop ecx
jmp 0x3001b987
push 0x3000590c
jmp 0x3001b948
push 0x30009dcc
jmp 0x3001b948
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30003bec
mov dword [ebp + 0x70], eax
call fcn.300105be
push dword [ebp + 0x38]
push dword [ebp + 0x70]
call fcn.3000e2b2
jmp 0x3001b987
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x70], eax
lea ecx, [ebp + 0x58]
call fcn.3000d43a
jmp 0x3001baca
mov dword [ebp + 0x70], esi
jmp 0x3001baca
push 0x30009db4
jmp 0x3001bab1
cmp esi, ebx
je 0x3001b9b5
push dword [ebp + 0x2424]
call fcn.300131d5
mov edi, 0x800
push edi
lea eax, [ebp + 0x1074]
push eax
push 0x49
call fcn.3001074b
push 0x300568e8
lea eax, [ebp + 0x1074]
push eax
lea eax, [ebp + 0x74]
push edi
push eax
call fcn.3000def7
add esp, 0x10
cmp esi, ebx
mov dword [0x30076d5c], eax
jne 0x3001b9f4
cmp dword [ebp + 0x60], 0x644
je 0x3001ba2e
cmp dword [0x30077288], ebx
jne 0x3001ba2e
push ebx
lea eax, [ebp + 0x74]
push eax
push ebx
call fcn.3000d911
cmp eax, 6
jne 0x3001ba2e
call fcn.3001a254
cmp eax, ebx
mov dword [ebp + 0x70], eax
je 0x3001ba22
push 0x30009d8c
jmp 0x3001bab1
mov dword [ebp + 0x70], 0xfffffe0a
jmp 0x3001baca
push 0x30009d38
call fcn.300106d0
jmp 0x3001bac9
cmp esi, ebx
je 0x3001ba4f
push dword [ebp + 0x2424]
call fcn.300131d5
mov eax, dword [ebp + 0x60]
cmp dword [0x30077288], ebx
jne 0x3001ba22
cmp esi, ebx
jne 0x3001ba84
cmp dword [0x30077200], ebx
jne 0x3001ba84
cmp dword [0x300771fc], ebx
jne 0x3001ba84
cmp eax, 0x644
jne 0x3001ba84
push 0x30009cd8
call fcn.300105be
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0x70], eax
jmp 0x3001baca
push ebx
push 0x47
push ebx
call fcn.3000de36
cmp eax, 6
jne 0x3001bab8
call fcn.3001a254
push eax
push 0x30009c9c
mov dword [ebp + 0x70], eax
call fcn.300106d0
cmp dword [ebp + 0x70], ebx
pop ecx
pop ecx
je 0x3001bab8
push 0x30009c74
call fcn.30010597
jmp 0x3001bac9
push 0x30009c28
call fcn.300106d0
mov dword [ebp + 0x70], 0xfffffe0a
pop ecx
push 0x30009bd8
call fcn.300106d0
cmp dword [ebp + 0x28], 0xffffffff
pop ecx
je 0x3001bae4
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x24], 0xffffffff
je 0x3001baf3
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x70], ebx
je 0x3001bb15
test byte [0x3007b670], 2
je 0x3001bb15
cmp dword [ebp + 0x18], ebx
je 0x3001bb15
push 0x30009ba8
call fcn.30010474
call fcn.30016e51
cmp dword [ebp + 0x50], ebx
je 0x3001bb3a
xor esi, esi
cmp dword [ebp + 0x64], ebx
jle 0x3001bb32
mov eax, dword [ebp + 0x50]
push dword [eax + esi*4]
call fcn.3002244a
inc esi
cmp esi, dword [ebp + 0x64]
jl 0x3001bb21
push dword [ebp + 0x50]
call fcn.3001fa19
cmp dword [ebp + 0x4c], ebx
je 0x3001bb47
push dword [ebp + 0x4c]
call fcn.3002244a
mov esi, dword [ebp + 0x70]
lea ecx, [ebp - 0x18]
call fcn.3000d43a
lea ecx, [ebp + 0x38]
call fcn.3000d43a
lea ecx, [ebp + 0x68]
call fcn.3000d43a
lea ecx, [ebp]
call fcn.3000d43a
lea ecx, [ebp - 0x10]
call fcn.3000d43a
mov ecx, dword [ebp + 0x2418]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.3001fd67
add ebp, 0x241c
leave
ret 4