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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8448
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
fldz
mov esi, dword [ebp + 8]
fst qword [esp + 0x3c]
xor ebx, ebx
fst qword [esp + 0x44]
mov edi, ecx
fst qword [esp + 0x5c]
mov dword [esp + 0x78], edi
fst qword [esp + 0x64]
mov dword [esp + 0x38], esi
fstp qword [esp + 0x6c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], 0x190
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x19c], ebx
call fcn.004e02d0
cmp dword [eax + 0x1c], 0x10
mov byte [esp + 0x198], 1
jb 0x4e0bad
mov eax, dword [eax + 8]
jmp 0x4e0bb0
add eax, 8
push eax
lea ecx, [esp + 0x50]
call fcn.0048be10
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0bdd
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004274fc
add esp, 4
cmp byte [edi + 0x209c], bl
mov ecx, edi
je 0x4e0c93
call fcn.004e6820
add edi, 0x40
push edi
lea ecx, [esp + 0xc8]
call fcn.004dc7b0
cmp dword [esp + 0xc4], ebx
je 0x4e0c3b
mov eax, dword [esp + 0x12c]
sub eax, dword [esp + 0x138]
mov dword [esp + 0x38], eax
je 0x4e0c3b
fild dword [esp + 0x38]
fild dword [esp + 0x130]
fdiv st(1)
fstp qword [esp + 0x3c]
fidivr dword [esp + 0x134]
fchs
fstp qword [esp + 0x44]
mov al, byte [edi + 0x14]
mov edx, dword [edi + 0x10]
neg al
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x54], edx
sbb eax, eax
and eax, 0x40
mov dword [esp + 0x58], eax
call fcn.004ebac0
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc4]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xc8]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0xc4]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4e13fa
push ebx
call fcn.004de260
mov esi, eax
cmp esi, ebx
je 0x4e100d
push 0x5fb4d8
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x19c], 2
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov edi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0cea
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004274fc
add esp, 4
cmp edi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e0d17
mov ecx, edi
call fcn.004b57f0
fdiv qword [0x5fc220]
fstp qword [esp + 0x44]
push 0x5fb4e0
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [esp + 0x19c], 3
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov edi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0d5e
mov eax, dword [esp + 0x1c]
push eax
call fcn.004274fc
add esp, 4
cmp edi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e0d8b
mov ecx, edi
call fcn.004b57f0
fdiv qword [0x5fc220]
fstp qword [esp + 0x3c]
fld qword [esp + 0x3c]
fcomp qword [0x659f18]
fnstsw ax
test ah, 0x44
jp 0x4e0daa
fld qword [esp + 0x44]
fadd qword [0x659f48]
fstp qword [esp + 0x3c]
push 0x5fb4e8
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x19c], 4
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov edi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0df1
mov edx, dword [esp + 0x1c]
push edx
call fcn.004274fc
add esp, 4
cmp edi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e0e1d
mov ecx, edi
call fcn.004b57f0
call fcn.0044eb60
mov dword [esp + 0x50], eax
push 0x5fb4f4
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x19c], 5
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov edi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0e64
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004274fc
add esp, 4
cmp edi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e0ead
mov ecx, edi
call fcn.004b57f0
fnstcw word [esp + 0x36]
movzx eax, word [esp + 0x36]
or eax, 0xc00
mov dword [esp + 0x7c], eax
fldcw word [esp + 0x7c]
fistp qword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x54], edx
fldcw word [esp + 0x36]
push str.AvgWidth
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x19c], 6
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov edi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0ef4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004274fc
add esp, 4
cmp edi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e0f21
mov ecx, edi
call fcn.004b57f0
fdiv qword [0x5fc220]
fstp qword [esp + 0x64]
push str.MaxWidth
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [esp + 0x19c], 7
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov edi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0f68
mov eax, dword [esp + 0x1c]
push eax
call fcn.004274fc
add esp, 4
cmp edi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e0f95
mov ecx, edi
call fcn.004b57f0
fdiv qword [0x5fc220]
fstp qword [esp + 0x6c]
push str.Leading
lea ecx, [esp + 0x18]
call fcn.0048cd50
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x19c], 8
call fcn.004b7a30
cmp dword [esp + 0x30], 0x10
mov esi, eax
mov byte [esp + 0x198], bl
mov dword [esp + 0x14], 0x5f1558
jb 0x4e0fdc
mov edx, dword [esp + 0x1c]
push edx
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e1009
mov ecx, esi
call fcn.004b57f0
fdiv qword [0x5fc220]
fstp qword [esp + 0x5c]
mov edi, dword [esp + 0x78]
push 0x5fb273
lea ecx, [esp + 0xa8]
call fcn.0048cd50
push 0x5fb51c
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 9
call fcn.0048cd50
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x19c], 0xa
call fcn.004b7950
mov edi, 0x10
cmp dword [esp + 0x30], edi
mov esi, eax
mov byte [esp + 0x198], 9
mov dword [esp + 0x14], 0x5f1558
jb 0x4e1072
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], 0x5f13d0
je 0x4e13a2
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cmp eax, 3
jne 0x4e13a2
mov ecx, esi
call fcn.004b5800
push eax
lea ecx, [esp + 0x88]
call fcn.0048c600
mov dword [esp + 0x84], 0x5f1570
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1a4], 0xb
call fcn.00402bb0
lea ecx, [esp + 0x84]
call fcn.004b36e0
cmp dword [esp + 0xc0], edi
mov eax, dword [esp + 0xac]
jae 0x4e1104
lea eax, [esp + 0xac]
mov edi, eax
mov esi, 0x5fb528
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb530
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb53c
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb54c
mov ecx, 0x12
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb560
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb570
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb580
mov ecx, 0x14
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb594
mov ecx, 0x16
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e1370
mov edi, eax
mov esi, 0x5fb5ac
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb5b8
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb5c0
mov ecx, 0x12
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb5d4
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb5e4
mov ecx, 0xf
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb5f4
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb600
mov ecx, 0x16
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb618
mov ecx, 0x11
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e135e
mov edi, eax
mov esi, 0x5fb62c
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb638
mov ecx, 0xe
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb648
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb658
mov ecx, 0x15
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb670
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb67c
mov ecx, 0x13
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb690
mov ecx, 0x11
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb6a4
mov ecx, 0x19
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e134c
mov edi, eax
mov esi, 0x5fb6c0
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4e1328
fld qword [0x5fc2b0]
fstp qword [esp + 0x3c]
fld qword [0x5fc2a8]
jmp 0x4e1380
mov edi, eax
mov esi, 0x5fb6c8
mov ecx, 0xd
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4e1384
fld qword [0x5fc2a0]
fstp qword [esp + 0x3c]
fld qword [0x5fc298]
jmp 0x4e1380
fld qword [0x5fc290]
fstp qword [esp + 0x3c]
fld qword [0x5fc288]
jmp 0x4e1380
fld qword [0x5fc280]
fstp qword [esp + 0x3c]
fld qword [0x5fc278]
jmp 0x4e1380
fld qword [0x5fc270]
fstp qword [esp + 0x3c]
fld qword [0x5fc268]
fstp qword [esp + 0x44]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004ebac0
lea ecx, [esp + 0xa4]
call fcn.004b36e0
jmp 0x4e13fa
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.004ebac0
cmp dword [esp + 0xc0], edi
mov dword [esp + 0xa4], 0x5f1558
jb 0x4e13d6
mov eax, dword [esp + 0xac]
push eax
call fcn.004274fc
add esp, 4
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov dword [esp + 0xa4], 0x5f13d0
lea ecx, [esp + 0x3c]
call fcn.004a5c70
mov eax, esi
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0044abb9
mov esp, ebp
pop ebp
ret 4