Function at 0x450800
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5403
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x450851
mov word [ebp - 0x21c], ax
push 0x5f8398
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
xor eax, eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
cmp word [ebp - 0x21c], ax
jne 0x450886
xor ecx, ecx
jmp 0x45089f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450890
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00408a10
push 0x6024fc
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0041f030
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
cmovae eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x45090e
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45090e
push 0x800
call eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push str.Set_up.exe
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.00408a10
mov byte [ebp - 4], 2
cmp word [esi], 0
jne 0x45095d
xor ecx, ecx
jmp 0x450971
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450962
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.0040c5a0
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x220]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, 0xa
mov ebx, eax
call fcn.0052f6c0
test al, al
jne 0x4509f2
mov ecx, 9
call fcn.0052f6c0
test al, al
jne 0x4509f2
mov ecx, 8
call fcn.0052f6c0
test al, al
jne 0x4509f2
mov eax, fcn.00440db0
test eax, eax
je 0x450a1e
push str.Error_occured_during_setting_the_IE_browser_emulation_mode
push 0x5f8398
push 0x5f8398
push str.Main
push 0x5f8398
push 0x28
jmp 0x450a16
mov eax, fcn.00440db0
test eax, eax
je 0x450a1e
push str.Browser_emulation_mode_set
push 0x5f8398
push 0x5f8398
push str.Main
push 0x5f8398
push 0x1e
call fcn.00440db0
add esp, 0x18
mov byte [ebp - 4], 3
xor edi, edi
mov esi, dword [0x6562b4]
mov byte [ebp - 0x269], 0
test esi, esi
jne 0x450a6a
push 0x34
call fcn.005765c3
mov esi, eax
add esp, 4
mov dword [ebp - 0x270], esi
push 0x34
push edi
push esi
mov byte [ebp - 4], 4
call fcn.005903b0
add esp, 0xc
mov ecx, esi
call fcn.00440ae0
mov esi, eax
mov byte [ebp - 4], 3
mov dword [0x6562b4], esi
lea eax, [ebp - 0x269]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x220]
call fcn.00441a00
test al, al
jne 0x450acf
mov esi, dword [0x6562b4]
test esi, esi
je 0x450aa9
mov ecx, esi
call fcn.00440c30
push 0x34
push esi
call fcn.00576ea2
add esp, 8
mov dword [0x6562b4], 0
push 0x6468c4
lea eax, [ebp - 0x27c]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x278], xmm0
call fcn.0058f9de
cmp byte [ebp - 0x269], 0
jne 0x450af4
mov ecx, esi
call fcn.00441f30
mov ecx, esi
call fcn.00441df0
mov edi, dword [esi + 0x24]
test edi, edi
je 0x450af2
mov edi, dword [edi + 0x1c]
jmp 0x450af4
xor edi, edi
mov esi, dword [0x6562b4]
test esi, esi
je 0x450b8f
mov ecx, esi
call fcn.00440c30
push 0x34
push esi
call fcn.00576ea2
add esp, 8
mov dword [0x6562b4], 0
jmp 0x450b8f
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x450bad
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x228], 0
cmp eax, 8
jb 0x450be8
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00409510
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
cmp ecx, 8
jb 0x450c23
inc ecx
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x268]
call fcn.00409510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret 0x10