Function at 0x40226e
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb00
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xb00], 0
lea eax, [ebp - 0xafc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x38
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea edi, [ebp - 0x44]
mov esi, 0x40157c
push 0xe
pop ecx
rep movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
xor eax, eax
cmp ax, word [ebx]
je 0x40256a
push 0x4015b4
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x40256a
lea eax, [ebp - 0xac4]
push eax
push ecx
lea edx, [ebp - 0xac0]
mov ecx, ebx
call fcn.00402051
test al, al
je 0x402320
mov edx, dword [ebp - 0xac4]
lea ecx, [ebp - 0xac0]
call fcn.0040212c
push dword [ebp - 0xac4]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
test esi, esi
setns al
jmp 0x40257c
mov esi, 0x401690
mov dword [ebp - 0xac4], edi
push ebx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
mov edi, 0x30c
test eax, eax
jne 0x402350
cmp dword [esi + 4], 0xffffffff
je 0x40236e
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x40236e
mov eax, dword [ebp - 0xac4]
add esi, 0x18
add eax, 0x18
mov dword [ebp - 0xac4], eax
cmp eax, 0x1f8
jb 0x40232b
jmp 0x4023f4
cmp dword [esi + 8], 0
je 0x4023d1
cmp dword [esi + 0x14], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0xaf0], 0x401a80
je 0x4023ae
push dword [esi + 0x14]
push dword [esi + 0x10]
push eax
push 0x4015c0
lea eax, [ebp - 0x6b0]
push edi
push eax
call fcn.00401c92
add esp, 0x18
test eax, eax
jns 0x4023c9
xor eax, eax
jmp 0x40257c
push dword [esi + 0x10]
push eax
push 0x4015d0
lea eax, [ebp - 0x6b0]
push edi
push eax
call fcn.00401c92
add esp, 0x14
jmp 0x4023a3
lea eax, [ebp - 0x6b0]
jmp 0x4023ee
cmp dword [esi + 0xc], 0
je 0x4023e2
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
jmp 0x40256e
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xaf0], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xaec], eax
cmp dword [ebp - 0xaf0], 0
jne 0x402524
push ebx
push 0x4015dc
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x40242c
push ebx
push 0x4015fc
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x40242c
mov eax, dword [ebp - 0xaf0]
jmp 0x4024b8
mov eax, dword [0x401664]
lea edi, [ebp - 0x98]
push 0x14
pop ecx
mov esi, 0x401610
mov dword [ebp - 0xc], eax
mov ax, word [0x401668]
lea edx, [ebp - 0x8b8]
rep movsd dword es:[edi], dword [esi]
push ecx
lea ecx, [ebp - 0xac4]
mov word [ebp - 8], ax
movsw word es:[edi], word [esi]
call fcn.004021bf
test eax, eax
js 0x4023a7
cmp dword [ebp - 0xac4], 1
lea eax, [ebp - 0xc]
je 0x40247b
mov eax, 0x4010a0
lea ecx, [ebp - 0x98]
mov edi, 0x30c
push ecx
push eax
lea eax, [ebp - 0x8b8]
push eax
push 0x40166c
lea eax, [ebp - 0x6b0]
push edi
push eax
call fcn.00401c92
add esp, 0x18
test eax, eax
js 0x4023a7
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0xaf0], eax
test eax, eax
jne 0x402524
push 0x7ffffffe
lea eax, [ebp - 0x44]
mov edx, edi
push eax
push 0
lea ecx, [ebp - 0x6b0]
call fcn.00401cfe
test eax, eax
js 0x4023a7
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0xaf0], 0x401a80
push eax
mov dword [ebp - 0xaec], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp - 0x6b0]
sub edi, eax
push edi
mov ecx, ebx
lea esi, [esi + eax*2]
mov edx, esi
call fcn.00401e40
test eax, eax
je 0x402524
push ebx
mov edx, edi
mov ecx, esi
call fcn.00401b85
test eax, eax
js 0x4023a7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xaf4], 0x40167c
test eax, eax
jne 0x402536
inc eax
or dword [ebp - 0xafc], 0x2000300
push 0xffffffffffffffff
mov dword [ebp - 0xb00], 0x3c
mov dword [ebp - 0xae4], eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea ecx, [ebp - 0xb00]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
inc eax
jmp 0x40257c
xor edx, edx
xor ecx, ecx
call fcn.0040212c
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004029f0
mov esp, ebp
pop ebp
ret 8