Function at 0x426070
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
mov eax, 0x404c
push esi
push ebx
call fcn.005e3260
sub esp, eax
mov ebp, dword [0x867264]
mov esi, ecx
lea ebx, [esp + 0x2040]
test ebp, ebp
je 0x4260e3
lea edx, [esp + 0x2048]
xor eax, eax
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x2040], 0x30
mov dword [esp + 0x2044], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
jne 0x426460
mov eax, dword [0x722ac4]
cmp eax, 1
je 0x426350
cmp eax, 2
je 0x4262a5
test eax, eax
je 0x426190
lea ebp, [esp + 0x40]
mov dword [esp + 4], 0x8511a0
mov dword [esp], ebp
call sub.msvcrt.dll_wcscpy
mov dword [esp + 4], 0x735a02
mov dword [esp], ebp
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], 0x8571a0
mov dword [esp], ebx
call sub.msvcrt.dll_wcscpy
mov dword [esp + 4], 0x735a02
mov dword [esp], ebx
call sub.msvcrt.dll_wcscat
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov ecx, 0x869458
mov dword [esp], 0x20
call fcn.00442f20
sub esp, 4
cmp dword [0x867254], 1
mov edi, eax
je 0x4263f4
add esp, 0x404c
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ebp, dword [0x86725c]
test ebp, ebp
je 0x426102
lea edi, [esp + 0x2048]
mov ecx, 0xa
mov edx, dword [sym.imp.USER32.dll_GetMenuItemInfoW]
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x2040], 0x30
mov dword [esp + 0x2044], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x16
mov dword [esp], ebp
call edx
sub esp, 0x10
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x426235
mov dword [esp + 0x2048], 0
mov dword [esp + 0x204c], 0
mov dword [esp + 0x2064], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x16
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov ebp, dword [0x86725c]
test ebp, ebp
je 0x426102
lea edi, [esp + 0x2048]
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [esp + 0x2040], 0x30
mov dword [esp + 0x2044], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x17
mov dword [esp], ebp
call edx
sub esp, 0x10
test eax, eax
je 0x426102
mov dword [esp + 0x2048], 0
mov dword [esp + 0x204c], 0
jmp 0x426319
mov ebp, dword [0x86725c]
test ebp, ebp
je 0x426102
lea edx, [esp + 0x2048]
xor eax, eax
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x2040], 0x30
mov dword [esp + 0x2044], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x17
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
je 0x426102
mov dword [esp + 0x2048], 0
mov dword [esp + 0x204c], 8
mov dword [esp + 0x2064], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x17
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
sub esp, 0x10
jmp 0x426102
mov ebp, dword [0x86725c]
test ebp, ebp
je 0x426102
lea edx, [esp + 0x2048]
xor eax, eax
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x2040], 0x30
mov dword [esp + 0x2044], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x16
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
je 0x426102
mov dword [esp + 0x2048], 0
mov dword [esp + 0x204c], 8
mov dword [esp + 0x2064], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x16
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
sub esp, 0x10
jmp 0x426102
mov dword [esp], ebp
mov ecx, 0x869458
call fcn.00441560
sub esp, 4
test al, al
je 0x4264b0
mov eax, dword [esp + 0x4060]
sar eax, 8
cmp eax, edi
jg 0x426514
cmp byte [esp + 0x4060], 0
jne 0x426514
cmp dword [0x722ac4], 1
jne 0x426183
mov dword [esp], 2
mov ecx, esi
mov dword [0x867254], 0
call fcn.00425be0
sub esp, 4
jmp 0x426183
mov dword [esp + 0x2048], 0
mov dword [esp + 0x204c], 0
mov dword [esp + 0x2064], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
sub esp, 0x10
jmp 0x4260e3
mov dword [esp], ebx
mov ecx, 0x869458
call fcn.00441560
sub esp, 4
test al, al
jne 0x42640c
cmp dword [esp + 0x3c], 1
jg 0x42640c
mov eax, dword [0x867218]
mov dword [0x867254], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4202c0
mov dword [esp + 4], 0x384
mov dword [esp + 8], eax
mov eax, dword [0x867290]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x426183
mov dword [0x867254], 0
add esp, 0x404c
pop ebx
pop esi
pop edi
pop ebp
ret 4