Function at 0x4590f0
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 [0x603024]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea ebx, [ebp - 0x20]
push 3
push ecx
push eax
push ebx
call fcn.00467550
add esp, 0x10
mov eax, dword [ebx + 4]
test eax, eax
je 0x4592a5
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 0x4592e9
push 0x5e747a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x459179
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 0x459277
mov dword [ebp - 0x34], edi
shl eax, 2
cmp eax, 0x55555555
jae 0x4592f9
mov ebx, eax
lea esi, [eax + eax*2]
push esi
call fcn.0050397a
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.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4592e2
mov ebx, eax
cmp eax, 5
jae 0x459207
mov byte [edi + 0xb], bl
test ebx, ebx
je 0x459203
cmp ebx, 3
jne 0x459265
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 0x45924c
mov dword [ebp - 0x24], edi
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0050397a
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.00506d50
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 0x4591c4
jmp 0x459269
mov ecx, edi
jmp 0x459235
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.00458f00
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 0x45929b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
mov eax, dword [ebp - 0x24]
jne 0x4592b9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp eax, esi
je 0x4592d7
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x4592d1
push dword [eax - 0xc]
call fcn.005039aa
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x4592bd
push esi
call fcn.005039aa
add esp, 4
jmp 0x4592a5
mov ecx, edi
call fcn.0055adb0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x459176
lea ecx, [ebp - 0x20]
call fcn.00536260
int3