Function at 0x410950
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0x1109
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.004a4385
lea edi, [esi + 0x68]
mov ecx, edi
call fcn.004a4344
mov ecx, edi
call fcn.004a4370
push 9
push 9
push 0x21
push 0x10
push 0x10
mov ecx, edi
call fcn.004a467b
mov eax, dword [esi + 0x6c]
push 0xffffff
push eax
call fcn.00497c4f
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.004103b0
mov eax, dword [esi + 0x6c]
push 0xffffff
push 0
push eax
call fcn.00497c4f
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410510
mov dword [esi + 0x64], eax
call fcn.00497c4f
mov ecx, dword [0x7c5140]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
mov ebx, dword [eax*4 + 0x581b50]
call fcn.00497c4f
mov eax, dword [eax + 0xc]
movzx ecx, bx
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push ecx
push eax
call ebx
mov ebp, eax
call fcn.00497c4f
mov ecx, dword [0x7c5140]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
mov eax, dword [edx*4 + 0x581b54]
mov dword [esp + 0x14], eax
call fcn.00497c4f
movzx ecx, word [esp + 0x14]
mov eax, dword [eax + 0xc]
push ecx
push eax
call ebx
mov dword [esp + 0x10], eax
call fcn.00497c4f
mov ecx, dword [0x7c5140]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
mov eax, dword [edx*4 + 0x581b58]
mov dword [esp + 0x14], eax
call fcn.00497c4f
movzx ecx, word [esp + 0x14]
mov eax, dword [eax + 0xc]
push ecx
push eax
call ebx
mov dword [esp + 0x14], eax
call fcn.00497c4f
mov ecx, dword [0x7c5140]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
mov eax, dword [edx*4 + 0x581b5c]
mov dword [esp + 0x18], eax
call fcn.00497c4f
movzx ecx, word [esp + 0x18]
mov eax, dword [eax + 0xc]
push ecx
push eax
call ebx
push ebp
mov ebx, eax
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push eax
call fcn.00497c4f
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410260
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push eax
call fcn.00497c4f
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410260
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push eax
call fcn.00497c4f
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410260
push ebx
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push eax
call fcn.00497c4f
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00410260
mov dword [esi + 0x5c], eax
test edi, edi
jne 0x410b33
xor eax, eax
jmp 0x410b36
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x1109
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.004a4385
mov dword [esi + 0x340], eax
test edi, edi
je 0x410b5b
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x20]
push edi
push 1
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.004a4385
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x344], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
push ebp
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret