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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x740e19
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x857060]
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 0x57ee61
mov word [ebp - 0x21c], ax
push 0x799430
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
xor eax, eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x57ee92
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00426d40
push 0x7f4ed8
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0048f950
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 8
cmovae eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x57ef10
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x57ef10
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 - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00426d40
mov ecx, esi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x57ef60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.0044a2e0
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 ebx, eax
call fcn.006644d0
push str.Latest_Browser_emulation_mode_set
push 0x799430
push 0x799430
push str.Main
push 0x799430
push 0x1e
call fcn.0056c500
mov byte [ebp - 4], 3
add esp, 0x18
mov esi, dword [0x87d0c0]
xor edi, edi
mov byte [ebp - 0x269], 0
test esi, esi
jne 0x57f014
push 0x4c
call fcn.006d0976
mov esi, eax
add esp, 4
mov dword [ebp - 0x270], esi
push 0x4c
push edi
push esi
mov byte [ebp - 4], 4
call fcn.006e9470
add esp, 0xc
mov ecx, esi
call fcn.0056bf20
mov esi, eax
mov byte [ebp - 4], 3
mov dword [0x87d0c0], esi
lea eax, [ebp - 0x269]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x220]
call fcn.0056d1b0
test al, al
je 0x57f230
cmp byte [ebp - 0x269], 0
jne 0x57f154
mov ecx, esi
call fcn.0056d630
cmp byte [esi], 0
je 0x57f0e5
xor eax, eax
mov dword [ebp - 0x290], 0
push eax
push 0x799430
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
call fcn.00426d40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
push 4
xor eax, eax
mov dword [ebp - 0x278], 0
push str.quit
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
call fcn.00426d40
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x14]
push eax
lea eax, [ebp - 0x288]
push eax
push 2
call fcn.0057f290
lea ecx, [ebp - 0x288]
call fcn.00426ce0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 3
call fcn.00426ce0
mov ecx, dword [esi + 0x14]
mov byte [ecx + 0x91], 0
add ecx, 0x18
call fcn.0066edb0
cmp byte [esi + 1], 0
je 0x57f146
call fcn.00561cc0
test al, al
jne 0x57f123
push str.Failed_to_delete_self.
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x28
jmp 0x57f13e
push str.Successfully_deleted_self_from_temp.
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x14
call fcn.0056c500
add esp, 0x18
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x57f152
mov edi, dword [edi + 0x1c]
jmp 0x57f154
xor edi, edi
mov esi, dword [0x87d0c0]
test esi, esi
je 0x57f1ef
mov ecx, esi
call fcn.0056c220
push 0x4c
push esi
call fcn.006d0bf7
add esp, 8
mov dword [0x87d0c0], 0
jmp 0x57f1ef
lea ecx, [ebp - 0x238]
call fcn.00426ce0
lea ecx, [ebp - 0x268]
call fcn.00426ce0
lea ecx, [ebp - 0x250]
call fcn.00426ce0
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.006d0965
mov esp, ebp
pop ebp
ret 0x10
call fcn.0056c8c0
lea ecx, [ebp - 0x2ac]
call fcn.004a3120
push 0x853b78
lea eax, [ebp - 0x2ac]
push eax
call fcn.006e8e84
int3