Function at 0x40bc40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45292e
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp - 0x228]
call fcn.00403000
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [eax], vtable.CMainDlg.0
mov ecx, dword [ebp - 0x228]
add ecx, 0x12c
call fcn.00409a80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
add ecx, 0x270
call fcn.004062e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
add ecx, 0x2b8
call sym.Install_style.exe_public:_void___thiscall_CNsInstaller::constructor_void_
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0xc0], 0x1e
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x60], 0x6b
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 0x60]
push ecx
call fcn.00401000
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x100], eax
mov edx, dword [ebp - 0x228]
mov byte [edx + 0x27c], 0
mov eax, dword [ebp - 0x228]
mov dword [eax + 0x280], 0
mov ecx, dword [ebp - 0x228]
fldz
fstp dword [ecx + 0x284]
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x288], 0
mov eax, dword [ebp - 0x228]
mov byte [eax + 0x128], 0
mov ecx, dword [ebp - 0x228]
mov byte [ecx + 0x294], 0
call fcn.004010c0
mov ecx, eax
call sym.Install_style.exe_public:_int___thiscall_CNsFont::isSupportYaHei_void_
test eax, eax
je 0x40bd87
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x26c], 0
jmp 0x40bd97
mov eax, dword [ebp - 0x228]
mov dword [eax + 0x26c], 2
push 0
push 0
push 1
push 0
call fcn.004010c0
mov ecx, eax
call sym.Install_style.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
add eax, 2
push eax
call fcn.004010c0
mov ecx, eax
call sym.Install_style.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x264], eax
push 0
push 0
push 0
push 0
call fcn.004010c0
mov ecx, eax
call sym.Install_style.exe_public:_int___thiscall_CNsFont::GetDefaultSize_void_
imul eax, eax, 3
push eax
call fcn.004010c0
mov ecx, eax
call sym.Install_style.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 0x228]
mov dword [eax + 0x278], 0
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x274], 0
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00421340
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x21c]
push edx
call sym.Install_style.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edx
cmp dword [ebp - 0x220], 0
jg 0x40be8b
jl 0x40be7c
cmp dword [ebp - 0x224], 0x1e00000
jae 0x40be8b
mov eax, dword [ebp - 0x228]
mov byte [eax + 0x28c], 0
jmp 0x40be98
mov ecx, dword [ebp - 0x228]
mov byte [ecx + 0x28c], 1
mov ecx, dword [ebp - 0x228]
call fcn.0040c000
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret