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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 4]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, eax
push edi
push str._s_color
lea ecx, [esp + 0x20]
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x54]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x18], eax
push edi
push str._s_style
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x58]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x10], eax
push edi
push str._s_weight
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x5c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x14], eax
push edi
push str._s_period
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x4c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
mov dword [esi + 8], eax
lea ecx, [esp + 0x18]
push edi
push str._s_apply
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x50]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
cmp eax, 7
mov dword [esi + 0xc], eax
jl 0x481335
mov dword [esi + 0xc], 0
push edi
push str._s_levelcolor
lea ecx, [esp + 0x20]
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x7c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x520], eax
push edi
push str._s_levelstyle
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x80]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x524], eax
push edi
push str._s_levelweight
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x84]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x528], eax
push edi
push str._s_levels
push 0xff
push ecx
call ebx
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
call dword [edx + 0x78]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x589d10
call fcn.00429030
add esp, 0xc
mov dword [esi + 0x52c], eax
test eax, eax
jle 0x4814ea
xor ebp, ebp
test eax, eax
jle 0x4814ea
lea ecx, [esi + 0x20]
lea edx, [esi + 0x530]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
push ebp
push edi
push str._s_level_d
lea eax, [esp + 0x24]
push 0xff
push eax
call ebx
lea ecx, [esp + 0x2c]
push 0x5937a0
push ecx
push 0x589d10
call fcn.00429060
mov cl, byte [eax]
add esp, 0x20
test cl, cl
jne 0x481476
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x481486
push eax
call dword [sym.imp.MSVCRT.dll_atof]
mov ecx, dword [esp + 0x14]
add esp, 4
fstp qword [ecx]
push ebp
push edi
push str._s_description_d
lea edx, [esp + 0x24]
push 0xff
push edx
call ebx
lea eax, [esp + 0x2c]
push 0x5937a0
push eax
push 0x589d10
call fcn.00429060
mov ecx, dword [esp + 0x30]
push 0x1f
add ecx, 8
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 0x2c
inc ebp
mov byte [eax + 0x27], 0
add eax, 0x28
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x52c]
add edx, 8
cmp ebp, eax
mov dword [esp + 0x14], edx
jl 0x481432
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret