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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4e23
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 0x4505a1
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 0x4505d6
xor ecx, ecx
jmp 0x4505ef
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4505e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00408a10
push 0x6024bc
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0041ee80
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 0x45065e
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45065e
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 0x4506ad
xor ecx, ecx
jmp 0x4506c1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4506b2
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.0052eee0
test al, al
jne 0x450742
mov ecx, 9
call fcn.0052eee0
test al, al
jne 0x450742
mov ecx, 8
call fcn.0052eee0
test al, al
jne 0x450742
mov eax, fcn.00440ae0
test eax, eax
je 0x45076e
push str.Error_occured_during_setting_the_IE_browser_emulation_mode
push 0x5f8398
push 0x5f8398
push str.Main
push 0x5f8398
push 0x28
jmp 0x450766
mov eax, fcn.00440ae0
test eax, eax
je 0x45076e
push str.Browser_emulation_mode_set
push 0x5f8398
push 0x5f8398
push str.Main
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
mov byte [ebp - 4], 3
xor edi, edi
mov esi, dword [0x6562b4]
mov byte [ebp - 0x269], 0
test esi, esi
jne 0x4507ba
push 0x34
call fcn.0057609b
mov esi, eax
add esp, 4
mov dword [ebp - 0x270], esi
push 0x34
push edi
push esi
mov byte [ebp - 4], 4
call fcn.0058fee0
add esp, 0xc
mov ecx, esi
call fcn.00440810
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.00441730
test al, al
jne 0x45081f
mov esi, dword [0x6562b4]
test esi, esi
je 0x4507f9
mov ecx, esi
call fcn.00440960
push 0x34
push esi
call fcn.0057697a
add esp, 8
mov dword [0x6562b4], 0
push 0x646644
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.0058f513
cmp byte [ebp - 0x269], 0
jne 0x450844
mov ecx, esi
call fcn.00441c60
mov ecx, esi
call fcn.00441b20
mov edi, dword [esi + 0x24]
test edi, edi
je 0x450842
mov edi, dword [edi + 0x1c]
jmp 0x450844
xor edi, edi
mov esi, dword [0x6562b4]
test esi, esi
je 0x4508df
mov ecx, esi
call fcn.00440960
push 0x34
push esi
call fcn.0057697a
add esp, 8
mov dword [0x6562b4], 0
jmp 0x4508df
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x4508fd
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 0x450938
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 0x450973
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.0057608a
mov esp, ebp
pop ebp
ret 0x10