Function at 0x41ebd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
cmp eax, 1
push esi
push edi
jne 0x41e891
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 2
jne 0x41e8c8
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 3
jne 0x41ec12
mov eax, dword [ecx + 0x84]
cmp eax, 4
je 0x41ebb7
cmp eax, 6
je 0x41ebb7
cmp eax, 8
jne 0x41e94b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
sub edx, 2
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
dec eax
inc ecx
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
dec eax
add ecx, 3
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0xa
jne 0x41e9b0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
inc edx
sub eax, 3
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
dec ecx
inc edx
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 2
add edx, 4
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0xc
jne 0x41ea17
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, 2
sub ecx, 4
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
dec edx
inc eax
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 3
add eax, 5
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0xe
jne 0x41ea7e
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, 2
sub edx, 5
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
dec eax
inc ecx
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 3
add ecx, 6
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0x10
jne 0x41eae5
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
add edx, 3
sub eax, 6
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
dec ecx
inc edx
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 4
add edx, 7
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0x12
jne 0x41eb4c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, 3
sub ecx, 7
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
dec edx
inc eax
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 4
add eax, 8
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0x14
jne 0x41efc3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, 4
sub edx, 8
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
dec eax
inc ecx
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 5
add ecx, 9
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
dec eax
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
dec ecx
inc edx
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
dec ecx
add edx, 2
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 4
jne 0x41ec48
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 5
jne 0x41ec81
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
inc eax
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
inc eax
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 6
jne 0x41efc3
mov eax, dword [ecx + 0x84]
cmp eax, 4
je 0x41ef70
cmp eax, 6
je 0x41ef70
cmp eax, 8
jne 0x41ed04
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
inc edx
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi]
mov ecx, dword [esi + 4]
add edx, 3
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
dec eax
lea edx, [esp + 8]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
dec eax
sub ecx, 2
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0xa
jne 0x41ed69
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
inc eax
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 4]
mov eax, dword [esi]
inc edx
add eax, 4
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
dec ecx
lea eax, [esp + 8]
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, 2
sub edx, 3
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0xc
jne 0x41edd0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 8]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
inc ecx
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 2
add ecx, 5
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
dec edx
lea ecx, [esp + 8]
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub edx, 3
sub eax, 4
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0xe
jne 0x41ee37
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
inc edx
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 2
add edx, 6
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
dec eax
lea edx, [esp + 8]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 3
sub ecx, 5
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0x10
jne 0x41ee9e
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
inc eax
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 4]
mov eax, dword [esi]
add edx, 3
add eax, 7
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
dec ecx
lea eax, [esp + 8]
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, 3
sub edx, 6
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0x12
jne 0x41ef05
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 8]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
inc ecx
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 3
add ecx, 8
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
dec edx
lea ecx, [esp + 8]
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub edx, 4
sub eax, 7
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
cmp eax, 0x14
jne 0x41efc3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
inc edx
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
add edx, 9
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
dec eax
lea edx, [esp + 8]
push eax
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 5
sub ecx, 8
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
inc eax
push edx
push eax
push ecx
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov eax, dword [esi]
mov edx, dword [esi + 4]
add eax, 2
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
dec ecx
lea eax, [esp + 8]
push ecx
push edx
push eax
mov ecx, edi
call sub.mfc42.dll_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
dec ecx
dec edx
push ecx
push edx
mov ecx, edi
call sub.mfc42.dll_CDC::LineTo
pop edi
pop esi
add esp, 8
ret 0xc