Function at 0x4192e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6381c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6eed24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x44]
mov esi, dword [0x6f54ec]
mov dword [ebp - 4], 0
test eax, eax
je 0x419330
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test eax, eax
je 0x419330
mov dword [ebx + 0x44], 0
push 1
push 0
push 0x21
push esi
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xd3
mov dword [ebx + 0x44], eax
push dword [0x6f8c64]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
push esi
push 0xffffffffffffffff
push dword [ebx + 0x44]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
neg eax
push 0x6f53f8
sbb edi, edi
not edi
and edi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x6f50d0
call fcn.0043d350
xor esi, esi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4195ab
xor edi, edi
lea esp, [esp]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push esi
mov ecx, 0x6f50d0
call fcn.0043d280
test al, al
je 0x419589
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x4193ce
jmp 0x41959a
mov eax, dword [ecx + 0xa4]
shr eax, 8
test al, 1
jne 0x4193f6
test dword [0x6f50f8], 0x400
jne 0x4193f6
mov eax, dword [ecx]
push ecx
mov byte [ebp - 4], 3
call dword [eax + 8]
jmp 0x41959a
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x41940a
mov byte [ebp - 4], 4
jmp 0x41958d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0x436f6d70
jne 0x419422
mov byte [ebp - 4], 5
jmp 0x41958d
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], 0
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x419496
mov eax, 0x649aa0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 0
call fcn.00439cd0
test eax, eax
je 0x4194bc
push eax
push 0xffffffffffffffff
push dword [ebx + 0x44]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
test eax, eax
js 0x4194bc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x104d
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 6
cmp dword [ecx + 0xb0], 0
jne 0x419533
cmp dword [ecx + 0xac], 1
je 0x41952a
cmp dword [ecx + 0xb4], 0
jne 0x419533
cmp dword [ecx + 0xb8], 0
jne 0x419533
cmp dword [ecx + 0xbc], 0
jne 0x419533
mov dword [ebp - 0x50], 0x64ef10
jmp 0x41954b
lea eax, [ebp - 0x28]
push eax
call fcn.00439d40
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x419548
mov eax, 0x649aa0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x104c
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 7
test eax, eax
je 0x419574
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41959a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov byte [ebp - 4], 0
cmp esi, dword [ebp - 0x14]
jb 0x4193a0
mov edi, dword [ebp - 0x18]
push 0x6f53f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0x44]
push 1
push 0x1003
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x4195d4
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret