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

Disassembly:
sub esp, 0x170
mov eax, dword [esp + 0x174]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x5c], eax
cmp ecx, 0x28
mov dword [esi + 0x70], 0x3f800000
jbe 0x42bffc
mov ecx, 0x400
jmp 0x42c00b
cmp ecx, 0x14
mov ecx, 0x200
ja 0x42c00b
mov ecx, 0x100
lea edx, [esp + 0xac]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov ecx, dword [esi + 0x68]
mov eax, dword [esp + 0x104]
cmp ecx, eax
jbe 0x42c052
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov dword [esi + 0x6c], eax
fild qword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
mov dword [esi + 0x68], eax
fidiv dword [esp + 0x1c]
fstp dword [esi + 0x70]
jmp 0x42c054
xor ebp, ebp
mov eax, dword [esi + 0x5c]
lea ecx, [esi + 0x60]
push ecx
push 1
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x6c]
push 0x1a
push ebp
push 1
push ecx
mov ecx, dword [esi + 0x68]
push ecx
push eax
call dword [edx + 0x50]
cmp eax, ebp
jl 0x42c393
mov edx, dword [esi + 0x68]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x6c]
push ebp
neg eax
mov dword [esp + 0x84], 0x28
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov word [esp + 0x90], 1
mov dword [esp + 0x94], ebp
mov word [esp + 0x92], 0x20
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
lea ecx, [esp + 0x38]
push ebp
push ecx
lea edx, [esp + 0x8c]
mov ebx, eax
push ebp
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 1
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
push 0x5a
push ebx
call ebp
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esi + 0x70]
call fcn.00465eb8
push eax
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x48
mov edi, eax
push 0x58
push ebx
neg edi
call ebp
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esi + 0x70]
call fcn.00465eb8
mov ecx, dword [esi + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, eax
mov eax, dword [esi + 0x58]
mov edx, eax
mov ecx, eax
and dl, 1
push esi
neg ebp
neg dl
sbb edx, edx
and al, 8
and edx, 0x12c
shr ecx, 1
add edx, 0x190
and ecx, 1
neg al
sbb eax, eax
mov dword [esp + 0x14], edx
add eax, 2
push eax
push 4
push 0
push 0
push 1
push 0
push 0
mov eax, edx
push ecx
push eax
push 0
push 0
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x42c1ad
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x170
ret 4
mov ecx, dword [esp + 0x28]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push ebx
call ebp
push edi
push ebx
call ebp
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
xor edi, edi
push edi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov dx, word [0x48a860]
mov dword [esp + 0x18], edi
mov word [esp + 0x16], dx
mov dword [esp + 0x10], edi
lea ebp, [esi + 0x78]
mov al, byte [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1a]
push 1
push edx
push ebx
mov byte [esp + 0x26], al
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x2c]
lea ecx, [eax + edi + 1]
mov eax, dword [esi + 0x68]
cmp ecx, eax
jbe 0x42c230
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
xor edi, edi
lea ecx, [eax + edx + 1]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x1a]
push 1
push edx
push 0
push 2
push eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [esi + 0x68]
xor eax, eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
fild qword [esp + 0x78]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
fidiv dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
add ebp, 0x10
fstp dword [ebp - 0x14]
mov edx, dword [esi + 0x6c]
fild qword [esp + 0x50]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x2c]
fidiv dword [esp + 0x70]
add edi, edx
mov dword [esp + 0x60], edi
fstp dword [ebp - 0x10]
mov edx, dword [esi + 0x68]
fild qword [esp + 0x60]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
fidiv dword [esp + 0x40]
add edx, ecx
inc edi
mov dword [esp + 0x48], edx
inc eax
cmp eax, 0x100
mov dword [esp + 0x10], eax
fstp dword [ebp - 0xc]
mov ecx, dword [esi + 0x6c]
fild qword [esp + 0x48]
mov dword [esp + 0x58], ecx
fidiv dword [esp + 0x58]
fstp dword [ebp - 8]
jl 0x42c1f4
mov edx, dword [esp + 0x24]
push 0
push 0
mov eax, dword [edx]
lea edx, [esp + 0x70]
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x6c]
xor edi, edi
mov dword [esp + 0x10], ecx
test eax, eax
jbe 0x42c368
mov eax, dword [esi + 0x68]
xor edx, edx
test eax, eax
jbe 0x42c356
imul eax, edi
mov ebp, dword [esp + 0x34]
add eax, edx
mov eax, dword [ebp + eax*4]
shr eax, 4
and al, 0xf
jbe 0x42c342
movzx ax, al
shl eax, 0xc
or eax, 0xfff
mov word [ecx], ax
jmp 0x42c347
mov word [ecx], 0
mov eax, dword [esi + 0x68]
add ecx, 2
inc edx
cmp edx, eax
jb 0x42c31d
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x68]
mov eax, dword [esi + 0x6c]
add ecx, ebp
inc edi
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x42c314
mov ecx, dword [esp + 0x24]
push 0
mov eax, dword [ecx]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x1c]
push ecx
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret 4