Function at 0x100018e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10056da8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10072650]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.10008f77
lea edx, [esp + 0x44]
mov esi, eax
mov eax, dword [edi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
sub edi, dword [esp + 0x44]
sub ebx, dword [esp + 0x48]
call fcn.1000ab19
call fcn.1000ab19
mov eax, dword [eax + 0xc]
push 1
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x10001b82
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], vtable.CBitmap.0
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x30]
call fcn.10009236
test eax, eax
je 0x100019d9
lea ecx, [esp + 0x54]
call fcn.1000899b
mov byte [esp + 0x70], 1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x58]
call fcn.10008f85
test eax, eax
jne 0x100019ee
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0
call fcn.10008fe9
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x2c], vtable.CGdiObject.0
jmp 0x10001b79
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call fcn.10009304
test eax, eax
je 0x100019cb
mov eax, dword [esi + 4]
push 0xcc0020
lea ecx, [ebx - 8]
push ecx
lea edx, [edi - 8]
push edx
push 2
push 2
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
push edx
push eax
push 0
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x7c]
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
push edx
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_DrawIcon]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], vtable.CPen.0
push 7
mov byte [esp + 0x74], 2
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.10009357
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], eax
lea eax, [ebx - 4]
push eax
lea ecx, [edi - 4]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10001aa6
push eax
mov ecx, esi
call fcn.10009357
push 3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], vtable.CBrush.0
call dword [sym.imp.GDI32.dll_GetStockObject]
push ebx
push edi
mov dword [esp + 0x40], eax
push 4
lea eax, [edi - 4]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.10001360
mov eax, dword [esp + 0x20]
push ebx
push edi
push eax
push 4
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.10001360
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push 0
push 0
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push 2
push 2
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.10009289
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
call fcn.10009289
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0
call fcn.10008fe9
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
call fcn.10009289
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4