Function at 0x402e4a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x80
mov eax, 0x489b85
call fcn.00458e5d
mov eax, dword [ebp + 8]
mov esi, ecx
push str.Initializing..._n_n
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esi
call fcn.00450ee8
pop ecx
mov edx, 0x49b690
mov ecx, esi
call fcn.0042ba10
test al, al
je 0x402ea3
push str.NOSFX
push 0xf9
call fcn.0041ef10
push eax
mov ebx, 0x800040
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0xc
jmp 0x402ed4
push 0
mov esi, 0x4b31c8
push esi
call fcn.00425f00
push 1
push esi
call fcn.00425d30
add esp, 0x10
call fcn.00402aeb
test eax, eax
jne 0x402ecb
xor eax, eax
jmp 0x4031a3
call fcn.00402b3f
test eax, eax
je 0x402ec4
push str.Load_config
push 0x10a
call fcn.0041ef10
push eax
mov ebx, 0x800040
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0xc
push 0
mov edi, 0x4b3200
lea esi, [ebp - 0x6c]
call fcn.004265b0
pop ecx
push dword [ebp - 0x4c]
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040f3c2
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x6c]
inc bl
call fcn.0040230d
test bl, bl
je 0x402f5a
push str.WrapperConfig::LoadConfig___failed
push 0x10d
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0xc
jmp 0x402ec4
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx + 8], edi
je 0x402f70
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push eax
mov edx, str.PROXY
mov dword [ebp - 4], esi
call fcn.0042bae0
test al, al
je 0x402fd0
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x402fa4
lea eax, [ebp - 0x44]
push str.direct
push eax
call fcn.00452b2d
pop ecx
pop ecx
test eax, eax
jne 0x402fbd
lea eax, [ebp - 0x48]
call fcn.00407e19
add ebx, 0x180
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [ebp - 0x48]
call fcn.0040191e
lea ecx, [ebp - 0x88]
call fcn.0040e481
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x402fea
mov eax, dword [eax + 4]
jmp 0x402fed
add eax, 4
push eax
push str.Session_ID:_S
push 0x120
push ecx
call fcn.0041ef10
pop ecx
mov edi, str..SupportWrapper.cpp
push eax
mov ebx, 0x800040
mov ecx, edi
call fcn.0041f0d0
add esp, 0x10
push 0
push 1
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004019bb
mov esi, dword [ebp - 0x4c]
cmp dword [esi + 0x194], 0
jne 0x40303a
mov eax, str.direct
jmp 0x40304e
lea eax, [esi + 0x180]
cmp dword [eax + 0x18], 8
jb 0x40304b
mov eax, dword [eax + 4]
jmp 0x40304e
add eax, 4
push eax
push str.Proxy_set_to:__S
push 0x123
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800008
mov ecx, edi
call fcn.0041f0d0
mov ecx, dword [ebp - 0x50]
add esp, 0x10
mov edx, str.AUTOREBOOT
call fcn.0042ba10
test al, al
je 0x403087
mov dword [esi], 1
cmp dword [esi + 0x44], 0
je 0x4030a2
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push eax
push str.GetEnableWER____Old_Error_Mode_is_0x_X
push 0x133
jmp 0x4030b8
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push eax
push str.Old_Error_Mode_is_0x_X
push 0x13c
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800040
mov ecx, edi
call fcn.0041f0d0
mov ebx, dword [0x4b323c]
add esp, 0x10
push 8
pop esi
cmp dword [0x4b3250], esi
jae 0x4030e5
mov ebx, 0x4b323c
lea ecx, [ebp - 0x2c]
call fcn.0042aae0
lea eax, [ebp - 0x2c]
push 0
push eax
mov byte [ebp - 4], 3
call fcn.00425d30
pop ecx
test eax, eax
mov eax, dword [ebp - 0x28]
pop ecx
jne 0x403151
cmp dword [ebp - 0x14], esi
jae 0x40310d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__lu_CreateDirectoryRecursive__S
push 0x142
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, edi
call fcn.0041f0d0
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004019bb
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.004019bb
jmp 0x402ec4
cmp dword [ebp - 0x14], esi
jae 0x403159
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403186
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x403172
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__lu_verify_output_folder__S
push 0x147
jmp 0x40311f
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004019bb
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.004019bb
mov eax, ebx
and eax, 0x10
call fcn.00458ee0
ret 4