Function at 0x41ba40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x427ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call sub.MFC42u.DLL_CDC::CDC
mov eax, 0x428c38
mov dword [esp + 0x60], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x60], 2
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0041c070
push 0x86
push 2
push 0x86
call sub.MFC42u.DLL_AfxFindResourceHandle
push eax
call dword [0x428638]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x70]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CListCtrl::GetCheck
mov ecx, dword [esp + 0x14]
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x18
push ecx
call dword [0x428038]
mov ebx, dword [esp + 0x68]
cmp ebx, edi
jne 0x41bb2a
xor eax, eax
jmp 0x41bb2d
mov eax, dword [ebx + 4]
push eax
call dword [0x428030]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CDC::Attach
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov esi, dword [esi + 0x44]
mov dword [esp + 0x6c], eax
cmp esi, 0xffffffff
je 0x41bb70
cmp esi, dword [esp + 0x70]
jne 0x41bb70
mov esi, 1
jmp 0x41bb72
xor esi, esi
mov ecx, dword [esp + 0x44]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
lea ecx, [esi + ebp*4]
mov ebp, dword [esp + 0x34]
shr eax, 0x1f
add edx, eax
lea eax, [esp + 0x30]
imul ecx, edx
neg eax
sbb eax, eax
and eax, ebp
cmp ebx, edi
jne 0x41bba2
xor ebx, ebx
jmp 0x41bba5
mov ebx, dword [ebx + 4]
mov esi, dword [esp + 0x48]
push 0xffffff
push esi
push edx
push edi
push ecx
mov ecx, dword [esp + 0x38]
push eax
push esi
push edx
mov edx, dword [esp + 0x40]
push ecx
push edx
push ebx
call dword [0x428488]
mov eax, dword [esp + 0x6c]
cmp eax, edi
jne 0x41bbd2
xor eax, eax
jmp 0x41bbd5
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x38]
push eax
call sub.MFC42u.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CDC::DeleteDC
mov edi, 0x428c4c
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 3
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov esi, 0x4288f8
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 4
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp + 0x60], 0xffffffff
call fcn.0041ef50
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0x14