Function at 0x4223b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x4be014]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea ebx, [ebp - 0x20]
push 3
push ecx
push eax
push ebx
call fcn.00428890
add esp, 0x10
mov eax, dword [ebx + 4]
test eax, eax
je 0x422565
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x28], 0
push eax
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x4225a9
push 0x4b3f96
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422439
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], 0
test eax, eax
je 0x422537
mov dword [ebp - 0x34], edi
shl eax, 2
cmp eax, 0x55555555
jae 0x4225b9
mov ebx, eax
lea esi, [eax + eax*2]
push esi
call fcn.00452d6c
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi]
mov dword [ebp - 0x2c], eax
push eax
call fcn.0046afb0
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4225a2
mov ebx, eax
cmp eax, 5
jae 0x4224c7
mov byte [edi + 0xb], bl
test ebx, ebx
je 0x4224c3
cmp ebx, 3
jne 0x422525
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 4]
mov word [edi + 4], ax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, edi
jmp 0x42250c
mov dword [ebp - 0x24], edi
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.00452d6c
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
or edi, 0x80000000
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x24]
mov dword [edi + 4], ebx
mov dword [ebp - 0x24], ecx
mov eax, ebx
add eax, ebx
push eax
push dword [ebp - 0x2c]
push ecx
call fcn.00455f00
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov word [eax + ebx*2], 0
add edi, 0xc
add esi, 4
mov ebx, dword [ebp - 0x38]
cmp ebx, esi
jne 0x422484
jmp 0x422529
mov ecx, edi
jmp 0x4224f5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x34]
lea ebx, [ebp - 0x20]
xor esi, esi
mov ecx, edi
push ebx
call fcn.004221c0
mov dword [edi], esi
mov dword [edi + 4], esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x42255b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
mov eax, dword [ebp - 0x24]
jne 0x422579
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453803
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp eax, esi
je 0x422597
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x422591
push dword [eax - 0xc]
call fcn.00452d9c
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x42257d
push esi
call fcn.00452d9c
add esp, 4
jmp 0x422565
mov ecx, edi
call fcn.00495ea0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x422436
lea ecx, [ebp - 0x20]
call fcn.0047c7b0
int3