Function at 0x412a30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c50b2
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4e5d60]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x484]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x494]
call fcn.004990cf
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x412a8e
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x48c], edi
xor ecx, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], cx
push 0x4cf374
lea ecx, [esp + 0x18]
mov byte [esp + 0x490], 1
call fcn.0040f300
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x490], 2
call fcn.0040b8c0
push str.bchrome.exe
lea ecx, [esp + 0x54]
mov byte [esp + 0x490], 3
call fcn.004121a0
add esp, 4
test eax, eax
jne 0x412c06
push str.chrome.exe
lea ecx, [esp + 0x54]
call fcn.004121a0
add esp, 4
test eax, eax
jne 0x412c06
push str.firefox.exe
lea ecx, [esp + 0x54]
call fcn.004121a0
add esp, 4
test eax, eax
jne 0x412c06
push str.iexplore.exe
lea ecx, [esp + 0x54]
call fcn.004121a0
add esp, 4
test eax, eax
jne 0x412c06
push 0x40e
lea ecx, [esp + 0x72]
push edi
push ecx
mov word [esp + 0x78], ax
call fcn.004aaf30
add esp, 0xc
push 0x208
lea esi, [esp + 0x70]
xor ebx, ebx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsBchrome.exe
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004108e0
add esp, 4
cmp eax, edi
jne 0x412b9c
push 0x208
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsBchrome.exe
mov edx, SysReAllocString
call fcn.004108e0
add esp, 4
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
call fcn.0040b150
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x494], 4
call fcn.0040bbd0
lea esi, [esp + 0x34]
mov byte [esp + 0x48c], 3
call fcn.0040b1c0
cmp dword [esp + 0x64], edi
jne 0x412c06
lea edx, [esp + 0x34]
push edx
call fcn.00412420
add esp, 4
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x494], 5
call fcn.0040bbd0
lea esi, [esp + 0x34]
mov byte [esp + 0x48c], 3
call fcn.0040b1c0
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x412c15
lea eax, [esp + 0x54]
push ebp
push eax
lea eax, [esp + 0x20]
push str._s__s
push eax
call fcn.0040e520
mov ebx, dword [esp + 0x28]
mov esi, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
add esp, 0x10
or eax, ecx
jge 0x412c4f
push esi
lea ecx, [esp + 0x1c]
call fcn.0040f0e0
mov ebx, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.004a7e09
add esp, 8
cmp esi, edi
jl 0x412eed
cmp esi, dword [ebx - 8]
jg 0x412eed
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
cmp dword [esp + 0x64], edi
jne 0x412d59
push 1
push edi
push edi
push ebp
push str.Open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x412ca2
push eax
call fcn.00498c5e
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00498c5e
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ce3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x68], 8
jb 0x412cf7
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00498c5e
add esp, 4
xor edx, edx
lea eax, [ebx - 0x10]
mov word [esp + 0x54], dx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov dword [esp + 0x48c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412d31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.004a6859
add esp, 0x47c
ret
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x412d68
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
jne 0x412d77
xor ecx, ecx
jmp 0x412d8f
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x412d80
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f1b0
mov ecx, dword [esp + 0x14]
push str.iexplore.exe
push ecx
call fcn.004a6c9d
add esp, 8
cmp eax, edi
jne 0x412dbb
mov ecx, ebp
call fcn.00412f00
cmp eax, edi
jne 0x412dcc
push ebx
call fcn.00411bf0
add esp, 4
cmp eax, edi
je 0x412e91
mov edx, dword [0x4eb64c]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push edx
call ebp
test eax, eax
je 0x412e09
mov eax, dword [esp + 0x14]
push str.iexplore.exe
push eax
call fcn.004a6c9d
add esp, 8
cmp eax, edi
je 0x412e09
mov ecx, dword [0x4eb64c]
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowWindowAsync]
jmp 0x412ea2
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x14]
push edx
lea esi, [esp + 0x20]
call fcn.004017e0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
add esp, 4
sar eax, 2
cmp eax, edi
jbe 0x412ea2
xor esi, esi
cmp eax, edi
jbe 0x412ea2
lea ebx, [ebx]
mov dword [0x4eb64c], edi
cmp esi, eax
jb 0x412e4f
call fcn.004a7f7d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + esi*4]
push ecx
push 0x412360
call fcn.00412320
mov edx, dword [0x4eb64c]
add esp, 8
push edx
call ebp
test eax, eax
je 0x412e7f
mov eax, dword [0x4eb64c]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc esi
sar eax, 2
cmp esi, eax
jb 0x412e40
jmp 0x412ea2
push 1
push edi
push edi
push ebp
push str.Open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x412eb3
push eax
call fcn.00498c5e
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00498c5e
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x412cd7
push 0x80070057
call fcn.0040f160
int3