Function at 0x411480
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cef19
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1f4]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [edi]
cmp eax, ebx
jne 0x4118fb
push 0xffffffffffffffff
lea eax, [edi + 0xc8]
push ebx
push eax
mov esi, 7
lea eax, [esp + 0xe0]
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
call fcn.00405240
mov dword [esp + 0x1ec], ebx
push 4
mov dword [esp + 0x10c], esi
push str..exe
lea esi, [esp + 0xf8]
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
call fcn.00405810
lea eax, [edi + 0xac]
push ebp
push eax
mov edx, esi
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1f4], 1
call fcn.0041d990
add esp, 8
test al, al
mov esi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x1ec], bl
cmp dword [esp + 0x108], esi
jb 0x411582
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.004a85e6
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4115ab
cmp dword [esp + 0xec], esi
jb 0x4115a1
mov edx, dword [esp + 0xd8]
push edx
call fcn.004a85e6
add esp, 4
mov eax, 1
jmp 0x411cf5
lea eax, [esp + 0xd4]
push eax
push ebp
lea ecx, [esp + 0x130]
call fcn.0041b720
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0x118]
mov byte [esp + 0x1f8], 2
call fcn.0041b8b0
add esp, 0xc
push 0x4d9094
push eax
lea esi, [esp + 0xf8]
mov byte [esp + 0x1f4], 3
call fcn.00405e20
lea ebp, [edi + 0x13c]
push ebp
push eax
lea edi, [esp + 0xc8]
mov byte [esp + 0x1fc], 4
call fcn.00405ee0
add esp, 0x10
mov edi, 8
cmp dword [esp + 0x108], edi
jb 0x411636
mov edx, dword [esp + 0xf4]
push edx
call fcn.004a85e6
add esp, 4
mov esi, 7
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
mov byte [esp + 0x1ec], 7
cmp dword [esp + 0x124], edi
jb 0x411672
mov eax, dword [esp + 0x110]
push eax
call fcn.004a85e6
add esp, 4
mov dword [esp + 0x124], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], ebx
call fcn.00424080
test al, al
je 0x411826
cmp dword [esp + 0x18], 5
jbe 0x411826
call fcn.004196f0
test al, al
jne 0x411826
mov edx, str.cmd.exe
lea eax, [esp + 0x50]
mov dword [esp + 0x18], str.open
call fcn.00404fb0
mov byte [esp + 0x1ec], 8
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x4116fa
lea edx, [esp + 0xd8]
lea eax, [esp + 0x1c]
call fcn.00404fb0
lea eax, [esp + 0x50]
lea esi, [esp + 0x1c]
call fcn.00419f30
test eax, eax
sete byte [esp + 0x17]
call fcn.004159c0
lea esi, [esp + 0x50]
call fcn.004159c0
cmp byte [esp + 0x17], bl
mov ecx, str.runas
jne 0x411734
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 0x18], edi
jb 0x41173e
mov ebp, dword [ebp + 4]
jmp 0x411741
add ebp, 4
cmp dword [esp + 0x140], edi
mov eax, dword [esp + 0x12c]
jae 0x411758
lea eax, [esp + 0x12c]
push ebp
push eax
push ecx
lea esi, [esp + 0x44]
call fcn.00419650
add esp, 0xc
test al, al
jne 0x41179e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0xb8]
mov edi, eax
call fcn.004159c0
lea esi, [esp + 0x128]
call fcn.004159c0
lea esi, [esp + 0xd4]
call fcn.004159c0
mov eax, edi
jmp 0x411cf5
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xd0], edi
jb 0x4117c2
mov eax, dword [esp + 0xbc]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x140], edi
mov esi, 7
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x4117f6
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], bx
jb 0x411cf3
mov edx, dword [esp + 0xd8]
push edx
jmp 0x411ceb
push 0x40
lea edx, [esp + 0x74]
push ebx
push edx
call fcn.004b1550
mov eax, dword [esp + 0xc8]
add esp, 0xc
cmp dword [esp + 0xd0], edi
mov dword [esp + 0x6c], 0x44
jae 0x411855
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x70]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4117a9
cmp dword [esp + 0xd0], edi
jb 0x41188e
mov eax, dword [esp + 0xbc]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x140], edi
mov esi, 7
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x4118c2
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], bx
jb 0x4118f1
mov edx, dword [esp + 0xd8]
push edx
call fcn.004a85e6
add esp, 4
mov eax, 2
jmp 0x411cf5
cmp eax, 1
jne 0x411cf3
mov eax, 7
mov dword [esp + 0x124], eax
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
mov dword [esp + 0x1ec], 9
push 5
push str.http:
lea esi, [esp + 0xdc]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
call fcn.00405810
lea esi, [edi + 0xe4]
mov byte [esp + 0x1ec], 0xa
push esi
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1c], 1
call fcn.0041a980
add esp, 4
test al, al
je 0x4119b9
mov edx, str.https:
lea eax, [esp + 0xb8]
call fcn.00404fb0
mov dword [esp + 0x1ec], 0xb
push esi
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c], 3
call fcn.0041a980
add esp, 4
test al, al
mov byte [esp + 0x17], bl
jne 0x4119be
mov byte [esp + 0x17], 1
test byte [esp + 0x18], 2
je 0x4119fe
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0xd0], 8
jb 0x4119e4
mov eax, dword [esp + 0xbc]
push eax
call fcn.004a85e6
add esp, 4
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
mov dword [esp + 0x1ec], 9
test byte [esp + 0x18], 1
je 0x411a2a
cmp dword [esp + 0xec], 8
jb 0x411a2a
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004a85e6
add esp, 4
cmp byte [esp + 0x17], bl
je 0x411b10
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
mov edx, str..ico
lea eax, [esp + 0x1c]
mov byte [esp + 0x1ec], 0xc
call fcn.00404fb0
push ebp
push esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1f4], 0xd
call fcn.0041d990
add esp, 8
test al, al
sete byte [esp + 0x17]
mov byte [esp + 0x1ec], 0xc
cmp dword [esp + 0x34], 8
jb 0x411aa4
mov edx, dword [esp + 0x20]
push edx
call fcn.004a85e6
add esp, 4
cmp byte [esp + 0x17], bl
je 0x411acc
lea esi, [esp + 0xb8]
call fcn.004159c0
lea esi, [esp + 0x10c]
call fcn.004159c0
mov eax, 1
jmp 0x411cf5
lea eax, [esp + 0xb8]
push eax
push ebp
lea ecx, [esp + 0x58]
call fcn.0041b720
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x118]
mov byte [esp + 0x1f8], 0xe
call fcn.00405240
lea esi, [esp + 0x50]
call fcn.004159c0
lea esi, [esp + 0xb8]
call fcn.004159c0
jmp 0x411b20
push 0xffffffffffffffff
push ebx
push esi
lea eax, [esp + 0x118]
call fcn.00405240
lea eax, [esp + 0x144]
call fcn.0040e580
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea esi, [esp + 0x1c]
mov byte [esp + 0x1ec], 0x10
call fcn.00419560
lea esi, [edi + 0xc8]
push esi
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1f4], 0x11
call fcn.0041b720
add esp, 8
mov byte [esp + 0x1ec], 0x13
cmp dword [esp + 0x34], 8
jb 0x411b81
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a85e6
add esp, 4
push 4
mov ebp, 7
push str..lnk
lea ecx, [esp + 0xf8]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00406190
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x148]
call fcn.00428420
test al, al
je 0x411bd8
lea eax, [edi + 0xac]
lea ecx, [esp + 0x160]
call fcn.00415600
test al, al
je 0x411c94
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x130]
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00405240
sub esp, 0x1c
mov eax, esp
mov byte [esp + 0x224], 0x14
mov dword [esp + 0x80], esp
push 0xffffffffffffffff
lea ecx, [edi + 0xac]
push ebx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00405240
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0xa0], esp
push 0xffffffffffffffff
mov byte [esp + 0x244], 0x15
push ebx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push esi
mov word [eax + 4], bx
call fcn.00405240
mov byte [esp + 0x240], 0x13
call fcn.00409c60
add esp, 0x54
cmp eax, ebx
jne 0x411c94
lea esi, [esp + 0xf0]
call fcn.004159c0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esi, [esp + 0x144]
call fcn.004102d0
lea esi, [esp + 0x10c]
call fcn.004159c0
mov eax, 2
jmp 0x411cf5
mov edi, 8
cmp dword [esp + 0x108], edi
jb 0x411cb2
mov edx, dword [esp + 0xf4]
push edx
call fcn.004a85e6
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esi, [esp + 0x144]
call fcn.004102d0
cmp dword [esp + 0x124], edi
jb 0x411cf3
mov eax, dword [esp + 0x110]
push eax
call fcn.004a85e6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.004a85d7
add esp, 0x1dc
ret