Function at 0x40ac8b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 0x42d93c
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
call fcn.00404cea
push esi
lea ecx, [ebp - 0x30]
call fcn.00404cea
push esi
lea ecx, [ebp - 0x68]
call fcn.00404cea
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
jle 0x40af97
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x40af97
lea esi, [esi + edi*4]
mov ebx, dword [esi]
push str._start_mmf
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40af87
push 0x42e3a8
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40af87
push str._mmf_name
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40ad38
push 0x42e380
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40ad50
lea eax, [edi + 1]
cmp eax, dword [ebp - 8]
jge 0x40ad50
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
call fcn.00404cc6
jmp 0x40af8b
push str._app_cmd
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40ad76
push 0x42e358
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40ae79
lea eax, [edi + 1]
cmp eax, dword [ebp - 8]
jge 0x40ae79
mov esi, dword [ebp - 0x10]
mov edi, eax
mov eax, dword [esi + edi*4]
mov ecx, str.b_e_g_i_n
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40adb5
test dx, dx
je 0x40adb1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40adb5
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ad8f
xor eax, eax
jmp 0x40adba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40af8b
lea eax, [edi + 1]
cmp eax, dword [ebp - 8]
jge 0x40af8b
mov edi, eax
mov esi, dword [esi + edi*4]
mov ebx, str.e_n_d
mov ecx, ebx
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ae02
test dx, dx
je 0x40adfe
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ae02
add eax, 4
add ecx, 4
test dx, dx
jne 0x40addc
xor eax, eax
jmp 0x40ae07
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40af8b
lea eax, [edi + 1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x40af8b
push esi
lea ecx, [ebp - 0x30]
call fcn.00405678
push 0x42e1b8
lea ecx, [ebp - 0x30]
call fcn.00405678
mov eax, dword [ebp - 0x10]
inc edi
mov esi, dword [eax + edi*4]
inc dword [ebp - 0xc]
mov ecx, ebx
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ae6b
test dx, dx
je 0x40ae67
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ae6b
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ae45
xor eax, eax
jmp 0x40ae70
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ae15
jmp 0x40af8b
push str._app_path
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40ae9b
push 0x42e310
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40aeab
lea eax, [edi + 1]
cmp eax, dword [ebp - 8]
jge 0x40aeab
lea ecx, [ebp - 0x68]
jmp 0x40ad43
push str._contentbytes
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40aecd
push 0x42e2d8
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40aee6
lea eax, [edi + 1]
cmp eax, dword [ebp - 8]
jge 0x40aee6
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x14], eax
jmp 0x40af8b
push str._checkpe
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40af08
push 0x42e2b0
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40af10
mov esi, dword [ebp + 8]
mov byte [esi], 1
jmp 0x40af13
mov esi, dword [ebp + 8]
push str._hiddenrun
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40af35
push 0x42e280
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40af39
mov byte [esi + 1], 1
push str._forceforeground
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40af5b
push 0x42e238
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40af5f
mov byte [esi + 2], 1
push str._norunas
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
jne 0x40af81
push 0x42e210
push ebx
call fcn.0042c562
pop ecx
pop ecx
test eax, eax
je 0x40af8b
mov byte [esi + 3], 1
jmp 0x40af8b
mov byte [ebp - 1], 1
inc edi
xor ebx, ebx
cmp edi, dword [ebp - 8]
jl 0x40acdc
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x20]
call fcn.00404bbf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 4]
call fcn.00404bbf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0x3c]
call fcn.00404bbf
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x58], eax
je 0x40afdc
mov byte [ebp + 0xb], 1
cmp dword [ebp - 0x38], ebx
jne 0x40afe0
mov byte [ebp + 0xb], 0
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.004049f8
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004049f8
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004049f8
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret