Function at 0x2046c8e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x20481c49
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
push 0xa
push 0xff
push 0x32
lea ebx, [edi + 0x94]
call esi
push eax
push 0x31
call esi
push eax
mov ecx, ebx
call sub.MFC80U.DLL_Ordinal_1555
call sub.MFC80U.DLL_Ordinal_1079
push 0x94
push 0xe
push 0x94
call sub.MFC80U.DLL_Ordinal_1058
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x91
push 0xe
push 0x91
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov ecx, dword [eax + 0x94]
mov ecx, dword [ecx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x92
push 0xe
push 0x92
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x93
push 0xe
push 0x93
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x157
push 0xe
push 0x157
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov ecx, dword [eax + 0x94]
mov ecx, dword [ecx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x14d
push 0xe
push 0x14d
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x14e
push 0xe
push 0x14e
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x15a
push 0xe
push 0x15a
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov ecx, dword [eax + 0x94]
mov ecx, dword [ecx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x158
push 0xe
push 0x158
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x159
push 0xe
push 0x159
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x15d
push 0xe
push 0x15d
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov ecx, dword [eax + 0x94]
mov ecx, dword [ecx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x15b
push 0xe
push 0x15b
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.204353d0
call sub.MFC80U.DLL_Ordinal_1079
push 0x15c
push 0xe
push 0x15c
call sub.MFC80U.DLL_Ordinal_1058
push eax
call esi
mov ecx, dword [edi + 0x98]
push eax
push 0xffffffffffffffff
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.204353d0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [edi + 0x98]
push eax
push ecx
call sub.MFC80U.DLL_Ordinal_1079
mov ecx, dword [eax + 0x94]
mov ecx, dword [ecx]
call fcn.20427250
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_4574
test ebx, ebx
je 0x2046cc1c
mov ebx, dword [ebx + 4]
mov edx, dword [edi + 0x2e8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
push 0x1003
push edx
call ebp
push eax
call sub.MFC80U.DLL_Ordinal_2364
mov eax, dword [edi + 0x2e8]
push 0
push 0
push 0x1037
push eax
mov byte [edi + 0x7c], 0
call ebp
mov ecx, dword [edi + 0x2e8]
and eax, 0xfffffff7
or eax, 0x26
push eax
push 0
push 0x1036
push ecx
call ebp
push 0
push 0
lea edx, [esp + 0x24]
lea esi, [edi + 0x2c8]
push edx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5851
or ebx, 0xffffffff
lea ecx, [esp + 0x18]
mov byte [edi + 0x7c], 1
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x68], 0
push 0x8a
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
push 0xfd
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov eax, dword [esp + 0x18]
push ebx
push 0x64
push 0
push eax
push 0
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0xa3
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov ecx, dword [esp + 0x18]
push ebx
push 0x2d
push 0
push ecx
push 1
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0xb4
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov edx, dword [esp + 0x18]
push ebx
push 0x37
push 0
push edx
push 2
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0xa4
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
push ebx
push 0x64
push 0
mov eax, dword [esp + 0x24]
push eax
push 3
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0xfe
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov ecx, dword [esp + 0x18]
push ebx
push 0x4b
push 0
push ecx
push 4
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0xa5
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov edx, dword [esp + 0x18]
push ebx
push 0x4b
push 0
push edx
push 5
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0xa6
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov eax, dword [esp + 0x18]
push ebx
push 0x64
push 0
push eax
push 6
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0x69
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov ecx, dword [esp + 0x18]
push ebx
push 0x64
push 0
push ecx
push 7
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 0x6a
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
mov edx, dword [esp + 0x18]
push ebx
push 0x50
push 0
push edx
push 8
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3869
push 1
mov ecx, edi
mov dword [edi + 0x78], 0x64
call sub.MFC80U.DLL_Ordinal_2151
mov eax, dword [edi + 0x140]
mov edx, dword [eax + 0x13c]
lea esi, [edi + 0x140]
push 0
push edi
mov ecx, esi
call edx
mov eax, dword [edi + 0x160]
push 0x1f4
push 0
push 0x403
push eax
call ebp
mov ecx, dword [edi + 0x160]
push 0
push 1
push 0x401
push ecx
call ebp
push 0x41c
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046ce4d
push 0
push 0
push 0xbb
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1005
push 0x41d
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046ce6e
push 0
push 0
push 0xbc
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1005
push 0x41e
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046ce8f
push 0
push 0
push 0xbd
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1005
push 0x46d
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046ceb0
push 0
push 0
push 0xc0
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1005
push 0x443
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046ced1
push 0
push 0
push 0xa0
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1005
push 0x4d2
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046cef2
push 0
push 0
push 0x23a
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1005
mov edx, dword [edi + 0x160]
push 0xa0
push 0
push 0x418
push edx
call ebp
mov eax, dword [edi + 0x1b0]
mov edx, dword [eax + 0x13c]
lea esi, [edi + 0x1b0]
push 0
push edi
mov ecx, esi
call edx
mov eax, dword [edi + 0x1d0]
push 0x3e8
push 2
push 0x403
push eax
call ebp
mov ecx, dword [edi + 0x1d0]
push 0
push 3
push 0x403
push ecx
call ebp
mov edx, dword [edi + 0x1d0]
push 0
push 1
push 0x403
push edx
call ebp
mov eax, dword [edi + 0x1d0]
push 0
push 1
push 0x401
push eax
call ebp
mov ecx, dword [edi + 0x1d0]
push 0x3e8
push 0
push 0x418
push ecx
call ebp
push 0
push 0
push 0x20485878
push 0x41f
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1006
mov eax, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [edi + 0x8c], 0
call ebx
mov edx, dword [edi + 0x2e8]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_5609
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub ecx, dword [esp + 0x48]
sub edx, dword [esp + 0x2c]
mov dword [edi + 0xb8], ecx
sub edx, dword [esp + 0x44]
push 0x41c
mov ecx, edi
mov dword [edi + 0xb4], edx
call sub.MFC80U.DLL_Ordinal_2651
mov esi, eax
test esi, esi
je 0x2046d056
cmp byte [edi + 0x13c], 0
je 0x2046d01e
push 0
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_2155
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_5609
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
sub edx, dword [esp + 0x58]
mov dword [edi + 0xb0], edx
cmp byte [edi + 0x13c], 0
je 0x2046d09f
push 0
lea ecx, [edi + 0xe8]
call sub.MFC80U.DLL_Ordinal_2155
push 0
lea ecx, [edi + 0x274]
call sub.MFC80U.DLL_Ordinal_2155
push 0
lea ecx, [edi + 0x220]
call sub.MFC80U.DLL_Ordinal_2155
push 0x4d7
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046d09f
push 0
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_2155
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0x10003
mov dword [edi + 0xdc], ecx
push 0x3ee
mov ecx, edi
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], 1
lea esi, [edi + 0xc4]
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
push 0xf
push 0x41f
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
push 8
push 0x41c
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
push 8
push 0x41d
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
push 8
push 0x41e
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
push 0xa
push 0x4d2
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
push 8
push 0x4d7
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
mov ebx, eax
call fcn.2045d0a0
mov eax, dword [edi + 0xbc]
cmp byte [eax + 0x2c4], 0
push 0x4d7
mov ecx, edi
je 0x2046d198
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046d194
push 5
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_6086
push 5
jmp 0x2046d1ac
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x2046d1aa
push 0
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_6086
push 0
lea ecx, [edi + 0xe8]
call sub.MFC80U.DLL_Ordinal_6086
mov eax, dword [edi + 0xbc]
cmp byte [eax + 0x2c5], 0
push 0
je 0x2046d1d8
mov edx, dword [edi + 0x108]
push 1
push 0xf1
push edx
jmp 0x2046d1e6
mov eax, dword [edi + 0x108]
push 0
push 0xf1
push eax
call ebp
mov eax, dword [edi + 0x3b8]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
mov dword [edi + 0x448], 3
call ebx
test eax, eax
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x2046d218
mov ecx, dword [edi + 0x3b8]
push 1
push 0
push ecx
call esi
mov eax, dword [edi + 0x590]
push eax
mov dword [edi + 0x620], 3
call ebx
test eax, eax
je 0x2046d23c
mov edx, dword [edi + 0x590]
push 1
push 0
push edx
call esi
lea ecx, [edi + 0x748]
mov edx, 0x3001c
call fcn.2042d410
test eax, eax
jne 0x2046d360
cmp dword [edi + 0x748], eax
jne 0x2046d360
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x12
call esi
push 0x12
mov dword [esp + 0x20], eax
call esi
mov dword [edi + 0x440], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x444], eax
mov eax, dword [edi + 0x3b8]
push eax
call ebx
test eax, eax
je 0x2046d2a0
mov ecx, dword [edi + 0x3b8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x12
call esi
push 0x12
mov dword [esp + 0x20], eax
call esi
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x618], eax
mov eax, dword [edi + 0x590]
push eax
mov dword [edi + 0x61c], edx
call ebx
test eax, eax
je 0x2046d2da
mov eax, dword [edi + 0x590]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x3b8]
push eax
mov byte [edi + 0x428], 1
call ebx
test eax, eax
je 0x2046d301
mov eax, dword [edi + 0x3b8]
push 1
push 0
push eax
call esi
mov eax, dword [edi + 0x590]
push eax
mov byte [edi + 0x600], 1
call ebx
test eax, eax
je 0x2046d322
mov ecx, dword [edi + 0x590]
push 1
push 0
push ecx
call esi
mov eax, edi
call fcn.2046ed80
mov edx, dword [edi + 0x20]
push 0
push 0
push 5
push edx
call ebp
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x800000
mov dword [edi + 0x440], eax
mov dword [edi + 0x444], eax
mov eax, dword [edi + 0x3b8]
push eax
call ebx
test eax, eax
je 0x2046d38b
mov ecx, dword [edi + 0x3b8]
push 1
push 0
push ecx
call esi
mov eax, 0x800000
mov dword [edi + 0x618], eax
mov dword [edi + 0x61c], eax
mov eax, dword [edi + 0x590]
push eax
call ebx
test eax, eax
je 0x2046d2e0
mov edx, dword [edi + 0x590]
push 1
push 0
push edx
call esi
jmp 0x2046d2e0