Function at 0x405570
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
call fcn.00405470
cmp eax, 1
mov dword [0x421d80], eax
jne 0x4055c8
call fcn.00408820
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 5
push 0
lea ecx, [esp + 0x1c]
push str._check2
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
cmp eax, 5
jne 0x405613
call fcn.004049a0
test eax, eax
push 0
jne 0x4055f9
call fcn.00404d30
add esp, 4
test eax, eax
push 0
push 0x41cd10
je 0x4055f2
push 0x41ccf8
jmp 0x405603
push 0x41cce0
jmp 0x405603
push 0x41cd10
push 0x41ccc8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 6
jne 0x405660
call fcn.004049a0
test eax, eax
je 0x405644
push 1
call fcn.00404d30
add esp, 4
test eax, eax
push 0
push 0x41cd10
je 0x40563d
push 0x41ccb0
jmp 0x405650
push 0x41cc98
jmp 0x405650
push 0
push 0x41cd10
push 0x41cc80
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [0x421d60], 0x41caf8
mov dword [0x421ce0], 0x421cf0
mov eax, dword [esp + 0x11c]
mov dword [0x421cf0], 0x84
push eax
push ebp
push 0x421cf0
mov dword [0x421d54], 0x300
call fcn.004058a0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x421d74], eax
mov dword [0x421d78], ebp
call fcn.0040d74e
add esp, 4
cmp eax, ebp
je 0x4056f2
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x4056f4
xor eax, eax
cmp eax, ebp
mov dword [0x421d78], eax
je 0x405703
mov dword [0x421d7c], ebp
mov eax, dword [0x421d80]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, ebp
jne 0x40577f
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebp
stosb byte es:[edi], al
call fcn.00405240
add esp, 0xc
test eax, eax
pop edi
je 0x40577f
push 0x24
push 0x41cd10
push 0x41cc48
push ebp
call esi
cmp eax, 6
jne 0x405775
push 5
push ebp
lea eax, [esp + 0x1c]
push ebp
push eax
push str.open
push ebp
call ebx
jmp 0x40577f
cmp dword [esp + 0xc], ebp
jne 0x40588b
call fcn.004026b0
mov eax, dword [0x421d80]
cmp eax, 1
je 0x405793
cmp eax, 2
jne 0x405807
push ebp
call fcn.00408bd0
add esp, 4
cmp eax, 0xfffffffe
je 0x4057cc
cmp eax, 0xffffffff
je 0x4057bb
cmp eax, ebp
jne 0x4057dd
push 1
push str.dummycom_run360failed1
call fcn.00409a50
add esp, 8
jmp 0x405807
push 1
push str.dummycom_run360failed3
call fcn.00409a50
add esp, 8
jmp 0x405807
push 1
push str.dummycom_run360failed2
call fcn.00409a50
add esp, 8
jmp 0x4057e2
cmp eax, 0xfffffffd
jne 0x405807
push 0x44
push 0x41cd10
push 0x41cbc8
push ebp
call esi
cmp eax, 6
jne 0x405807
push 5
push ebp
push ebp
push str.www.360.cn
push str.open
push ebp
call ebx
mov ecx, dword [0x421ce0]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x421d7c]
cmp eax, ebp
je 0x405835
cmp dword [eax + 4], ebp
jle 0x405835
mov edx, dword [eax]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x421d7c]
mov esi, eax
cmp esi, ebp
je 0x40584b
mov ecx, esi
call fcn.00405a40
push esi
call fcn.0040a5aa
add esp, 4
mov ecx, dword [0x421ce0]
mov dword [0x421d7c], ebp
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x421d78]
cmp esi, ebp
je 0x40587b
mov ecx, esi
call fcn.00405a00
push esi
call fcn.0040a5aa
add esp, 4
push 0x421cf0
call fcn.00405930
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10