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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005efe3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push dword [edi + 0x18]
call sub.mfc90u.dll_CDC::FromHandle
mov ebx, eax
add edi, 0x1c
push edi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
xor edi, edi
push edi
push 0xffffff
lea eax, [esp + 0x50]
push eax
push ebx
lea ecx, [esp + 0x68]
call sym.SACOhelper.dll_public:_void___thiscall_CXTMemDC::constructor_class_CDC___class_CRect_const___unsigned_long_int__int_
lea eax, [esi + 0x88]
push eax
mov ecx, esi
mov dword [esp + 0x9c], edi
call sub.mfc90u.dll_CWnd::GetWindowTextW
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call sym.SACOhelper.dll_public:_void___thiscall_CLauncherBigButtons::PaintBtnImages_class_CDC__
push 1
lea ecx, [esp + 0x5c]
call sub.mfc90u.dll_CDC::SetBkMode
mov al, byte [esi + 0x55]
xor ecx, ecx
test al, al
sete cl
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.CFont.0
dec ecx
and ecx, 0x12c
add ecx, 0x190
mov dword [esi + 0x9c], ecx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x9c], 1
call sym.SACOhelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::ReturnAppFont_void_
mov eax, dword [eax]
pop ecx
lea ecx, [esi + 0xa8]
movzx edx, word [eax]
inc eax
mov word [ecx], dx
inc eax
inc ecx
inc ecx
cmp dx, di
jne 0x1001d323
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x9c], edi
lea edi, [esi + 0x8c]
push edi
mov dword [edi], 0xfffffff0
call ebx
push eax
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CGdiObject::Attach
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
mov cl, byte [esi + 0x55]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
xor edx, edx
add eax, 0x38
test cl, cl
sete dl
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], 0x55
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 0x226
mov dword [esp + 0x34], 0x26
mov dword [esi + 0xe8], 0x24
dec edx
and edx, 0xffdec70c
add edx, 0x3a9600
push edx
call dword [eax]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x88]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x88]
dec dword [esp + 0x30]
dec dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
push dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
and dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CFont.0
mov byte [esp + 0x98], 2
and dword [esi + 0x9c], 0
push edi
mov dword [edi], 0xfffffff3
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CGdiObject::Attach
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
mov edi, eax
mov dword [esp + 0x38], 0x55
mov dword [esp + 0x3c], 0x23
mov dword [esp + 0x40], 0x226
mov dword [esp + 0x44], 0x3c
mov cl, byte [esi + 0x55]
mov eax, dword [esp + 0x58]
xor edx, edx
add eax, 0x38
test cl, cl
sete dl
lea ecx, [esp + 0x58]
mov dword [esi + 0xe8], 0x24
dec edx
and edx, 0xfff6f6f7
add edx, 0xd8cfc6
push edx
call dword [eax]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x100]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
dec dword [esp + 0x2c]
mov al, byte [esi + 0x55]
dec dword [esp + 0x28]
test al, al
jne 0x1001d4e7
cmp byte [esi + 0x54], al
jne 0x1001d4e7
mov eax, dword [esi + 0x78]
jmp 0x1001d4ea
mov eax, dword [esi + 0x7c]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
call dword [eax + 0x38]
push dword [esi + 0xe8]
mov eax, dword [esi + 0x100]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x70]
mov eax, dword [esp + 0x58]
push edi
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
mov byte [esp + 0x98], 1
mov esi, vtable.CFont.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.1000b5cb
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.1000b5cb
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x58]
call sym.SACOhelper.dll_public_virtual:_void___thiscall_CXTMemDC::destructor_void_
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4