Function at 0x41dc80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42c250
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
cmp dword [ebx + 0x84], 6
jle 0x41dccb
push ebp
push esi
push edi
push 0x808080
push 1
push 0
lea ecx, [esp + 0x28]
call sub.mfc42.dll_CPen::CPen
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x60], 0
call sub.mfc42.dll_CDC::SelectObject
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.user32.dll_GetClientRect]
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call sub.mfc42.dll_CDC::IntersectClipRect
mov ecx, dword [ebx + 0xd8]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x90]
sub edx, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0xdc]
sub ecx, edx
test eax, eax
mov dword [esp + 0x50], ecx
je 0x41da22
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov eax, 0x1e
add edi, 0x18
add edx, eax
sub ecx, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.0041f440
mov ecx, dword [eax]
mov edi, dword [ebx + 0x84]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov eax, edi
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x48]
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x3c], ebp
sub ebp, edi
test eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], 0
jl 0x41dabe
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
push ebp
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
push ebp
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x34]
sub ebp, edi
cmp ebp, eax
jl 0x41dabe
mov eax, dword [esp + 0x64]
mov ecx, dword [ebx + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jle 0x41da85
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
lea ebp, [eax + edi]
mov ecx, esi
push ebp
push edx
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esp + 0x40]
mov ecx, esi
push eax
push ebp
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
add eax, edi
sub ecx, edi
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
test eax, eax
lea ebp, [ecx + ebp - 1]
mov dword [esp + 0x64], 0
jl 0x41db58
mov edx, dword [esp + 0x34]
push ebp
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x40]
add ebp, edi
cmp ebp, eax
jg 0x41db58
mov eax, dword [esp + 0x64]
mov ecx, dword [ebx + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jle 0x41db1f
mov edx, dword [esi]
push 7
mov ecx, esi
call dword [edx + 0x2c]
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::DeleteObject
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x88]
test edx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
jne 0x41dc3f
add ecx, edi
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x68], ecx
push ecx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
push ecx
push edx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x38]
sub ebp, edi
push eax
lea ecx, [esp + 0x30]
push ebp
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
push ebp
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [ebx + 0x6c]
sub ebp, edi
xor eax, eax
test ecx, ecx
mov dword [esp + 0x64], eax
jle 0x41dc37
mov ecx, dword [esp + 0x24]
add ecx, eax
and ecx, 0x80000001
jns 0x41dbfc
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x41dc21
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x2c]
push edx
push ebp
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x40]
push ecx
push ebp
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
sub ebp, edi
cmp ebp, ecx
jl 0x41dc37
mov ecx, dword [ebx + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x41dbe9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
lea ebp, [edi + eax - 1]
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], 0
jl 0x41dca3
mov edx, dword [esp + 0x34]
push ebp
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
mov ecx, esi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esp + 0x40]
add ebp, edi
cmp ebp, eax
jg 0x41dca3
mov eax, dword [esp + 0x64]
mov ecx, dword [ebx + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jle 0x41dc6a
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
call sub.mfc42.dll_CDC::SelectObject
mov dword [esp + 0x1c], 0x42ecd8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 1
call sub.mfc42.dll_CGdiObject::DeleteObject
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x48]
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4