Function at 0x419754
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 8], eax
xor eax, eax
xor esi, esi
mov dword [esp + 0x28], esi
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x18], esi
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x10], esi
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
lea edi, [ebx + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x10
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebx + 0x64], esi
jne 0x41990d
push dword [ebp + 8]
mov eax, ebx
call fcn.00419a6d
test al, al
jne 0x4197d1
xor eax, eax
jmp 0x4199f3
push 0x17
push dword [0x440724]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [edi]
call esi
push 0
push 0
push 0x31
push dword [edi]
call esi
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push str.Bridgepoint_Private_Equity_Ltd
pop dword [ebx + 0x78]
mov esi, dword [ebx + 0x78]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x3026
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x41990d
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
call fcn.00403ed3
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0xf
mov ecx, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub dword [esp + 0x1c], eax
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea eax, [eax + ecx + 0xa]
push ecx
mov dword [esp + 0x24], eax
mov eax, esp
and dword [eax], 0
push dword [ebx + 0x78]
lea esi, [ebx + 0x4a4]
push ecx
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [eax], ecx
push dword [edi]
mov eax, esi
call fcn.0041a079
test eax, eax
je 0x41990d
or dword [esi + 0x54], 2
push 0
push 0
push 0x31
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00419296
push str.www.bpefx.com
nop
lea esi, [ebx + 0x4a4]
call fcn.00408307
mov eax, dword [ebx + 0x78]
push eax
lea esi, [ebx + 0x518]
mov dword [esp + 0x10], eax
call fcn.0040adba
push dword [esp + 0xc]
lea eax, [ebx + 0x4a4]
call fcn.0041948b
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call esi
push 0x11
mov dword [ebx + 0x50c], eax
call esi
push eax
push 0x11
call esi
mov ecx, eax
lea eax, [ebx + 0x4a4]
call fcn.004082bd
push dword [ebx + 0x64]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x3027
push dword [edi]
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4199d8
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
call fcn.00403ed3
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
lea esi, [esp + 0x18]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x70]
sub eax, esi
sub eax, dword [esp + 0x18]
push dword [ebx + 0x68]
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
mov esi, dword [ebx + 0x6c]
mov eax, ecx
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push 0
push 0
push dword [esp + 0x14]
push dword [ebx + 0x6c]
push dword [ebx + 0x70]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4