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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x783aefd6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x783c8018]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x782efecc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov edi, 0x782e975c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov byte [esp + 0x80], 2
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call esi
push eax
lea ecx, [esp + 0x38]
call sym.MFC80U.DLL_Ordinal_326
push 0x10
mov byte [esp + 0x84], 3
call esi
push eax
lea ecx, [esp + 0x30]
call sym.MFC80U.DLL_Ordinal_326
mov byte [esp + 0x80], 4
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call esi
push eax
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_1270
test eax, eax
je 0x783384ec
push ebx
call esi
push eax
lea ecx, [esp + 0x50]
call sym.MFC80U.DLL_Ordinal_1270
test eax, eax
je 0x783384ec
mov esi, dword [ebp + 8]
lea eax, [esp + 0x5c]
push eax
push 0x18
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp + 0xc]
call sym.MFC80U.DLL_Ordinal_1925
movzx eax, word [esp + 0x6e]
push ebx
push eax
movzx eax, word [esp + 0x74]
push eax
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [ebp + 0xc]
call fcn.78338fdb
test eax, eax
je 0x783384ec
push ebx
push 1
push 1
push dword [esp + 0x70]
push dword [esp + 0x70]
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x28]
call sym.MFC80U.DLL_Ordinal_1271
test eax, eax
je 0x783384ec
push dword [esi + 4]
push dword [esp + 0x44]
call sym.MFC80U.DLL_Ordinal_5633
push dword [esp + 0x28]
mov dword [esp + 0x18], eax
push dword [esp + 0x54]
call sym.MFC80U.DLL_Ordinal_5633
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
je 0x783384ec
cmp eax, ebx
je 0x783384ec
push ebx
push ebx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_GetPixel]
push eax
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5723
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
push dword [esp + 0x74]
push dword [esp + 0x74]
push ebx
push ebx
push dword [esp + 0x70]
call esi
mov edi, 0xffffff
push edi
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5723
push 0x1100a6
push ebx
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x74]
push dword [esp + 0x74]
push ebx
push ebx
push dword [esp + 0x70]
call esi
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x78338423
xor eax, eax
jmp 0x78338426
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call sym.MFC80U.DLL_Ordinal_5633
test eax, eax
je 0x783384c7
push dword [ebp + 0x10]
lea ecx, [esp + 0x40]
push dword [esp + 0x68]
push dword [esp + 0x68]
push ebx
push ebx
call sym.MFC80U.DLL_Ordinal_2254
push edi
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5723
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5636
mov edi, 0xe20746
push edi
push ebx
push ebx
push dword [esp + 0x5c]
mov dword [esp + 0x28], eax
push dword [esp + 0x74]
push dword [esp + 0x74]
push 1
push 1
push dword [esp + 0x60]
call esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5636
push edi
push ebx
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x74]
push dword [esp + 0x74]
push ebx
push ebx
push dword [esp + 0x60]
call esi
push dword [esp + 0x18]
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5636
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
call sym.MFC80U.DLL_Ordinal_5723
mov eax, dword [esp + 0x20]
push dword [eax + 4]
push dword [esp + 0x54]
call sym.MFC80U.DLL_Ordinal_5633
mov eax, dword [esp + 0x14]
push dword [eax + 4]
push dword [esp + 0x44]
call sym.MFC80U.DLL_Ordinal_5633
mov edi, 0x782e975c
mov byte [esp + 0x80], 3
mov esi, 0x782ed9e0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
call fcn.78319eaa
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.78319eaa
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
call fcn.78319eaa
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], bl
call sym.MFC80U.DLL_Ordinal_602
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x3c]
call sym.MFC80U.DLL_Ordinal_602
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc