Function at 0x4108c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0241
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edi
cmp esi, edi
je 0x410d6b
cmp eax, edi
je 0x410d6b
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
call fcn.00404030
lea ecx, [esp + 0x14]
mov dword [esp + 0xe8], edi
call fcn.00404fb0
push esi
lea ecx, [esp + 0xc0]
call fcn.00406560
mov byte [esp + 0xe8], 1
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x40], 0x22
mov eax, edx
cmp ecx, 8
jae 0x41097e
lea eax, [esp + 0xc0]
mov ebx, dword [esp + 0xd0]
lea esi, [eax + ebx*2]
mov dword [esp + 0x48], esi
cmp esi, edi
je 0x4109b7
mov eax, edx
cmp ecx, 8
jae 0x41099e
lea eax, [esp + 0xc0]
cmp eax, esi
ja 0x4109b7
mov eax, edx
cmp ecx, 8
jae 0x4109b0
lea eax, [esp + 0xc0]
lea eax, [eax + ebx*2]
cmp esi, eax
jbe 0x4109d1
call fcn.004a0da7
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xd0]
mov eax, edx
cmp ecx, 8
jae 0x4109df
lea eax, [esp + 0xc0]
lea edi, [eax + ebx*2]
test edi, edi
je 0x410a0d
mov eax, edx
cmp ecx, 8
jae 0x4109f4
lea eax, [esp + 0xc0]
cmp eax, edi
ja 0x410a0d
mov eax, edx
cmp ecx, 8
jae 0x410a06
lea eax, [esp + 0xc0]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x410a20
call fcn.004a0da7
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xc0]
lea ebx, [esp + 0xbc]
cmp ecx, 8
jb 0x410af9
mov esi, edx
test edx, edx
je 0x410a64
mov eax, edx
cmp ecx, 8
jae 0x410a44
lea eax, [esp + 0xc0]
cmp eax, esi
ja 0x410a64
mov eax, edx
cmp ecx, 8
jae 0x410a56
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x410a69
call fcn.004a0da7
push edi
push ebx
push esi
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00415700
mov edx, dword [esp + 0x60]
add esp, 0x18
push edx
mov edx, dword [eax]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0xd0]
call fcn.0040bce0
cmp dword [esp + 0xd4], 8
mov esi, dword [esp + 0xc0]
jae 0x410ac6
lea esi, [esp + 0xc0]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x410b05
push str.launchwinapp.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410b05
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410b05
mov edi, 2
jmp 0x410d95
lea esi, [esp + 0xc0]
jmp 0x410a36
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.360chrome.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410b37
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410b37
mov edx, 5
jmp 0x410d24
cmp dword [ecx - 0xc], 0
jl 0x410d91
push 0x4e18a0
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410bdc
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410bdc
call fcn.00408170
test al, al
je 0x410b9e
push str.chrome.exe
lea ecx, [esp + 0x54]
call fcn.004060b0
mov byte [esp + 0xe8], 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], 1
call fcn.0040b1c0
cmp eax, 0x3000
jne 0x410b9e
mov bl, 1
jmp 0x410ba0
xor bl, bl
mov dword [esp + 0xe8], 1
test byte [esp + 0x28], 1
je 0x410bbb
lea ecx, [esp + 0x50]
call fcn.004059e0
xor ecx, ecx
test bl, bl
sete cl
mov edx, 1
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
call fcn.004102b0
mov edi, dword [esp + 0x18]
jmp 0x410d30
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.360se.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410c11
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410c11
mov edi, 2
lea edx, [edi + 3]
jmp 0x410d29
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.iexplore.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410c43
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410c43
mov edi, 2
jmp 0x410d95
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.360browser.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410c7d
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410c7d
mov dword [esp + 0x24], str.360browser.exe
mov edx, 5
jmp 0x410d24
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.browser.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410cb6
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410cb6
mov edi, 3
mov dword [esp + 0x24], str.browser.exe
mov edx, edi
jmp 0x410d29
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.launcher.exe
push ecx
call fcn.004a2316
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x410ced
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x410ced
mov dword [esp + 0x24], str.opera.exe
mov edx, 2
jmp 0x410d24
cmp dword [ecx - 0xc], 0
jl 0x410d91
push str.firefox.exe
push ecx
call fcn.004a2316
add esp, 8
test eax, eax
je 0x410d91
sub eax, dword [esp + 0x14]
sar eax, 1
test eax, eax
jle 0x410d91
mov dword [esp + 0x24], str.firefox.exe
mov edx, 6
mov edi, 3
mov ecx, esi
call fcn.004102b0
test al, al
jne 0x410d95
lea ecx, [esp + 0xbc]
call fcn.004050c0
mov dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410d6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004a0e91
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x20]
call fcn.00404030
mov byte [esp + 0xe8], 3
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x410dc9
push ebx
lea edx, [esp + 0x20]
push str.__s_
push edx
call fcn.00404ba0
add esp, 0xc
call fcn.00408090
test al, al
jne 0x410e32
mov eax, dword [esp + 0x1c]
push 1
push 0
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esp + 0x1c]
jle 0x410e13
call fcn.0041af20
lea ecx, [esp + 0xbc]
call fcn.004050c0
lea ecx, [esp + 0x14]
call fcn.0041af20
mov al, 1
jmp 0x410d6d
call fcn.0041af20
lea ecx, [esp + 0xbc]
call fcn.004050c0
lea ecx, [esp + 0x14]
call fcn.0041af20
jmp 0x410d6b
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x80], eax
call fcn.004a0bd0
mov edx, dword [0x50739c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x50739c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0xe8], 4
cmp word [eax], 0x22
push eax
je 0x410e94
push str.__s_
lea ecx, [esp + 0x20]
push ecx
jmp 0x410e9e
push 0x4e198c
lea edx, [esp + 0x20]
push edx
call fcn.00404ba0
mov eax, dword [0x50739c]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x50739c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xe8], 5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s__s
push edx
call fcn.00404ba0
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.0040bf00
mov ecx, eax
call fcn.0040bf50
mov ecx, eax
call fcn.00404970
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004a1b75
add esp, 8
test eax, eax
jl 0x41109a
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx - 8]
jg 0x41109a
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp edi, 1
jne 0x410fa9
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x410f63
push eax
call edi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x410f6e
push eax
call edi
lea ecx, [esp + 0x20]
call fcn.0041af20
lea ecx, [esp + 0x18]
call fcn.0041af20
lea ecx, [esp + 0x1c]
call fcn.0041af20
lea ecx, [esp + 0xbc]
call fcn.004050c0
lea ecx, [esp + 0x14]
call fcn.0041af20
cmp esi, 1
sete al
jmp 0x410d6d
cmp edi, 2
jne 0x410ff6
push 0
push esi
call fcn.0040abc0
add esp, 8
cmp eax, 1
sete bl
lea ecx, [esp + 0x20]
call fcn.0041af20
lea ecx, [esp + 0x18]
call fcn.0041af20
lea ecx, [esp + 0x1c]
call fcn.0041af20
lea ecx, [esp + 0xbc]
call fcn.004050c0
lea ecx, [esp + 0x14]
call fcn.0041af20
mov al, bl
jmp 0x410d6d
cmp edi, 3
jne 0x410fae
lea ecx, [esp + 0x50]
call fcn.0040b990
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xec], 6
call fcn.0040a8b0
add esp, 4
test eax, eax
je 0x41107b
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x5c]
test eax, 0xfffffffc
je 0x41107b
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x78]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x411062
push eax
call edi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41106d
push eax
call edi
lea ecx, [esp + 0x50]
call fcn.0043e370
jmp 0x410f6e
push 0
push esi
call fcn.0040abc0
add esp, 8
cmp eax, 1
lea ecx, [esp + 0x50]
sete bl
call fcn.0043e370
jmp 0x410fbf
push 0x80070057
call fcn.00404d40
int3