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

Disassembly:
push 0xffffffffffffffff
push 0x4a4f62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
xor ebp, ebp
mov edi, 0x10
push ebp
mov dword [esp + 0x1c], ebx
mov dword [ebx], 0x28
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov word [ebx + 0xc], 1
mov word [ebx + 0xe], di
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
lea ecx, [esp + 0x30]
push ebp
push ecx
push 1
push ebx
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 8
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x4335b5
mov dword [eax + 4], ebp
mov dword [eax], 0x4b3344
mov dword [esp + 0x14], eax
jmp 0x4335b9
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x14]
push esi
call sub.MFC42.DLL_CGdiObject::Attach
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov dword [esp + 0x58], ebp
je 0x4335e3
mov ecx, eax
call sub.MFC42.DLL_CDC::CDC
mov esi, eax
jmp 0x4335e5
xor esi, esi
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x433605
xor eax, eax
jmp 0x433608
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
push edi
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp eax, ebp
je 0x433628
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], 0x4b336c
push 0xffffff
mov dword [esp + 0x5c], 1
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x40]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov byte [esp + 0x58], 2
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], edi
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebp
je 0x4336e4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4336e6
xor eax, eax
cmp byte [eax + 0x18c], 1
jne 0x433737
push 0x4d5344
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
mov byte [esp + 0x58], 3
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
cmp edi, 8
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
jne 0x433743
push 4
jmp 0x433744
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x1c]
mov ecx, 0x40
lea edi, [eax + 0xc]
xor eax, eax
mov dword [esp + 0x60], edi
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebp
je 0x43376f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x433771
xor eax, eax
mov cl, byte [eax + 0x18c]
mov eax, 0x10
cmp cl, 1
je 0x433785
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [esp + 0x24]
cmp eax, 8
setle cl
dec ecx
xor eax, eax
and ecx, 8
add ecx, 8
cmp edx, 8
setle al
dec eax
mov dword [esp + 0x30], ecx
and eax, 8
add eax, 8
cmp ecx, 0x10
mov dword [esp + 0x34], eax
jne 0x433822
test eax, eax
jle 0x433880
mov eax, dword [esp + 0x1c]
add eax, 0xd
mov dword [esp + 0x64], eax
xor ebx, ebx
xor edi, edi
mov ecx, dword [esi + 4]
push ebp
push edi
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xffffff
jne 0x4337e2
shl ebx, 1
jmp 0x4337e7
add ebx, ebx
or ebx, 1
inc edi
cmp edi, 0x10
jl 0x4337cb
mov eax, dword [esp + 0x64]
xor edx, edx
mov dl, bh
and ebx, 0xffff
and ebx, 0x800000ff
mov byte [eax - 1], dl
jns 0x43380e
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [eax], bl
add eax, 2
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x4337c7
jmp 0x43387c
xor ebx, ebx
test eax, eax
jle 0x43387c
mov ebp, dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [esp + 0x30]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x64], edi
jle 0x43386c
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call ebp
cmp eax, 0xffffff
jne 0x433851
shl dword [esp + 0x64], 1
jmp 0x43385f
mov ecx, dword [esp + 0x64]
lea edx, [ecx + ecx]
or edx, 1
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jl 0x43383c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
mov dl, byte [esp + 0x64]
mov byte [ecx + ebx], dl
inc ebx
cmp ebx, eax
jl 0x43382e
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x43388d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43389c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
cmp eax, 8
pop ebx
mov byte [esp + 0x48], 1
lea ecx, [esp]
jle 0x4338f7
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x28], 0x4b3330
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x28], 0x4b3330
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x40]
xor al, al
mov dword fs:[0], ecx
add esp, 0x4c
ret 8