Function at 0x404dd0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1058
call fcn.0040d7a0
mov eax, dword [0x4280f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x401
lea eax, [ebp - 0xc48]
push 0
push eax
mov byte [ebp - 0x1051], 0
call fcn.0040b2e0
push 0x401
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.0040b2e0
push 0x401
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.0040b2e0
push 0x401
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.0040b2e0
xorps xmm0, xmm0
lea eax, [ebp - 0xc48]
push 0x401
push eax
movdqa xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
call fcn.00405c70
add esp, 0x38
test eax, eax
jne 0x404ea3
lea ecx, [ebp - 0xc48]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404e90
sub ecx, edx
je 0x404ea3
lea esi, [ebp - 0xc48]
jmp 0x404eba
push str.TEMP
call fcn.0040c62c
mov esi, eax
add esp, 4
test esi, esi
je 0x404fec
push esi
call fcn.004078c0
add esp, 4
mov edx, esi
mov al, byte [esi]
inc esi
test al, al
jne 0x404ec5
lea edi, [ebp - 0x840]
sub esi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404ed5
mov ecx, esi
shr ecx, 2
mov dword [ebp - 0x1058], esi
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1058]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x840]
dec ecx
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x404f00
mov eax, dword [str.X400100001W.txt]
mov dword [ecx], eax
mov eax, dword [0x4220c0]
mov dword [ecx + 4], eax
mov eax, dword [0x4220c4]
mov dword [ecx + 8], eax
mov eax, dword [0x4220c8]
mov dword [ecx + 0xc], eax
mov al, byte [0x4220cc]
mov byte [ecx + 0x10], al
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x1050]
push str._c_ipconfig__all____s_
push eax
call fcn.0040b03e
add esp, 0xc
lea eax, [ebp - 0x1050]
push 0
push 0
push eax
push str.cmd.exe
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [ebp - 0x840]
push 0x42077c
push eax
xor esi, esi
call fcn.0040d16b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
test eax, eax
jne 0x404fb5
lea esp, [esp]
push 0x3e8
call edi
cmp esi, 9
je 0x404fbe
lea eax, [ebp - 0x840]
push 0x42077c
push eax
inc esi
call fcn.0040d16b
add esp, 8
test eax, eax
je 0x404f90
push eax
call fcn.0040cee8
add esp, 4
push 0x3e8
call edi
lea eax, [ebp - 0x840]
push 0x42077c
push eax
call fcn.0040d16b
mov edi, eax
add esp, 8
test edi, edi
jne 0x405001
push 0x4220f8
call fcn.0040a680
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push edi
lea eax, [ebp - 0x438]
push 0x400
push eax
call fcn.0040cf5f
add esp, 0xc
test eax, eax
je 0x405112
mov edi, edi
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405026
sub eax, edx
jne 0x4050f5
lea eax, [ebp - 0x438]
push str.Physical
push eax
call fcn.0040c2a0
add esp, 8
test eax, eax
jne 0x405069
lea eax, [ebp - 0x438]
push 0x42211c
push eax
call fcn.0040c2a0
add esp, 8
test eax, eax
je 0x4050f5
lea eax, [ebp - 0x438]
push 0x3a
push eax
call fcn.0040c160
lea ecx, [ebp - 0x438]
add esp, 8
mov edx, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405085
sub ecx, esi
mov eax, edx
lea esi, [ebp - 0x438]
sub eax, esi
add eax, 0xa
cmp ecx, eax
jb 0x4050f5
lea eax, [edx + 2]
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
push 0x4202bc
push eax
movdqa xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
call fcn.0040b03e
lea eax, [ebp - 0x30]
push 0xa
push eax
call fcn.0040be80
add esp, 0x14
test eax, eax
je 0x4050e0
mov byte [eax], 0
lea eax, [ebp - 0x30]
push 0xd
push eax
call fcn.0040be80
add esp, 8
test eax, eax
je 0x4050f5
mov byte [eax], 0
push edi
lea eax, [ebp - 0x438]
push 0x400
push eax
call fcn.0040cf5f
add esp, 0xc
test eax, eax
jne 0x405020
push edi
call fcn.0040cee8
lea ecx, [ebp - 0x30]
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405121
sub ecx, edx
jne 0x40517e
push 0x42212c
call fcn.0040a680
movq xmm0, qword [0x42194c]
mov ax, word [0x42195c]
movq qword [0x42e140], xmm0
movq xmm0, qword [0x421954]
mov word [0x42e150], ax
mov al, byte [ebp - 0x1051]
add esp, 4
movq qword [0x42e148], xmm0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor ecx, ecx
mov al, byte [ebp + ecx - 0x30]
mov byte [ecx + 0x42e140], al
lea ecx, [ecx + 1]
test al, al
jne 0x405180
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040b2c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret