Function at 0x476380
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x174
push ebp
mov ebp, dword [esp + 0x180]
push edi
mov edi, dword [esp + 0x180]
push 0
push ebp
push 0x396
push edi
push 0
push 0
push 0
push 0
push 0x5080100d
push 0x5167f8
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x51802c], eax
je 0x476700
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0
push 0
push 0x1037
push eax
mov dword [0x52892c], eax
call ebx
or eax, 0x431
push eax
mov eax, dword [0x51802c]
push 0
push 0x1036
push eax
call ebx
mov ecx, dword [0x528944]
mov edx, dword [0x51802c]
push ecx
push 0
push 0x1001
push edx
call ebx
mov eax, dword [0x528944]
mov ecx, dword [0x51802c]
push eax
push 0
push 0x1026
push ecx
call ebx
mov edx, dword [0x528940]
mov eax, dword [0x51802c]
push edx
push 0
push 0x1024
push eax
call ebx
lea ecx, [esp + 0x80]
push 0x104
push ecx
push 0
mov dword [0x528984], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x80]
push str.screen.bmp
lea ecx, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0x2010
push 0
push 0
lea edx, [esp + 0x8c]
push 0
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x528948
mov dword [0x528984], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
test eax, eax
mov dword [0x52893c], eax
je 0x4764c5
push 1
push eax
mov eax, dword [0x51802c]
push 0x30
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x518024]
mov eax, dword [esp + 0x14]
sub edx, ecx
sub edx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [0x51802c]
push 1
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push 0
push 0x108
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x51802c]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push edx
call esi
push 1
push 0
push edi
call esi
xor esi, esi
mov eax, 0x524488
mov dword [0x5289ec], esi
mov dword [0x5289c8], esi
cmp dword [eax], 0xa
jae 0x47653d
mov dword [eax], 0x50
add eax, 4
cmp eax, 0x5244a8
jl 0x476532
mov dword [esp + 0x20], 0xf
mov edx, dword [0x517ff4]
lea eax, [esp + 0x40]
push 0x40
lea ecx, [esi + 0x7e4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp esi, 4
je 0x47657c
cmp esi, 6
mov dword [esp + 0x24], 0
jne 0x476584
mov dword [esp + 0x24], 1
mov eax, dword [esi*4 + 0x524488]
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [0x51802c]
push edx
push esi
lea ecx, [esp + 0x48]
push 0x101b
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], esi
call ebx
inc esi
cmp esi, 8
jl 0x47654f
mov ecx, dword [0x51802c]
push 0x5244a8
push 8
push 0x103a
push ecx
call ebx
push ebp
push edi
mov dword [0x518030], 1
call fcn.004762b0
push ebp
push edi
call fcn.00472b70
add esp, 0x10
push 0
push 4
push 8
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x67
push ebp
mov dword [0x528934], eax
call esi
mov edx, dword [0x528934]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
push edx
call edi
push 0x66
push ebp
call esi
push eax
mov eax, dword [0x528934]
push 0xffffffffffffffff
push eax
call edi
push 0x15b
push ebp
call esi
mov ecx, dword [0x528934]
push eax
push 0xffffffffffffffff
push ecx
call edi
push 0x15d
push ebp
call esi
mov edx, dword [0x528934]
push eax
push 0xffffffffffffffff
push edx
call edi
push 0x153
push ebp
call esi
push eax
mov eax, dword [0x528934]
push 0xffffffffffffffff
push eax
call edi
push 0x154
push ebp
call esi
mov ecx, dword [0x528934]
push eax
push 0xffffffffffffffff
push ecx
call edi
push 0x167
push ebp
call esi
mov edx, dword [0x528934]
push eax
push 0xffffffffffffffff
push edx
call edi
push 0x166
push ebp
call esi
push eax
mov eax, dword [0x528934]
push 0xffffffffffffffff
push eax
call edi
mov ecx, dword [0x528934]
mov edx, dword [0x51802c]
push ecx
push 1
push 0x1003
push edx
mov dword [0x5289f4], 0
call ebx
call fcn.00475160
call fcn.00475a20
call fcn.00449920
mov eax, dword [0x524470]
pop esi
test eax, eax
pop ebx
je 0x4766f9
mov ecx, dword [0x524474]
test ecx, ecx
je 0x4766f9
push 6
push ecx
push eax
mov eax, dword [esp + 0x18c]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x5244c8], 1
pop edi
pop ebp
add esp, 0x174
ret