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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x549300
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
test ebx, ebx
push edi
mov esi, ecx
je 0x4e77fb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e77fb
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x9c]
cmp ecx, eax
jl 0x4e7564
mov eax, 1
jmp 0x4e77fd
lea ecx, [esp + 0x20]
call fcn.005185f1
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x3c], 0
mov edi, ebx
mov ecx, ebx
mov edx, dword [esp + 0x28]
mov bl, byte [edi]
cmp bl, 0xd
je 0x4e75d5
cmp bl, 0xa
je 0x4e75d5
test bl, bl
je 0x4e75d5
test bl, 0x80
je 0x4e759e
mov al, byte [edi + 1]
test al, al
je 0x4e759e
inc edi
inc edi
test edx, edx
jne 0x4e75ab
mov eax, dword [esi + 0x98]
jmp 0x4e75ad
xor eax, eax
sub eax, ecx
add eax, edi
cmp eax, ebp
jl 0x4e7581
mov bl, byte [edi]
cmp bl, 0xd
je 0x4e7581
cmp bl, 0xa
je 0x4e7581
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [edi], 0
call fcn.00518855
mov byte [edi], bl
mov ecx, edi
jmp 0x4e757d
cmp edi, ecx
jne 0x4e7601
mov al, byte [edi]
cmp al, 0xd
je 0x4e75e3
cmp al, 0xa
jne 0x4e75e6
inc edi
jmp 0x4e75d9
cmp byte [edi], 0
je 0x4e7630
push 0x599360
push edx
lea ecx, [esp + 0x28]
call fcn.00518855
mov ecx, edi
jmp 0x4e757d
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [edi], 0
call fcn.00518855
test bl, bl
mov byte [edi], bl
je 0x4e762c
mov al, byte [edi + 1]
inc edi
cmp al, 0xa
jne 0x4e7625
mov al, byte [edi + 1]
inc edi
cmp al, 0xa
je 0x4e761d
mov ecx, edi
jmp 0x4e757d
mov edx, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x48], edx
test edx, edx
jle 0x4e77cd
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x4e77d1
dec ecx
cmp eax, ecx
jne 0x4e766a
mov ecx, dword [esp + 0x48]
dec ecx
cmp ebx, ecx
jne 0x4e7730
mov eax, dword [ebp + ebx*4]
lea edx, [esp + 0x10]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [eax + ebx*4]
mov ebp, dword [eax - 8]
mov dword [esp + 0x4c], ebp
mov ebp, dword [edi]
push dword [esp + 0x4c]
push eax
push ecx
push edx
mov ecx, edi
call dword [ebp + 0x5c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
add edx, ecx
mov ecx, dword [esi + 0x80]
mov eax, edx
mov dword [esi + 0x78], edx
cmp eax, ecx
jle 0x4e76c2
mov dword [esi + 0x80], eax
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
dec edx
cmp ebx, edx
jge 0x4e771e
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x84]
inc ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], 0
mov ecx, dword [ebp + ebx*4]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4e7710
fild dword [esi + 0x94]
fmul qword [0x5511c0]
fiadd dword [esi + 0x7c]
call fcn.005020e0
jmp 0x4e771b
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x7c]
add eax, edx
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, eax
jl 0x4e7646
jmp 0x4e77d1
push 0x595c04
lea ecx, [esp + 0x54]
call fcn.00519a74
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x40], 1
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
mov ebp, dword [edi]
mov ebx, dword [edx - 8]
push ebx
push edx
push eax
push ecx
mov ecx, edi
call dword [ebp + 0x5c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x78]
mov edi, dword [esi + 0x9c]
add edx, ecx
mov ecx, dword [esi + 0x80]
mov eax, edx
inc edi
cmp eax, ecx
mov dword [esi + 0x9c], edi
mov dword [esi + 0x78], edx
jle 0x4e779e
mov dword [esi + 0x80], eax
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x50]
mov dword [esi + 0x78], edx
mov byte [esp + 0x3c], 0
call fcn.00519a06
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00518624
mov eax, 1
jmp 0x4e77fd
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
mov ecx, dword [ebp + eax*4 - 4]
mov eax, dword [ecx - 8]
mov ecx, dword [esi + 0x98]
add ecx, eax
mov dword [esi + 0x98], ecx
lea ecx, [esp + 0x20]
call fcn.00518624
xor eax, eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10