Function at 0x49de40
Capabilities:
Check if file exists
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5982e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push edi
mov dword [ebp - 0x260], ecx
mov eax, dword [ebp - 0x260]
cmp dword [eax], 0
je 0x49de7d
mov ecx, dword [ebp - 0x260]
mov eax, dword [ecx]
jmp 0x49e2a5
push 0
push 0x104
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.00499670
mov word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
push str..bbs.125.la
push 0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049e690
mov ecx, eax
call fcn.0049e520
mov byte [ebp - 0x228], 1
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.004bbe50
add esp, 4
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049eca0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49dfcc
lea ecx, [ebp - 0x234]
call fcn.005359a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x234]
call fcn.004adb13
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049eca0
push eax
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x234]
call fcn.004adde3
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
call fcn.0049e500
and eax, 0xff
test eax, eax
je 0x49df9c
mov byte [ebp - 0x228], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.004995e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004995e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004bbf00
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0x64fdf8
mov ecx, dword [ebp - 0x228]
and ecx, 0xff
test ecx, ecx
je 0x49e202
lea ecx, [ebp - 0x240]
call fcn.0049e2c0
mov dword [ebp - 4], 3
push 0xffffffffffffffff
push 4
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049eca0
push eax
lea ecx, [ebp - 0x240]
call fcn.0049e310
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x238], al
mov edx, dword [ebp - 0x238]
and edx, 0xff
test edx, edx
jne 0x49e14f
push 0
call fcn.0057877a
add esp, 4
push eax
call fcn.00575522
add esp, 4
push 1
push 6
push 0x14
lea eax, [ebp - 0x250]
push eax
call fcn.0049e6f0
add esp, 0xc
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x268]
push edx
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049e650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.004995e0
push 0xffffffffffffffff
push 4
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049eca0
push eax
lea ecx, [ebp - 0x240]
call fcn.0049e310
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x238], al
mov eax, dword [ebp - 0x238]
and eax, 0xff
test eax, eax
jne 0x49e14f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x244]
call fcn.00540f00
mov byte [ebp - 4], 5
push 0x3b
push str.C:Userspc1Desktopcpp_vipTbJYVipTBietb_GetIetbDllHandle.cpp
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x224]
push edx
lea eax, [ebp - 0x244]
push eax
call fcn.0049e6b0
add esp, 0x14
push 0
push 0x64fd60
lea ecx, [ebp - 0x244]
call fcn.0049eca0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call fcn.00578c4a
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x220]
push edx
lea ecx, [ebp - 0x240]
call fcn.0049e4c0
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x238], al
mov eax, dword [ebp - 0x238]
and eax, 0xff
test eax, eax
jne 0x49e1f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x248]
call fcn.00540f00
mov byte [ebp - 4], 6
push 0x47
push str.C:Userspc1Desktopcpp_vipTbJYVipTBietb_GetIetbDllHandle.cpp
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x224]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.0049e6b0
add esp, 0x14
push 0
push 0x64fd60
lea ecx, [ebp - 0x248]
call fcn.0049eca0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call fcn.00578c4a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.0049e2f0
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.0049eca0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x260]
mov dword [ecx], eax
mov edx, dword [ebp - 0x260]
cmp dword [edx], 0
jne 0x49e29d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x24c]
call fcn.00540f00
mov dword [ebp - 4], 7
push 0x54
push str.C:Userspc1Desktopcpp_vipTbJYVipTBietb_GetIetbDllHandle.cpp
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.0049e6b0
add esp, 0x14
push 0
push 0x64fd60
lea ecx, [ebp - 0x24c]
call fcn.0049eca0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call fcn.00578c4a
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret