Function at 0x410589
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x594cec
call fcn.00423b2c
sub esp, 0xa4
push ebx
push esi
push edi
push 2
pop ebx
mov esi, ecx
push 0x78
xor edx, edx
pop eax
mov ecx, 0x8c
push 4
mov dword [ebp - 0xac], 0x27e2
pop edi
mov dword [ebp - 0xa8], 0x96
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], 5
mov dword [ebp - 0x9c], 0x27e3
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0x27e4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0x27e5
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], 0x27e6
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], 0x27e7
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x27e8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x27e9
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x27ea
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], edx
lea edi, [ebp - 0xa8]
jmp 0x410674
xor edx, edx
mov eax, dword [0x5f2228]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x6021f0
call fcn.0056bf8b
mov ax, word [0x602940]
push eax
lea eax, [ebp - 0x1c]
push dword [edi - 4]
push eax
call fcn.00417d80
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0056c056
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0056bf1d
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x5f1bf4
push eax
call fcn.00568f1c
add esp, 0xc
call fcn.005885ac
push dword [edi]
mov eax, dword [eax + 4]
mov ecx, eax
push dword [ebp - 0x18]
push 0x5f1c50
call fcn.0058889c
push 0xffffffffffffffff
push eax
push dword [edi + 4]
lea ecx, [esi + 0x88]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00569e43
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0056bf1d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0056bf1d
inc dword [ebp - 0x10]
add edi, 0x10
cmp dword [ebp - 0x10], 9
jb 0x410672
lea ebx, [esi + 0x26c]
mov ecx, ebx
call fcn.0056a3b6
push 3
push 0
push 0x21
push 0x14
push 0x14
mov ecx, ebx
call fcn.0056a429
call fcn.005885ac
call fcn.005885ac
mov eax, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x94
push eax
call edi
test eax, eax
je 0x41077f
push eax
push 0xffffffffffffffff
push dword [esi + 0x270]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call fcn.005885ac
call fcn.005885ac
mov eax, dword [eax + 0xc]
push 0x95
push eax
call edi
test eax, eax
je 0x4107a7
push eax
push 0xffffffffffffffff
push dword [esi + 0x270]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
test ebx, ebx
je 0x4107ae
mov ebx, dword [ebx + 4]
push ebx
push 1
push 0x1003
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0056a3f6
mov eax, dword [esi + 0xc4]
lea ecx, [esi + 0xc4]
push 0x34
call dword [eax + 0x28]
push 0
lea ecx, [esi + 0x88]
mov byte [esi + 0xd7], 1
call fcn.0056f8cf
test eax, eax
je 0x4107f4
mov eax, dword [eax + 0x1c]
push eax
lea ecx, [esi + 0x1c0]
call fcn.0056f7cb
push 1
push 4
mov ecx, esi
call fcn.00410827
mov al, byte [esi + 0x78]
mov ecx, esi
push eax
push 0
call fcn.004117aa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret