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

Disassembly:
push 0xffffffffffffffff
push 0x5d7086
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
push 0xb
xor edi, edi
push str.BorderColor
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00402f00
mov ebp, dword [esp + 0x5c]
lea eax, [esp + 0x14]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x60]
push eax
push edi
mov ecx, ebp
call fcn.0048c820
cmp dword [esp + 0x2c], 0x10
mov ebx, eax
mov dword [esp + 0x54], 0xffffffff
jb 0x4d5ae3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004274fc
add esp, 4
movzx edx, bl
mov dword [esp + 0x60], edx
movzx eax, bh
fild dword [esp + 0x60]
fld qword [0x5f38b0]
mov dword [esp + 0x60], eax
shr ebx, 0x10
fdiv st(1), st(0)
movzx ecx, bl
push 6
push 0x5fa7d4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
fxch st(1)
fstp qword [esi + 8]
fild dword [esp + 0x68]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x1c]
fdiv st(1)
fstp qword [esi + 0x10]
fild dword [esp + 0x68]
fdivrp st(1)
fstp qword [esi + 0x18]
call fcn.00402f00
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov dword [esp + 0x60], 1
call fcn.0048c6a0
cmp dword [eax + 0x18], 0x10
jb 0x4d5b68
mov eax, dword [eax + 4]
jmp 0x4d5b6b
add eax, 4
push eax
call fcn.0045f0e8
add esp, 4
cmp dword [esp + 0x48], 0x10
mov ebx, eax
jb 0x4d5b8a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004274fc
add esp, 4
test ebx, ebx
setne dl
cmp dword [esp + 0x2c], 0x10
mov byte [esi], dl
mov dword [esp + 0x54], 0xffffffff
jb 0x4d5bad
mov eax, dword [esp + 0x18]
push eax
call fcn.004274fc
add esp, 4
push 0xf
push str.BackgroundColor
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00402f00
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, ebp
mov dword [esp + 0x5c], 2
call fcn.0048c820
cmp dword [esp + 0x2c], 0x10
mov ebx, eax
mov dword [esp + 0x54], 0xffffffff
jb 0x4d5c05
mov edx, dword [esp + 0x18]
push edx
call fcn.004274fc
add esp, 4
movzx eax, bl
mov dword [esp + 0x60], eax
movzx ecx, bh
fild dword [esp + 0x60]
fld qword [0x5f38b0]
mov dword [esp + 0x60], ecx
shr ebx, 0x10
fdiv st(1), st(0)
movzx edx, bl
push 0xa
push str.Background
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
fxch st(1)
fstp qword [esi + 0x28]
fild dword [esp + 0x68]
mov dword [esp + 0x68], edx
fdiv st(1)
fstp qword [esi + 0x30]
fild dword [esp + 0x68]
fdivrp st(1)
fstp qword [esi + 0x38]
call fcn.00402f00
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov dword [esp + 0x60], 3
call fcn.0048c6a0
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x4d5c8e
mov eax, dword [eax + 4]
jmp 0x4d5c91
add eax, 4
push eax
call fcn.0045f0e8
add esp, 4
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
jb 0x4d5cb1
mov edx, dword [esp + 0x34]
push edx
call fcn.004274fc
add esp, 4
cmp dword [esp + 0x60], 0
mov dword [esp + 0x54], 0xffffffff
setne al
cmp dword [esp + 0x2c], ebx
mov byte [esi + 0x20], al
jb 0x4d5cd7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004274fc
add esp, 4
push 0xb
push str.BorderWidth
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00402f00
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov dword [esp + 0x60], 4
call fcn.0048c6a0
cmp dword [eax + 0x18], ebx
jb 0x4d5d20
mov eax, dword [eax + 4]
jmp 0x4d5d23
add eax, 4
push eax
call fcn.0045f0e8
add esp, 4
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
jb 0x4d5d43
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004274fc
add esp, 4
cmp dword [esp + 0x2c], ebx
fild dword [esp + 0x60]
mov dword [esp + 0x54], 0xffffffff
fstp qword [esi + 0x40]
jb 0x4d5d65
mov edx, dword [esp + 0x18]
push edx
call fcn.004274fc
add esp, 4
push 0xb
push str.BorderStyle
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00402f00
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov dword [esp + 0x60], 5
call fcn.0048c6a0
cmp dword [eax + 0x18], ebx
jb 0x4d5dae
mov eax, dword [eax + 4]
jmp 0x4d5db1
add eax, 4
push eax
call fcn.0045f0e8
add esp, 4
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
jb 0x4d5dd1
mov edx, dword [esp + 0x34]
push edx
call fcn.004274fc
add esp, 4
cmp dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x60]
mov dword [esi + 0x48], eax
mov dword [esp + 0x54], 0xffffffff
jb 0x4d5df3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004274fc
add esp, 4
push 0xb
push str.Orientation
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00402f00
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov dword [esp + 0x60], 6
call fcn.0048c6a0
cmp dword [eax + 0x18], ebx
jb 0x4d5e3c
mov eax, dword [eax + 4]
jmp 0x4d5e3f
add eax, 4
push eax
call fcn.0045f0e8
add esp, 4
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
jb 0x4d5e5f
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004274fc
add esp, 4
cmp dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x5c], edx
mov dword [esp + 0x54], 0xffffffff
jb 0x4d5e81
mov eax, dword [esp + 0x18]
push eax
call fcn.004274fc
add esp, 4
push 8
push str.FontSize
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00402f00
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, ebp
mov dword [esp + 0x5c], 7
call fcn.004ab280
fstp qword [esi + 0x78]
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0xffffffff
jb 0x4d5ed9
mov edx, dword [esp + 0x18]
push edx
call fcn.004274fc
add esp, 4
push 9
push str.TextColor
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00402f00
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, ebp
mov dword [esp + 0x5c], 8
call fcn.0048c820
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
jb 0x4d5f2e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004274fc
mov eax, dword [esp + 0x64]
add esp, 4
movzx edx, al
mov dword [esp + 0x60], edx
movzx ecx, ah
fild dword [esp + 0x60]
fld qword [0x5f38b0]
mov dword [esp + 0x60], ecx
shr eax, 0x10
fdiv st(1), st(0)
movzx edx, al
fxch st(1)
fstp qword [esi + 0x60]
fild dword [esp + 0x60]
mov dword [esp + 0x60], edx
fdiv st(1)
fstp qword [esi + 0x68]
fild dword [esp + 0x60]
fdivrp st(1)
fstp qword [esi + 0x70]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8