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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x170
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x50]
cmp ecx, 0x28
push edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x70], 0x3f800000
jbe 0x43a7c9
mov ecx, 0x400
jmp 0x43a7d8
cmp ecx, 0x14
mov ecx, 0x200
ja 0x43a7d8
mov ecx, 0x100
lea edx, [esp + 0xac]
push edx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, dword [esi + 0x68]
mov eax, dword [esp + 0x104]
cmp ecx, eax
jbe 0x43a81f
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
fild qword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
mov dword [esi + 0x6c], eax
fidiv dword [esp + 0x1c]
mov dword [esi + 0x68], eax
fstp dword [esi + 0x70]
jmp 0x43a821
xor ebp, ebp
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
lea ecx, [esi + 0x60]
push ecx
push 1
push 0x1a
push ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x6c]
push 1
push ecx
mov ecx, dword [esi + 0x68]
push ecx
push eax
call dword [edx + 0x50]
cmp eax, ebp
jl 0x43ab5e
mov edx, dword [esi + 0x68]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x6c]
neg eax
push ebp
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
push ebp
lea ecx, [esp + 0x3c]
push ecx
push ebp
lea edx, [esp + 0x90]
mov ebx, eax
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.00488e84
push eax
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x48
push 0x58
mov edi, eax
push ebx
neg edi
call ebp
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esi + 0x70]
call fcn.00488e84
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
and dl, 1
neg ebp
neg dl
mov ecx, eax
push esi
sbb edx, edx
and edx, 0x12c
shr ecx, 1
and al, 8
add edx, 0x190
and ecx, 1
neg al
mov dword [esp + 0x14], edx
sbb eax, eax
add eax, 2
push eax
push 4
push 0
push 0
push 1
push 0
push 0
push ecx
mov eax, edx
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 0x43a97a
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 [0x4a34c4]
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
push 1
lea edx, [esp + 0x1e]
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]
cmp ecx, dword [esi + 0x68]
jbe 0x43a9fb
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
lea ecx, [eax + edx + 1]
xor edi, edi
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
push 0
push 1
lea edx, [esp + 0x1e]
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]
fild qword [esp + 0x50]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x70], edx
fidiv dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
add edi, edx
mov dword [esp + 0x60], edi
fstp dword [ebp - 0x10]
fild qword [esp + 0x60]
mov edx, dword [esi + 0x68]
mov dword [esp + 0x40], edx
fidiv dword [esp + 0x40]
mov edx, dword [esp + 0x30]
add edx, ecx
mov dword [esp + 0x48], edx
inc edi
inc eax
cmp eax, 0x100
mov dword [esp + 0x10], eax
fstp dword [ebp - 0xc]
fild qword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x58], ecx
fidiv dword [esp + 0x58]
fstp dword [ebp - 8]
jl 0x43a9c1
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x70]
push edx
push 0
push eax
call dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x6c]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ecx
jbe 0x43ab33
mov eax, dword [esi + 0x68]
xor edx, edx
test eax, eax
jbe 0x43ab21
mov ebp, dword [esp + 0x34]
imul eax, edi
add eax, edx
mov eax, dword [ebp + eax*4]
shr eax, 4
and al, 0xf
jbe 0x43ab0d
movzx ax, al
shl eax, 0xc
or eax, 0xfff
mov word [ecx], ax
jmp 0x43ab12
mov word [ecx], 0
mov eax, dword [esi + 0x68]
add ecx, 2
inc edx
cmp edx, eax
jb 0x43aae8
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 0x43aadf
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
push 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