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

Disassembly:
push 0xffffffffffffffff
push 0x6798a2d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x1c
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_operatornew
mov ebx, dword [esp + 0x44]
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
push ebx
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CDC::SelectObject
push 0x540
mov dword [esp + 0x1c], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], 1
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esi], ecx
mov ecx, dword [esp + 0x54]
add edi, 0x60
add esp, 4
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 8]
push 0
push edx
mov ecx, edi
call fcn.678fbf80
mov dword [eax + 8], esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x678cab6f
mov dword [ecx], eax
jmp 0x678cab72
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
cmp ebx, dword [eax + 0x5c]
jne 0x678cab8c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], edx
mov eax, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 4]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cabca
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8], edx
inc edi
mov dword [ecx + edi*8 - 4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 1]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cabfd
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 1]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
inc ecx
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], eax
jne 0x678cab9e
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 1]
mov dword [esp + 0x40], eax
mov eax, 1
sub eax, ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 2]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cac5a
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 2]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 3]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cac8d
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 3]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
inc eax
add ecx, eax
mov dword [esp + 0x40], eax
cmp ecx, 0xb
jl 0x678cac27
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 2]
mov dword [esp + 0x40], eax
mov eax, 2
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp + 4]
push ebx
add eax, 4
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cace9
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x40]
add eax, 4
mov dword [edx + edi*8], eax
inc edi
mov dword [edx + edi*8 - 4], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp + 4]
push ebx
add eax, 5
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cad1b
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x40]
add eax, 5
mov dword [edx + edi*8], eax
inc edi
mov dword [edx + edi*8 - 4], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
inc eax
add edx, eax
mov dword [esp + 0x40], eax
cmp edx, 0xd
jl 0x678cacb7
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 3]
mov dword [esp + 0x40], eax
mov eax, 3
sub eax, ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 6]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cad78
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 6]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 7]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cadab
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 7]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 8]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cadde
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 8]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
inc eax
add ecx, eax
mov dword [esp + 0x40], eax
cmp ecx, 0xf
jl 0x678cad45
mov edx, dword [esp + 0x3c]
lea eax, [edx - 2]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 4]
push ebx
push eax
lea eax, [ecx + 9]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cae34
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 9]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 0xa]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678cae67
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 0xa]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x40], eax
add eax, ecx
cmp eax, 0xd
jl 0x678cae01
mov edx, dword [esp + 0x3c]
lea eax, [edx - 1]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 4]
push ebx
push eax
lea eax, [ecx + 0xb]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678caeb9
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 0xb]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
push ecx
lea eax, [edx + 0xc]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678caeec
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x14]
inc edi
lea eax, [edx + 0xc]
mov dword [ecx + edi*8 - 8], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*8 - 4], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x40], eax
add eax, ecx
cmp eax, 0xb
jl 0x678cae86
mov edx, dword [esp + 0x38]
lea eax, [edi*8]
add edx, 0xd
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push ebx
lea edi, [edx + ecx]
mov ecx, dword [ebp + 4]
push edi
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
test esi, esi
je 0x678caf59
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x14]
mov edx, eax
add edx, ecx
mov ecx, dword [esp + 0x10]
add eax, 8
mov dword [edx], ecx
mov dword [esp + 0x34], eax
mov dword [edx + 4], edi
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 9
mov dword [esp + 0x40], eax
jl 0x678caf1e
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x1c], 0x67995a18
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x20