Function at 0x423940
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x522377
mov eax, dword fs:[0]
push eax
sub esp, 0x7d4
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0x7d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x7e8]
mov dword fs:[0], eax
cmp byte [0x588e24], 0
mov edi, ecx
mov ebx, edx
jne 0x423cab
mov eax, dword [0x588e2c]
test eax, eax
je 0x4239a1
push ebx
push edi
call eax
add esp, 8
jmp 0x423cab
lea ecx, [esp + 0x14]
call fcn.00418990
lea esi, [esp + 0x5dc]
mov dword [esp + 0x7f0], 0
call fcn.00423740
test eax, eax
je 0x423bff
lea ecx, [esp + 0x13c]
call fcn.00418990
mov eax, esi
lea edx, [esp + 0x13c]
call fcn.00418b90
lea ecx, [esp + 0x38c]
call fcn.00418990
mov eax, esi
lea edx, [esp + 0x38c]
call fcn.00418b90
mov eax, dword [esp + 0x140]
push eax
lea eax, [esp + 0x140]
call fcn.00419330
lea ebx, [esp + 0x140]
call fcn.004190e0
lea eax, [esp + 0x38c]
call fcn.00419330
inc eax
push eax
xor eax, eax
lea ebx, [esp + 0x390]
call fcn.004190e0
lea ecx, [esp + 0x264]
call fcn.00418990
push 0x55f34c
lea ecx, [esp + 0x4b8]
call fcn.00418ac0
mov byte [esp + 0x7f0], 4
cmp byte [esp + 0x4a8], 0
lea esi, [esp + 0x398]
jne 0x423a76
mov esi, dword [esp + 0x394]
push 0x55f35c
push 0x55e008
lea edx, [esp + 0x26c]
call fcn.00419360
add esi, 4
push esi
push 0x55e008
lea edx, [esp + 0x274]
call fcn.00419360
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423ab0
sub eax, edx
sar eax, 1
xor ecx, ecx
lea eax, [eax + eax + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fdbb0
add esp, 4
cmp word [edi], 0
mov ebp, eax
mov ecx, edi
mov edx, ebp
je 0x423b48
jmp 0x423af0
mov ebx, dword [esp + 0x4b8]
test ebx, ebx
jbe 0x423b36
cmp byte [esp + 0x5d0], 0
lea edi, [esp + 0x4c0]
jne 0x423b13
mov edi, dword [esp + 0x4bc]
movzx esi, word [ecx]
xor eax, eax
cmp word [edi + eax*2 + 4], si
je 0x423b26
inc eax
cmp eax, ebx
jb 0x423b18
jmp 0x423b36
cmp eax, 0xffffffff
je 0x423b36
mov eax, 0x5e
mov word [edx], ax
add edx, 2
mov ax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp word [ecx], 0
jne 0x423af0
xor ecx, ecx
mov word [edx], cx
push 0x558df0
push 0x55e008
lea edx, [esp + 0x26c]
call fcn.00419360
push ebp
push 0x55e008
lea edx, [esp + 0x274]
call fcn.00419360
push ebp
call fcn.0050001c
add esp, 0x14
cmp byte [esp + 0x258], 0
lea ecx, [esp + 0x148]
jne 0x423b96
mov ecx, dword [esp + 0x144]
cmp byte [esp + 0x380], 0
lea eax, [esp + 0x270]
jne 0x423bae
mov eax, dword [esp + 0x26c]
push 0
add ecx, 4
push ecx
add eax, 4
push eax
push str.cmd.exe
push str.open
push 0
call dword [0x5313ec]
lea ecx, [esp + 0x4b4]
call fcn.00418b30
lea ecx, [esp + 0x264]
call fcn.00418b30
lea ecx, [esp + 0x38c]
call fcn.00418b30
lea ecx, [esp + 0x13c]
call fcn.00418b30
jmp 0x423c84
lea edx, [esp + 0x5dc]
push edx
call fcn.00423310
add esp, 4
test eax, eax
je 0x423c74
push 0x55aa10
push 0x55e008
lea edx, [esp + 0x1c]
call fcn.00419360
lea eax, [esp + 0x5e4]
push eax
push 0x55e008
lea edx, [esp + 0x24]
call fcn.00419360
push 0x55aa10
push 0x55e008
lea edx, [esp + 0x2c]
call fcn.00419360
add esp, 0x18
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x423c64
mov eax, dword [esp + 0x1c]
push 5
push 0
push edi
add eax, 4
push eax
push str.open
jmp 0x423c7d
push 5
push 0
push 0
push edi
push 0
push ebx
call dword [0x5313ec]
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x423cab
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x423cab
push eax
call fcn.004fe606
add esp, 4
mov ecx, dword [esp + 0x7e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7d0]
xor ecx, esp
call fcn.004fdc2b
add esp, 0x7e0
ret