Function at 0x40bbd0
Capabilities:
Check if file exists
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4c84
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
call fcn.004067c0
lea esi, [edi + 0x120]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.CMainDlg.0
mov dword [ebp - 0x21c], esi
call fcn.004067c0
mov dword [esi], vtable.CNsTips.0
call fcn.0040a260
mov ecx, eax
test ecx, ecx
je 0x40bf58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xfc], eax
mov dword [esi + 0x108], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0xdc], 0xec55
mov word [esi + 0x10c], 0
mov dword [esi + 0xc0], 0
mov byte [esi + 0x10e], 1
mov dword [esi], vtable.CNsTips2.0
mov byte [ebp - 4], 1
call fcn.0040a260
mov ecx, eax
test ecx, ecx
je 0x40bf62
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x23c], eax
lea ecx, [edi + 0x270]
mov byte [ebp - 4], 2
call sym.Install_adv.exe_public:_void___thiscall_CNsInstaller::constructor_void_
mov byte [ebp - 4], 3
mov dword [edi + 0xc0], 0x1e
mov dword [edi + 0x60], 0x6b
call sym.Install_adv.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
push 0x6b
push dword [eax]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0xfc], eax
mov byte [edi + 0x248], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov byte [edi + 0x11c], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x260], 0
mov dword [edi + 0x264], 0
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsFont::isSupportYaHei_void_
neg eax
push 0
sbb eax, eax
push 0
and eax, 0xfffffffe
add eax, 2
push 0
push 0
mov dword [edi + 0x238], eax
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
add eax, 2
push eax
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
push 0
push 0
push 1
push 0
mov dword [edi + 0x268], eax
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
add eax, 2
push eax
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
push 0
push 0
push 1
push 0
mov dword [edi + 0x230], eax
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
lea eax, [eax + eax*2]
push eax
call sym.Install_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
push 0x208
mov dword [edi + 0x234], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [edi + 0x244], 0
mov dword [edi + 0x240], 0
call fcn.004307d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040a260
mov ecx, eax
test ecx, ecx
je 0x40bf6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409550
test al, al
jne 0x40be72
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40be50
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409700
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x21c]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x40bf76
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x40beaa
push ebx
lea ecx, [ebp - 0x21c]
call fcn.00409980
mov esi, dword [ebp - 0x21c]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004365dc
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x40bf76
push 0x4c22ec
xor eax, eax
mov dword [esi - 0xc], ebx
push 0x4c22f4
lea ecx, [ebp - 0x21c]
mov word [esi + ebx*2], ax
call fcn.0040db10
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bef2
push esi
jmp 0x40bef9
lea eax, [ebp - 0x218]
push eax
call sym.Install_adv.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
test edx, edx
jg 0x40bf17
jl 0x40bf0e
cmp eax, 0x12c00000
jae 0x40bf17
mov byte [edi + 0x258], 0
jmp 0x40bf1e
mov byte [edi + 0x258], 1
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40bf3a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040a360
push 0x80004005
call fcn.0040a360
push 0x80004005
call fcn.0040a360
push 0x80070057
call fcn.0040a360
int3