Function at 0x578840
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 1
jne 0x5790c9
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
cmp eax, 1
jne 0x57889e
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 1
mov dword [ebp - 4], 1
call fcn.005778b0
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x57895c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x5788d5
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov dword [ebp - 4], 1
call fcn.004c5370
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x57895c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x578906
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov dword [ebp - 4], 1
call fcn.00566460
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x57895c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x1a
jne 0x578937
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov dword [ebp - 4], 1
call fcn.00566840
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x57895c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x37f
jne 0x57895f
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov dword [ebp - 4], 1
call fcn.00567020
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x5789bc
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x712b6c]
jne 0x578991
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00571c00
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x578890
mov eax, dword [ebp + 0xc]
cmp eax, 0x117
jne 0x5789ca
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0056d1b0
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578ec1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x8064
jne 0x578a03
lea edx, [ebp - 4]
push edx
push ebx
push esi
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00566ad0
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578ec1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x578e8e
mov edx, 0xe103
cmp dx, si
jne 0x578a4f
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0056bf80
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0xe102
cmp cx, si
jne 0x578a90
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00566860
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x8026
cmp dx, si
jne 0x578ad1
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00566880
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x800d
cmp cx, si
jne 0x578b12
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575970
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x800e
cmp dx, si
jne 0x578b53
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575a90
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x800f
cmp cx, si
jne 0x578b94
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575b20
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x807a
cmp dx, si
jne 0x578bd5
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.005668b0
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x9c91
cmp cx, si
jne 0x578c16
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575bb0
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x9c94
cmp dx, si
jne 0x578c57
lea eax, [ebp - 4]
push eax
push ebx
push edx
mov ecx, esi
shr ecx, 0x10
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575c40
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x9c92
cmp cx, si
jne 0x578c98
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575cd0
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x9c93
cmp dx, si
jne 0x578cd9
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575d60
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x120
cmp cx, si
jne 0x578d1a
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575df0
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x125
cmp dx, si
jne 0x578d5b
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575fa0
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x8012
cmp cx, si
jne 0x578d9c
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575f10
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x8013
cmp dx, si
jne 0x578ddd
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575e80
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x8016
cmp cx, si
jne 0x578e1e
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00575a00
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x578f0e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x7d5
cmp dx, si
jne 0x578e33
lea eax, [ebp - 4]
push eax
push ebx
push edx
jmp 0x578c26
mov ecx, 0x9c87
cmp cx, si
jne 0x578e61
lea edx, [ebp - 4]
push edx
push ebx
push ecx
mov eax, esi
shr eax, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00576e10
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x578c3f
mov edx, 0x9c88
cmp dx, si
jne 0x578f11
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00576e50
jmp 0x578c3a
cmp eax, 0x112
jne 0x578f72
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x112
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00576d50
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x578c49
mov eax, dword [ebp + 0xc]
cmp dword [0x6f79d8], 0
je 0x579027
cmp eax, 0x4e
jne 0x579027
mov ecx, dword [ebx + 8]
cmp ecx, 0xfffffff4
jne 0x579061
mov eax, dword [edi + 0x311c]
mov edx, dword [ebx]
cmp edx, dword [eax + 4]
jne 0x578fee
mov dword [ebp + 0xc], 1
test eax, eax
je 0x578fcc
add eax, 4
jmp 0x578fce
mov eax, dword [ebp + 0xc]
cmp esi, 0x4d2
jne 0x578ec4
mov eax, dword [edi + 0x120]
mov edx, dword [edi + 0x311c]
cmp eax, dword [edx + 4]
je 0x578f35
mov edx, dword [edi + 0x3124]
cmp eax, dword [edx + 4]
jne 0x578f53
mov ecx, dword [0x716738]
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x258
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x578ec1
cmp eax, 0x4e
jne 0x578ec4
cmp dword [ebx + 8], 0xfffffdd9
jne 0x578fa1
cmp byte [edi + 0x198], 0
jne 0x578fa1
lea eax, [ebp + 0x1c]
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.00576dc0
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 8], 0xfffffdd8
jne 0x578ec4
mov edx, dword [ebp + 0x18]
xor ecx, ecx
cmp dword [edi + 0x319c], ecx
pop edi
setg cl
pop esi
mov eax, 1
pop ebx
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
lea ecx, [ebp + 0xc]
push ecx
push ebx
push eax
mov ecx, edi
call fcn.0056c5d0
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [edx], eax
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0xfffffff4
jne 0x579061
mov eax, dword [edi + 0x312c]
mov ecx, dword [ebx]
cmp ecx, dword [eax + 4]
jne 0x579061
lea edx, [ebp + 0xc]
push edx
push ebx
push eax
mov ecx, edi
mov dword [ebp + 0xc], 1
call fcn.0056c870
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x579061
mov edx, 0xe803
cmp dx, si
jne 0x579061
lea eax, [ebp - 4]
push eax
push ebx
mov ecx, esi
shr ecx, 0x10
push edx
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00576dc0
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
jne 0x578890
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push eax
push ebx
push esi
push ecx
push edx
lea ecx, [edi + 0x124]
call fcn.005740b0
test eax, eax
jne 0x578890
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
push esi
push ecx
push edx
mov ecx, edi
call fcn.00573d00
test eax, eax
jne 0x578890
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00550a70
cmp dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
jne 0x578890
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18