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

Disassembly:
push 0xffffffffffffffff
push 0x101628e8
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x104]
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov dword [esp + 0xfc], 1
push 0x3c
lea edx, [esp + 0xb8]
push ebx
push edx
call fcn.10100160
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0xc
mov byte [esp + 0xcb], 1
mov byte [esp + 0xd0], bl
mov byte [esp + 0xcf], bl
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push ebx
mov esi, eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], eax
push 0x10041f90
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x88]
push esi
mov dword [esp + 0x4c], ecx
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
push esi
mov dword [esp + 0x1c], eax
call ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, 1
cmp dword [esp + 0x18], esi
jne 0x1004822e
mov ecx, dword [esp + 0x14]
mov al, 0xd6
push ecx
lea edx, [esp + 0x44]
mov byte [esp + 0x48], al
mov byte [esp + 0x4f], al
mov eax, dword [esp + 0x10c]
push edx
push eax
mov byte [esp + 0x4c], 0xcf
mov byte [esp + 0x4d], 0xb5
mov byte [esp + 0x4e], 0xcd
mov byte [esp + 0x4f], 0xb3
mov byte [esp + 0x51], 0xd0
mov byte [esp + 0x52], 0xce
mov byte [esp + 0x53], 0xde
mov byte [esp + 0x54], 0xb4
mov byte [esp + 0x55], 0xcb
mov byte [esp + 0x56], 0xd7
mov byte [esp + 0x58], 0xcc
mov byte [esp + 0x59], 0xe5
mov byte [esp + 0x5a], 0x5b
mov byte [esp + 0x5b], 0x25
mov byte [esp + 0x5c], 0x73
mov byte [esp + 0x5d], 0x5d
mov byte [esp + 0x5e], bl
call fcn.1003e930
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
mov ebp, 0xf
push ecx
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.100097c0
mov dword [esp + 0x20], esi
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x74], 0x10
jb 0x10048225
mov edx, dword [esp + 0x60]
push edx
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x74], ebp
jmp 0x100484f4
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0x48
push 0x5a
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
neg esi
call ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [esp + 0x118]
mov dl, al
and dl, 1
neg dl
mov dword [esp + 0x78], esi
sbb edx, edx
and edx, 0x12c
add edx, 0x190
test al, 2
mov dword [esp + 0x88], edx
je 0x1004829a
mov byte [esp + 0x8c], 1
test al, 4
je 0x100482a6
mov byte [esp + 0x8d], 1
test al, 8
je 0x100482b2
mov byte [esp + 0x8e], 1
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x10048306
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
mov esi, 0xf
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.100097c0
mov dword [esp + 0x20], 1
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x74], 0x10
jb 0x100484f0
mov edx, dword [esp + 0x60]
push edx
jmp 0x100484e8
cmp esi, ebx
jge 0x1004830c
neg esi
lea ebp, [esi + esi]
push ebx
mov dword [esp + 0x30], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov esi, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
mov dword [esp + 0x38], eax
call ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push eax
push esi
call ebp
push ebx
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10048352
sub eax, ebp
mov dword [esp + 0x14], eax
lea eax, [eax + eax + 2]
push eax
call fcn.100ff166
mov ebp, eax
mov eax, dword [esp + 0x18]
lea eax, [eax + eax + 2]
push eax
push ebx
push ebp
call fcn.10100160
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 1
push ecx
push ebp
push 0xffffffffffffffff
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100483a0
sub eax, edx
sar eax, 1
mov ecx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
je 0x10048476
nop
movzx eax, word [ebp + ecx*2]
cmp ax, 0x24
je 0x10048465
cmp ax, 0x7c
je 0x10048465
mov ecx, dword [esp + 0x2c]
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
mov edx, esi
call fcn.10047c10
add esp, 0x10
mov byte [esp + 0xfc], 2
cmp dword [esp + 0x54], ebx
jbe 0x10048435
cmp dword [esp + 0x70], ebx
lea ecx, [esp + 0x5c]
jbe 0x10048428
push 0x1016a58c
call fcn.10009cd0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x68]
call fcn.10009610
jmp 0x10048435
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
push edx
call fcn.100097c0
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x58], 0x10
jb 0x10048451
mov eax, dword [esp + 0x44]
push eax
call fcn.100ee0d8
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
add ecx, 1
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
jb 0x100483c0
push ebp
call fcn.100ff229
mov ecx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 4
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
push edx
push esi
call ebp
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x64]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.100097c0
mov dword [esp + 0x20], 1
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x74], 0x10
jb 0x100484f0
mov eax, dword [esp + 0x60]
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov eax, edi
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.100ff704
add esp, 0xec
ret