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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push edi
xor ebp, ebp
call fcn.1003cfa5
mov ebx, eax
test ebx, ebx
js 0x101dbe35
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
jne 0x101dbc23
mov ebx, 0x8007000e
jmp 0x101dbe35
push esi
xor esi, esi
movzx eax, word [esi + 0x10241f54]
push 0
push eax
call fcn.1003d38b
mov ecx, dword [esi + 0x10241f50]
mov dword [ecx*4 + 0x1024201c], eax
test eax, eax
je 0x101dbe2f
add esi, 8
cmp esi, 0x68
jb 0x101dbc26
push 0
push 0x466
call fcn.1003d38b
mov dword [0x1024205c], eax
test eax, eax
je 0x101dbe2f
push 0x3c
lea eax, [esp + 0x40]
push 0
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
push 0x10244c58
push 0x10242058
push 0xdede
mov esi, 0xdedd
push esi
call fcn.1015692e
mov ebx, eax
test ebx, ebx
js 0x101dbe34
push 0x10244c5c
push 0
push 0xdf27
push esi
call fcn.1015692e
mov ebx, eax
test ebx, ebx
js 0x101dbe34
call fcn.1015692e
push 0x48
push 0x5a
push ebp
mov byte [esp + 0x5f], al
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [0x10244c58]
call dword [sym.imp.kernel32.dll_MulDiv]
push dword [0x10242058]
neg eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x5c]
push 0x20
push eax
call dword [sym.imp.msvcr100.dll_strcpy_s]
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
add esp, 0xc
lea eax, [esp + 0x3c]
mov edi, 0x190
push eax
mov dword [esp + 0x50], edi
call esi
mov dword [0x10244c4c], eax
test eax, eax
je 0x101dbe2f
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x50], 0x2bc
call esi
mov dword [0x10244c50], eax
test eax, eax
je 0x101dbe2f
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x50], edi
mov byte [esp + 0x56], 1
call esi
mov dword [0x10244c54], eax
test eax, eax
je 0x101dbe2f
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call edi
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call esi
push 5
mov dword [0x10244c60], eax
call edi
push eax
call esi
push dword [0x10244c4c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
mov dword [0x10244c64], eax
call esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x101dbe2f
lea eax, [esp + 0x78]
push eax
push ebp
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test eax, eax
je 0x101dbe1a
mov ecx, dword [esp + 0x88]
cmp ecx, 2
jg 0x101dbdb3
push 2
pop ecx
mov eax, dword [esp + 0x78]
add eax, ecx
push 0xa
mov dword [0x10244c68], eax
add eax, 3
pop ecx
mov dword [0x10244c6c], eax
xor eax, eax
push 0x7f00
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push eax
mov dword [esp + 0x1c], 0xb
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10239108]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 0x101dbffc
mov dword [esp + 0x3c], 0x10084bdc
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x101dbe21
mov ebx, 0x8007000e
jmp 0x101dbe26
call fcn.101dbe58
push dword [esp + 0x10]
push ebp
call esi
jmp 0x101dbe34
mov ebx, 0x8007000e
pop esi
push ebp
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0xac]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0xa4
ret