Function at 0x406bd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448252
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push esi
mov dword [ebp - 0x21c], esi
call fcn.004029b0
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x138]
mov dword [esi], vtable.CMainDlg.0
call sym.Install_ring.exe_public:_void___thiscall_CNsInstaller::constructor_void_
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 0x1860], eax
mov ebx, 2
mov byte [ebp - 4], bl
test byte [0x45bfc0], 1
mov dword [esi + 0xc0], 0x1e
mov dword [esi + 0x60], 0x6b
jne 0x406c7b
or dword [0x45bfc0], 1
mov ecx, 0x45bfc8
call sym.Install_ring.exe_public:_void___thiscall_CNsApp::constructor_void_
push 0x4483f0
call fcn.00417acc
add esp, 4
movzx eax, word [esi + 0x60]
mov ecx, dword [0x45bfc8]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
test byte [0x45c378], 1
fldz
mov dword [esi + 0x100], eax
fstp dword [esi + 0x12c]
mov word [esi + 0x120], 0
mov dword [esi + 0x124], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x186c], edi
jne 0x406cea
or dword [0x45c378], 1
mov ecx, 0x45c37c
mov byte [ebp - 4], 3
call sym.Install_ring.exe_public:_void___thiscall_CNsFont::constructor_void_
push 0x448400
call fcn.00417acc
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x45c37c
call sym.Install_ring.exe_public:_int___thiscall_CNsFont::isSupportYaHei_void_
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, ebx
test byte [0x45c378], 1
mov dword [esi + 0x11c], eax
jne 0x406d5f
or dword [0x45c378], 1
mov ecx, 0x45c37c
mov byte [ebp - 4], 4
call sym.Install_ring.exe_public:_void___thiscall_CNsFont::constructor_void_
push 0x448400
call fcn.00417acc
add esp, 4
mov byte [ebp - 4], bl
test byte [0x45c378], 1
jne 0x406d5f
or dword [0x45c378], 1
mov ecx, 0x45c37c
mov byte [ebp - 4], 5
call sym.Install_ring.exe_public:_void___thiscall_CNsFont::constructor_void_
push 0x448400
call fcn.00417acc
add esp, 4
mov byte [ebp - 4], bl
push edi
push edi
push 1
push edi
mov ecx, 0x45c37c
call sym.Install_ring.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
add eax, ebx
push eax
mov ecx, 0x45c37c
call sym.Install_ring.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
push 0x206
mov dword [esi + 0x104], eax
lea eax, [ebp - 0x216]
xor edx, edx
push edi
push eax
mov dword [esi + 0x1868], edi
mov word [ebp - 0x218], dx
call fcn.004188a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call sym.Install_ring.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
cmp edx, edi
jg 0x406ddd
jl 0x406dd4
cmp eax, 0x1e00000
jae 0x406ddd
mov byte [esi + 0x1864], 0
jmp 0x406de4
mov byte [esi + 0x1864], 1
test byte [0x45c378], 1
jne 0x406e40
or dword [0x45c378], 1
mov ecx, 0x45c37c
mov byte [ebp - 4], 6
call sym.Install_ring.exe_public:_void___thiscall_CNsFont::constructor_void_
push 0x448400
call fcn.00417acc
add esp, 4
mov byte [ebp - 4], bl
test byte [0x45c378], 1
jne 0x406e40
or dword [0x45c378], 1
mov ecx, 0x45c37c
mov byte [ebp - 4], 7
call sym.Install_ring.exe_public:_void___thiscall_CNsFont::constructor_void_
push 0x448400
call fcn.00417acc
add esp, 4
mov byte [ebp - 4], bl
push edi
push edi
push edi
push edi
mov ecx, 0x45c37c
call sym.Install_ring.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
add eax, ebx
push eax
mov ecx, 0x45c37c
call sym.Install_ring.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
mov dword [esi + 0x118], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret