Function at 0x4024d0
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x431220]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004085b0
add esp, 4
mov ecx, eax
call fcn.00406e60
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, 4
xor eax, eax
mov dword [esp + 0xc], esi
cmp word [0x42ddc4], ax
cmove ecx, eax
push ecx
push 0x42ddc4
lea ecx, [esp + 0x54]
call fcn.00402330
test esi, esi
je 0x402713
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jle 0x402713
jmp 0x402580
mov edx, dword [esi + ebx*4]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp word [edx], ax
jne 0x4025a3
xor ecx, ecx
jmp 0x4025bf
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4025b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4025b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00402330
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x34]
mov edi, dword [esp + 0x44]
cmp edx, 8
mov esi, 8
cmovae ecx, dword [esp + 0x34]
cmp edi, esi
cmovb esi, edi
test esi, esi
je 0x402606
mov edx, 0x42ddd4
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40265a
add ecx, 2
add edx, 2
dec esi
jne 0x4025f1
mov edx, dword [esp + 0x48]
xor eax, eax
test eax, eax
jne 0x40261b
cmp edi, 8
jb 0x40261b
cmp edi, 8
setne al
test eax, eax
je 0x40266c
push 6
push 0
push str.__type
lea ecx, [esp + 0x40]
call fcn.00402930
cmp eax, 0xffffffff
jne 0x402687
cmp dword [esp + 0x48], 8
jb 0x402646
mov eax, dword [esp + 0x34]
push eax
call fcn.0040be2b
add esp, 4
mov esi, dword [esp + 0xc]
inc ebx
cmp ebx, dword [esp + 0x14]
jge 0x402713
jmp 0x402580
movzx eax, word [ecx]
cmp ax, word [edx]
mov edx, dword [esp + 0x48]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x402608
mov dword [esp + 0x10], 2
cmp edx, 8
jb 0x40270f
mov eax, dword [esp + 0x34]
push eax
jmp 0x402707
push 1
push 0
push 0x42ddd0
lea ecx, [esp + 0x40]
call fcn.00402930
push 0xffffffffffffffff
inc eax
lea ecx, [esp + 0x38]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004028f0
mov esi, eax
lea eax, [esp + 0x4c]
cmp eax, esi
je 0x4026e9
cmp dword [esp + 0x60], 8
jb 0x4026c8
push dword [esp + 0x4c]
call fcn.0040be2b
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00402a10
cmp dword [esp + 0x78], 8
jb 0x4026fc
push dword [esp + 0x64]
call fcn.0040be2b
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x40270f
push dword [esp + 0x34]
call fcn.0040be2b
add esp, 4
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x4c]
xor eax, eax
mov edx, 4
cmp word [0x42ddc4], ax
cmove edx, eax
cmp dword [esp + 0x60], 8
mov esi, edx
mov dword [esp + 0xc], edx
cmovae ecx, dword [esp + 0x4c]
cmp edi, edx
cmovb esi, edi
test esi, esi
je 0x402766
mov edx, 0x42ddc4
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x402775
add ecx, 2
add edx, 2
dec esi
jne 0x402751
mov edx, dword [esp + 0xc]
xor ebx, ebx
test ebx, ebx
jne 0x402788
cmp edi, edx
jae 0x402781
or ebx, 0xffffffff
jmp 0x402788
mov edx, dword [esp + 0xc]
sbb ebx, ebx
and ebx, 0xfffffffe
inc ebx
jmp 0x402768
xor ebx, ebx
cmp edi, edx
setne bl
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x64]
mov esi, dword [esp + 0x20]
push edi
push esi
push eax
call fcn.00402a70
add esp, 0xc
test ebx, ebx
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x18]
sete al
movzx eax, al
push eax
call fcn.00402eb0
add esp, 0x10
cmp dword [esp + 0x78], 8
jb 0x4027cd
push dword [esp + 0x64]
call fcn.0040be2b
add esp, 4
push 8
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
call fcn.0040be7b
mov esi, eax
add esp, 4
test esi, esi
je 0x4027f4
mov dword [esi], vtable.orpheus::MainDllLoader.0
mov dword [esi + 4], 0
jmp 0x4027f6
xor esi, esi
lea eax, [esp + 0x28]
push eax
push ecx
push dword [esp + 0x24]
mov ecx, esi
call fcn.004019d0
mov edi, eax
test esi, esi
je 0x40282a
mov ecx, dword [esi + 4]
mov dword [esi], vtable.orpheus::MainDllLoader.0
test ecx, ecx
je 0x402821
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.0040be2b
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x40283d
push dword [esp + 0x4c]
call fcn.0040be2b
add esp, 4
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b645
mov esp, ebp
pop ebp
ret 0x10