Function at 0x4ab660
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545556
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x8c], ebx
xor esi, esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 4], esi
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4ab6b6
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x94], edi
mov eax, dword [ebx + 0x4bd4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x3a79c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x3b1bc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x3d29c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x3fda4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x3ffa8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x401ac]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x3f81c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x3fb24]
lea ebx, [ebp - 0x80]
mov dword [ebp - 0x14], eax
mov eax, 0xa
mov byte [ebp - 4], 1
mov dword [ebp - 0x88], 0x81
mov dword [ebp - 0x84], 0x81
mov dword [ebp - 0x7c], 0x82
mov dword [ebp - 0x78], 0x82
mov dword [ebp - 0x70], 0x83
mov dword [ebp - 0x6c], 0x83
mov dword [ebp - 0x64], 0x86
mov dword [ebp - 0x60], 0x86
mov dword [ebp - 0x58], 0x87
mov dword [ebp - 0x54], 0x87
mov dword [ebp - 0x4c], 0x8e
mov dword [ebp - 0x48], 0x8e
mov dword [ebp - 0x40], 0x8f
mov dword [ebp - 0x3c], 0x8f
mov dword [ebp - 0x34], 0x90
mov dword [ebp - 0x30], 0x90
mov dword [ebp - 0x28], 0x8b
mov dword [ebp - 0x24], 0x8b
mov dword [ebp - 0x1c], 0x8c
mov dword [ebp - 0x18], 0x8c
mov dword [ebp - 0x90], eax
nop
cmp dword [ebx], 0
je 0x4ab86f
mov eax, dword [ebx - 8]
movzx eax, ax
push eax
push dword [0x594b00]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
mov eax, dword [ebx - 4]
push 0
push eax
mov dword [ebp - 0x98], esi
call fcn.00404930
add esp, 8
test eax, eax
je 0x4ab80b
push dword [ebx - 4]
lea ecx, [ebp - 0x94]
push eax
call fcn.00405150
mov edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
push esi
push 0xffffffffffffffff
push dword [eax + 0x404c8]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [ebp - 0x8c]
push eax
push edi
push dword [ebx]
lea ecx, [ecx + 0x403dc]
call fcn.004a9de0
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
xor ecx, ecx
test eax, eax
mov eax, dword [ebx - 4]
cmovne esi, ecx
mov dword [ebp - 0x98], esi
cmp dword [0x5944d4], eax
jne 0x4ab869
push ecx
push ecx
mov ecx, dword [ebp - 0x8c]
push dword [ebx]
lea ecx, [ecx + 0x403dc]
call fcn.004aa7e0
mov eax, dword [ebp - 0x90]
add ebx, 0xc
sub eax, 1
mov dword [ebp - 0x90], eax
jne 0x4ab7c0
mov ebx, dword [ebp - 0x8c]
add ebx, 0x403b8
cmp byte [ebx + 0x124], 0
je 0x4ab8a2
mov dword [ebx + 0x11c], 0
jmp 0x4ab8b5
cmp dword [ebx + 0x11c], 0x20
je 0x4ab8cb
mov dword [ebx + 0x11c], 0x20
push 1
mov ecx, ebx
call fcn.004abc00
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4ab8e7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4ab8f2
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret