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

Disassembly:
push 0xffffffffffffffff
push 0x4c5320
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517b6c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x1d0]
mov edx, dword [eax + 0x28]
lea ebp, [edi + 0x1d0]
mov ecx, ebp
call edx
lea esi, [edi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov ecx, esi
call edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
mov ecx, ebp
call edx
xor ebx, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov edx, vtable.CPOS.0
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x78], ebx
mov eax, dword [edi + 0x254]
mov edi, dword [edi + 0x250]
lea ecx, [eax + eax*2]
lea eax, [edi + edi*2]
mov dword [esp + 0x5c], edx
mov edx, 2
add eax, eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x2c], vtable.CRGB.0
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x78], dl
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov dword [esp + 0x34], vtable.CPOS.0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x30]
mov ebx, esi
mov byte [esp + 0x7c], 3
call fcn.004149a0
mov edi, dword [esp + 0x84]
mov byte [esp + 0x78], 1
mov dl, byte [edi]
mov byte [esp + 0x84], dl
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
add ebx, 1
push ebx
push edi
mov edi, dword [esp + 0x88]
mov ecx, dword [edi + 0x14]
push 2
push 2
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x254]
mov edx, dword [ebp]
mov edi, dword [edi + 0x250]
mov dword [esp + 0x20], eax
imul edi, ebx
mov eax, dword [edx + 0x24]
mov ecx, ebp
call eax
imul eax, edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
sub ecx, eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, esi
call eax
imul eax, edi
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call edx
mov ebx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call edx
mov esi, eax
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x1f8], 0
mov dword [esp + 0x84], esi
je 0x41148c
mov ecx, dword [eax + 0x200]
mov edx, dword [eax + 0x1fc]
push ecx
push 0
push edx
call fcn.004b2fa0
add esp, 0xc
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
cmp eax, 2
jl 0x411613
mov edx, dword [esp + 0x24]
lea ecx, [edi + edi*2]
mov edi, dword [esp + 0x18]
lea edx, [edx + edi*2]
mov dword [esp + 0x24], edx
lea edx, [eax + 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
jmp 0x4114db
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x18]
lea ebp, [esi + edi]
mov dword [esp + 0x80], esi
sub esi, edi
mov edi, esi
sub edi, dword [esp + 0x18]
mov eax, 2
cmp ecx, eax
jl 0x4115f5
mov cl, byte [eax + edi - 2]
add cl, byte [eax + esi - 2]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x80]
sub eax, 2
add edx, ebp
add cl, byte [eax + edx]
add eax, 4
add cl, byte [eax + ebp - 4]
sub eax, 3
add cl, byte [eax + ebx - 1]
movzx ebx, byte [eax + edi + 3]
add bl, byte [eax + esi + 3]
add eax, 2
add bl, byte [eax + edx + 1]
mov edx, dword [esp + 0x80]
add bl, byte [eax + ebp + 1]
sub eax, 1
add bl, byte [eax + edx + 2]
mov edx, dword [esp + 0x18]
add cl, bl
movzx ebx, byte [eax + edi - 1]
add bl, byte [eax + esi - 1]
add edx, ebp
add bl, byte [eax + edx - 1]
mov edx, dword [esp + 0x80]
add bl, byte [eax + ebp - 1]
add dword [esp + 0x84], 3
add bl, byte [eax + edx - 1]
mov edx, dword [esp + 0x18]
add cl, bl
movzx ebx, byte [eax + edi + 1]
add bl, byte [eax + esi + 1]
add edx, ebp
add bl, byte [eax + edx + 1]
mov edx, dword [esp + 0x80]
add bl, byte [eax + ebp + 1]
add eax, 3
add bl, byte [eax + edx - 2]
mov edx, dword [esp + 0x18]
add cl, bl
movzx ebx, byte [eax + edi - 3]
add bl, byte [eax + esi - 3]
add edx, ebp
add bl, byte [eax + edx - 3]
mov edx, dword [esp + 0x80]
add bl, byte [eax + ebp - 3]
add bl, byte [eax + edx - 3]
add cl, bl
mov ebx, dword [esp + 0x1c]
movzx ecx, cl
movzx edx, byte [ecx + 0x51c078]
mov byte [ebx], dl
movzx edx, byte [ecx + 0x51c078]
mov byte [ebx + 1], dl
movzx ecx, byte [ecx + 0x51c078]
mov byte [ebx + 2], cl
mov ecx, dword [esp + 0x28]
add ebx, 3
cmp eax, ecx
mov dword [esp + 0x1c], ebx
jle 0x4114fa
add ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
add dword [esp + 0x84], edx
sub dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebx
jne 0x4114d0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8