Function at 0x41a780
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x430fd4
call fcn.0041c3e8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], edi
mov esi, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x41aaa7
cmp esi, 0x10000
jae 0x41aaa7
push 0x3c
pop ebx
push ebx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041dbb0
mov dword [ebp - 0x84], ebx
add esp, 0xc
mov bh, byte [ebp + 0x28]
mov dword [ebp - 0x80], 0x1c0
test bh, bh
je 0x41a7dd
mov dword [ebp - 0x80], 0x5c0
mov edx, dword [ebp + 0x20]
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp edx, 8
jb 0x41a7ed
mov eax, ecx
push 0x22
pop edi
cmp word [eax], di
lea eax, [ebp + 0xc]
jne 0x41a804
cmp edx, 8
jb 0x41a7ff
mov eax, ecx
add eax, 2
jmp 0x41a80b
cmp edx, 8
jb 0x41a80b
mov eax, ecx
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
xor eax, eax
test esi, esi
je 0x41a8ae
cmp edx, 8
lea edi, [ebp + 0xc]
sbb bl, bl
inc bl
cmp edx, 8
jb 0x41a82c
mov edi, ecx
push 0x22
pop edx
cmp word [edi + eax*2], dx
mov edx, dword [ebp + 0x20]
jne 0x41a86c
jmp 0x41a84f
lea edi, [ebp + 0xc]
test bl, bl
je 0x41a843
mov edi, ecx
push 0x22
pop edx
cmp word [edi + eax*2], dx
mov edx, dword [ebp + 0x20]
je 0x41a856
inc eax
cmp eax, esi
jb 0x41a83a
jmp 0x41a86c
lea edx, [ebp + 0xc]
test bl, bl
je 0x41a85f
mov edx, ecx
push 0x20
pop ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0xc]
cmp edx, 8
lea edi, [ebp + 0xc]
sbb bl, bl
inc bl
cmp edx, 8
jb 0x41a87d
mov edi, ecx
push 0x20
pop esi
cmp word [edi + eax*2], si
mov esi, dword [ebp + 0x1c]
je 0x41aab7
lea edi, [ebp + 0xc]
test bl, bl
je 0x41a896
mov edi, ecx
cmp word [edi + eax*2 + 2], 0x2f
je 0x41aab7
inc eax
cmp eax, esi
jb 0x41a81b
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x41a8bc
xor ecx, ecx
cmp word [eax], cx
jne 0x41a8df
test bh, bh
jne 0x41a8df
cmp dword [0x45aaf8], 0
je 0x41a8df
cmp dword [0x45aafc], 8
mov eax, 0x45aae8
jb 0x41a8dc
mov eax, dword [0x45aae8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
push dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
call fcn.00405e3d
mov esi, eax
test esi, esi
je 0x41a909
push str..inf
push esi
call fcn.0040be9f
test eax, eax
jne 0x41a909
mov dword [ebp - 0x78], 0x4341fc
push dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
call fcn.004014a3
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0040444f
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00401770
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
test bl, bl
je 0x41a97d
push dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
call fcn.004014a3
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004058d4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401770
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x41a97a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41aa5c
xor eax, eax
mov bl, al
cmp byte [0x45aaa8], al
jne 0x41a9aa
test bh, bh
jne 0x41a9aa
cmp byte [0x45af94], al
je 0x41aa10
test edi, edi
je 0x41a9c5
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41a9c5
xor eax, eax
push eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
push 0x7d0
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x4c]
call fcn.0041ae80
cmp byte [0x45af94], 0
je 0x41aa10
test bh, bh
jne 0x41aa10
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41aa10
mov eax, dword [ebp - 0x48]
cmp eax, dword [0x45af98]
jbe 0x41aa09
mov dword [0x45af98], eax
mov byte [0x45af95], 1
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41aa2c
push str..exe
push esi
call fcn.0040be9f
test eax, eax
je 0x41aa4b
cmp byte [0x45aaa8], 0
je 0x41aa4b
test bh, bh
jne 0x41aa4b
cmp byte [0x45af94], bh
jne 0x41aa4b
mov dword [0x45af9c], 0x1b58
test bl, bl
je 0x41aa5c
test bh, bh
je 0x41aa5c
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41aa97
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x41aa8e
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004016b3
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.0041c336
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea ecx, [ebp + 0xc]
call fcn.00401770
call fcn.0041c397
ret 0x24
lea esi, [ebp + 0xc]
cmp edx, 8
jb 0x41aac1
mov esi, ecx
push 0x20
pop edi
cmp word [esi + eax*2], di
jne 0x41aae0
lea esi, [ebp + 0xc]
cmp edx, 8
jb 0x41aad4
mov esi, ecx
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0xc]
lea esi, [ebp + 0xc]
cmp edx, 8
jb 0x41aaea
mov esi, ecx
mov edi, dword [ebp - 0x44]
inc eax
lea eax, [esi + eax*2]
mov dword [ebp - 0x70], eax
jmp 0x41a8b1