Function at 0x41d230
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 [0x4e2024]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea ebx, [ebp - 0x20]
push 3
push ecx
push eax
push ebx
call fcn.00428280
add esp, 0x10
mov eax, dword [ebx + 4]
test eax, eax
je 0x41d3e5
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 0x41d429
push 0x4d3986
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d2b9
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 0x41d3b7
mov dword [ebp - 0x34], edi
shl eax, 2
cmp eax, 0x55555555
jae 0x41d439
mov ebx, eax
lea esi, [eax + eax*2]
push esi
call fcn.0046acad
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.00483176
add esp, 4
cmp eax, 0x7ffffff0
jae 0x41d422
mov ebx, eax
cmp eax, 5
jae 0x41d347
mov byte [edi + 0xb], bl
test ebx, ebx
je 0x41d343
cmp ebx, 3
jne 0x41d3a5
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 0x41d38c
mov dword [ebp - 0x24], edi
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0046acad
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.0046e010
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 0x41d304
jmp 0x41d3a9
mov ecx, edi
jmp 0x41d375
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.0041d040
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 0x41d3db
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
mov eax, dword [ebp - 0x24]
jne 0x41d3f9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b8b5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp eax, esi
je 0x41d417
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x41d411
push dword [eax - 0xc]
call fcn.0046acdd
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x41d3fd
push esi
call fcn.0046acdd
add esp, 4
jmp 0x41d3e5
mov ecx, edi
call fcn.004a96f0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x41d2b6
lea ecx, [ebp - 0x20]
call fcn.00494190
int3