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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x629b57
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x20], ebp
call sub.SCL.dll_Ordinal_213
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x208]
call eax
push 0x3c
mov esi, eax
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x38], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x140], edi
je 0x5090a0
mov ecx, eax
call fcn.004dad80
mov edi, eax
or ebx, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], ebx
call sub.SCL.dll_Ordinal_9804
mov edx, dword [esi]
mov edx, dword [edx + 0xb8]
push 0x6f0c3a
push str.SourceThemes2
lea eax, [esp + 0xe0]
push eax
mov ecx, esi
mov dword [esp + 0x14c], 1
call edx
mov eax, dword [esp + 0xdc]
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0x140], 2
je 0x50912e
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x28]
call sub.SCL.dll_Ordinal_9848
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
push 1
push esi
lea ecx, [esp + 0x2c]
call sub.SCL.dll_Ordinal_9815
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
add ecx, 0xc
push esi
push ecx
mov ecx, edi
call edx
jmp 0x5091fc
push str.codethemeswin.xml
lea ecx, [esp + 0x30]
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x144], 3
call fcn.00516360
add esp, 4
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x140], 2
call sub.SCL.dll_Ordinal_9807
test esi, esi
jne 0x509188
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 1
call sub.SCL.dll_Ordinal_7754
mov dword [esp + 0x140], ebx
jmp 0x50a635
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0xe4]
call sub.SCL.dll_Ordinal_7749
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 4
call sub.SCL.dll_Ordinal_9848
mov edx, dword [esp + 0x24]
mov ebx, dword [edx]
push 1
push ebx
lea ecx, [esp + 0x2c]
call sub.SCL.dll_Ordinal_9815
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
add ecx, 0xc
push ebx
push ecx
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x140], 2
call sub.SCL.dll_Ordinal_7754
mov ecx, edi
call fcn.004dc7b0
push 0x818
mov dword [ebp + 0x1ad4], 0
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x140], 5
je 0x509239
mov ecx, eax
call fcn.00515e70
mov esi, eax
mov dword [esp + 0x78], eax
jmp 0x50923f
xor esi, esi
mov dword [esp + 0x78], esi
mov edi, dword [edi + 0x20]
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
mov ecx, esi
mov byte [esp + 0x144], 2
call edx
lea ecx, [esp + 0x30]
mov dword [esp + 0xb8], 0xffffffff
call sub.SCL.dll_Ordinal_9804
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
mov ecx, esi
mov byte [esp + 0x140], 6
mov byte [esp + 0x1f], 0
call edx
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
je 0x50a5c9
lea esp, [esp]
cmp dword [edi + 4], 0
jne 0x50a5aa
lea ecx, [esp + 0x18]
call sub.SCL.dll_Ordinal_9804
mov eax, dword [edi + 0xc]
lea ebp, [edi + 0xc]
lea esi, [eax + 0xc]
mov byte [esp + 0x140], 7
mov ecx, str.theme
mov eax, esi
jmp 0x5092c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5092e6
test dx, dx
je 0x5092e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5092e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x5092c0
xor eax, eax
jmp 0x5092eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5095d2
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x1ad4], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a8]
call edx
push 0xd48
mov edi, eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x140], 8
je 0x509331
mov ecx, eax
call fcn.00507690
mov esi, eax
jmp 0x509333
xor esi, esi
push str.Default
lea ecx, [esp + 0xa4]
mov byte [esp + 0x144], 7
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
mov byte [esp + 0x144], 9
call sub.SCL.dll_Ordinal_9808
lea ecx, [esp + 0xa0]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
mov ecx, 0x76a7c0
lea eax, [esi + 6]
nop
movzx edx, word [ecx]
mov word [eax - 2], dx
mov edx, dword [str.Monaco]
mov dword [eax], edx
movzx edx, word [0x714e00]
mov word [eax + 4], dx
mov dl, byte [0x714e02]
mov byte [eax + 6], dl
add ecx, 4
add eax, 0x102
cmp ecx, 0x76a7f4
jl 0x509380
xor ecx, ecx
fld dword [0x71d014]
mov eax, edi
fstp dword [esi + 0xd20]
mov edx, 0xc
mul edx
seto cl
mov byte [esi + 0xd28], 0
mov byte [esi + 0xd29], 0
mov byte [esi + 0xd2a], 0
mov byte [esi + 0xd30], 0xff
mov byte [esi + 0xd31], 0xff
mov byte [esi + 0xd32], 0xff
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
mov byte [esi + 0xd38], 0xff
mov byte [esi + 0xd39], 0xff
mov byte [esi + 0xd3a], 0xc0
mov dword [esi + 0xd3c], 0x20
mov dword [esi + 0xd40], edi
neg eax
or eax, ecx
push eax
call fcn.00610aae
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x140], 0xa
je 0x50945f
push 0x5077c0
push 0x5077b0
push edi
lea ebx, [eax + 4]
push 0xc
push ebx
mov dword [eax], edi
call fcn.00610f54
jmp 0x509461
xor ebx, ebx
xor ebp, ebp
cmp edi, ebp
mov byte [esp + 0x140], 7
mov dword [esi + 0xd44], ebx
jle 0x5094c7
mov dword [esp + 0x80], ebp
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, eax
mov edx, dword [edx + 0x1ac]
push ebp
mov dword [esp + 0x38], eax
call edx
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi + 0xd44]
add eax, ebx
push eax
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x170]
call edx
add ebp, 1
add ebx, 0xc
cmp ebp, edi
mov dword [esp + 0x80], ebx
jl 0x509480
push 0x6ee0d0
lea ecx, [esp + 0x8c]
call sub.SCL.dll_Ordinal_9806
push 0x6ee01c
lea ecx, [esp + 0xd4]
mov byte [esp + 0x144], 0xb
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xf0]
push edx
mov byte [esp + 0x14c], 0xc
call fcn.004010b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0xd
call sub.SCL.dll_Ordinal_9808
mov eax, dword [eax]
add eax, 0xc
mov ecx, 0x6ee0d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x50955c
test dx, dx
je 0x509558
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x50955c
add eax, 4
add ecx, 4
test dx, dx
jne 0x509536
xor eax, eax
jmp 0x509561
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0xe8]
setne bl
mov byte [esp + 0x140], 0xc
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xd0]
mov byte [esp + 0x140], 0xb
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x88]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x5095b2
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call sub.SCL.dll_Ordinal_9808
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x1ac0]
push esi
call sub.SCL.dll_Ordinal_4937
mov dword [edi + 0x1ac4], esi
mov byte [esp + 0x1f], 0
jmp 0x50a599
mov ecx, str.mainsettings
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509606
test dx, dx
je 0x509602
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509606
add eax, 4
add ecx, 4
test dx, dx
jne 0x5095e0
xor eax, eax
jmp 0x50960b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x509afd
push 0x6ee0d0
lea ecx, [esp + 0x90]
call sub.SCL.dll_Ordinal_9806
push str.forecolor
lea ecx, [esp + 0x50]
mov byte [esp + 0x144], 0xe
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x110]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0xf
call fcn.004010b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x10
call sub.SCL.dll_Ordinal_9808
mov eax, dword [eax]
add eax, 0xc
mov ecx, 0x6ee0d0
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5096a6
test dx, dx
je 0x5096a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5096a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x509680
xor eax, eax
jmp 0x5096ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x108]
setne bl
mov byte [esp + 0x140], 0xf
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x4c]
mov byte [esp + 0x140], 0xe
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x8c]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
mov esi, dword [esp + 0x20]
je 0x50970b
mov ecx, dword [esi + 0x1ac4]
add ecx, 0xd24
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.005165b0
add esp, 8
push 0x6ee0d0
lea ecx, [esp + 0x98]
call sub.SCL.dll_Ordinal_9806
push str.backcolor
lea ecx, [esp + 0x58]
mov byte [esp + 0x144], 0x11
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x118]
push edx
mov ecx, edi
mov byte [esp + 0x14c], 0x12
call fcn.004010b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x13
call sub.SCL.dll_Ordinal_9808
mov eax, dword [eax]
add eax, 0xc
mov ecx, 0x6ee0d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509798
test dx, dx
je 0x509794
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509798
add eax, 4
add ecx, 4
test dx, dx
jne 0x509772
xor eax, eax
jmp 0x50979d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x110]
setne bl
mov byte [esp + 0x140], 0x12
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x54]
mov byte [esp + 0x140], 0x11
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x94]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x5097f8
mov eax, dword [esi + 0x1ac4]
add eax, 0xd2c
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.005165b0
add esp, 8
push 0x6ee0d0
lea ecx, [esp + 0xa0]
call sub.SCL.dll_Ordinal_9806
push str.linecolor
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 0x14
call sub.SCL.dll_Ordinal_9806
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x120]
push ecx
mov ecx, edi
mov byte [esp + 0x14c], 0x15
call fcn.004010b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x16
call sub.SCL.dll_Ordinal_9808
mov eax, dword [eax]
add eax, 0xc
mov ecx, 0x6ee0d0
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509886
test dx, dx
je 0x509882
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509886
add eax, 4
add ecx, 4
test dx, dx
jne 0x509860
xor eax, eax
jmp 0x50988b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x118]
setne bl
mov byte [esp + 0x140], 0x15
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x5c]
mov byte [esp + 0x140], 0x14
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x9c]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x5098e7
mov edx, dword [esi + 0x1ac4]
add edx, 0xd34
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.005165b0
add esp, 8
push 0x6ee0d0
lea ecx, [esp + 0xa8]
call sub.SCL.dll_Ordinal_9806
push str.linehilite
lea ecx, [esp + 0x68]
mov byte [esp + 0x144], 0x17
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x114]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x18
call fcn.004010b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x19
call sub.SCL.dll_Ordinal_9808
mov eax, dword [eax]
add eax, 0xc
mov ecx, 0x6ee0d0
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509976
test dx, dx
je 0x509972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509976
add eax, 4
add ecx, 4
test dx, dx
jne 0x509950
xor eax, eax
jmp 0x50997b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10c]
setne bl
mov byte [esp + 0x140], 0x18
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 0x17
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xa4]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x5099f2
lea ecx, [esp + 0x18]
push 0x71ce2c
push ecx
call fcn.00415f90
add esp, 8
test al, al
je 0x5099e2
mov eax, dword [esi + 0x1ac4]
or dword [eax + 0xd3c], 0x20
jmp 0x5099f2
mov edx, dword [esi + 0x1ac4]
mov dword [edx + 0xd3c], 0
push 0x6ee0d0
lea ecx, [esp + 0xb0]
call sub.SCL.dll_Ordinal_9806
push str.fontsize
lea ecx, [esp + 0x70]
mov byte [esp + 0x144], 0x1a
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xfc]
push edx
mov ecx, edi
mov byte [esp + 0x14c], 0x1b
call fcn.004010b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x1c
call sub.SCL.dll_Ordinal_9808
mov eax, dword [eax]
add eax, 0xc
mov ecx, 0x6ee0d0
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509a86
test dx, dx
je 0x509a82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509a86
add eax, 4
add ecx, 4
test dx, dx
jne 0x509a60
xor eax, eax
jmp 0x509a8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0xf4]
setne bl
mov byte [esp + 0x140], 0x1b
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x6c]
mov byte [esp + 0x140], 0x1a
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xac]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a599
mov eax, dword [esp + 0x18]
add eax, 0xc
push 0
push eax
call dword [sym.imp.MSVCR80.dll_wcstod]
fstp dword [esp + 0x3c]
mov eax, dword [esi + 0x1ac4]
fld dword [esp + 0x3c]
fstp dword [eax + 0xd20]
add esp, 8
jmp 0x50a599
mov ecx, str.font
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509b2a
test dx, dx
je 0x509b26
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509b2a
add eax, 4
add ecx, 4
test dx, dx
jne 0x509b04
xor eax, eax
jmp 0x509b2f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x509e0f
push 0x6ee0d0
lea ecx, [esp + 0xb8]
xor esi, esi
call sub.SCL.dll_Ordinal_9806
push str.script
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 0x1d
call sub.SCL.dll_Ordinal_9806
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x124]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x1e
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x1f
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0x11c]
mov bl, al
mov byte [esp + 0x140], 0x1e
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 0x1d
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xb4]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x509bff
mov eax, dword [esp + 0x18]
add eax, 0xc
push eax
call dword [sym.imp.MSVCR80.dll__wtol]
mov esi, dword [eax*4 + 0x76a7f8]
add esp, 4
push 0x6ee0d0
lea ecx, [esp + 0xc0]
call sub.SCL.dll_Ordinal_9806
push str.face
lea ecx, [esp + 0x80]
mov byte [esp + 0x144], 0x20
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x104]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x21
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x22
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0xfc]
mov bl, al
mov byte [esp + 0x140], 0x21
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0x20
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xbc]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x509cfa
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x128]
call sub.SCL.dll_Ordinal_7752
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1ac4]
mov edx, esi
add ecx, 0xd
imul edx, edx, 0x102
lea edx, [eax + edx + 6]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x509ce0
lea ecx, [esp + 0x124]
call sub.SCL.dll_Ordinal_7754
push 0x6ee0d0
lea ecx, [esp + 0xc8]
call sub.SCL.dll_Ordinal_9806
push str.facew
lea ecx, [esp + 0x88]
mov byte [esp + 0x144], 0x23
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x11c]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x24
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x25
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0x114]
mov bl, al
mov byte [esp + 0x140], 0x24
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x84]
mov byte [esp + 0x140], 0x23
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xc4]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x509e13
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call sub.SCL.dll_Ordinal_9808
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x134]
push ecx
call fcn.00507660
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1ac4]
add esp, 0xc
add ecx, 0xd
imul esi, esi, 0x102
lea edx, [eax + esi + 6]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x509df3
lea ecx, [esp + 0x12c]
call sub.SCL.dll_Ordinal_7754
jmp 0x509e13
mov edi, dword [esp + 0x28]
mov eax, dword [ebp]
add eax, 0xc
mov ecx, str.engine
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x509e46
test dx, dx
je 0x509e42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x509e46
add eax, 4
add ecx, 4
test dx, dx
jne 0x509e20
xor eax, eax
jmp 0x509e4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x509f4e
push 0x6ee0d0
lea ecx, [esp + 0x94]
call sub.SCL.dll_Ordinal_9806
push 0x6ee01c
lea ecx, [esp + 0xd8]
mov byte [esp + 0x144], 0x26
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x27
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x28
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0x104]
mov bl, al
mov byte [esp + 0x140], 0x27
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xd4]
mov byte [esp + 0x140], 0x26
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x90]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a599
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call sub.SCL.dll_Ordinal_9808
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x1b0]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edx
cmp eax, 0xffffffff
mov dword [esp + 0xb8], eax
je 0x5095c8
add dword [esi + 0x1ad4], 1
mov byte [esp + 0x1f], 1
jmp 0x50a599
push str.entity
push ebp
call fcn.00401f70
add esp, 8
test al, al
je 0x50a599
cmp byte [esp + 0x1f], 0
je 0x50a599
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x1ac4]
mov esi, dword [esp + 0xb8]
mov edx, dword [eax + 0xd44]
lea ecx, [esi + esi*2]
lea ebp, [edx + ecx*4]
push ebp
lea ecx, [esp + 0x34]
call sub.SCL.dll_Ordinal_9808
mov eax, dword [edi]
mov edx, dword [eax + 0x1ac]
push esi
mov ecx, edi
call edx
mov edi, eax
test edi, edi
je 0x50a599
push 0x6ee0d0
lea ecx, [esp + 0xd0]
call sub.SCL.dll_Ordinal_9806
push 0x6ee01c
lea ecx, [esp + 0x9c]
mov byte [esp + 0x144], 0x29
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x128]
push edx
mov byte [esp + 0x14c], 0x2a
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x2b
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00401f70
add esp, 8
lea ecx, [esp + 0x120]
mov bl, al
mov byte [esp + 0x140], 0x2a
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x98]
mov byte [esp + 0x140], 0x29
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xcc]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
test bl, bl
jne 0x50a599
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call sub.SCL.dll_Ordinal_9805
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 0x2c
call sub.SCL.dll_Ordinal_9804
mov edx, dword [edi]
mov eax, dword [edx + 0x1d8]
mov ecx, edi
mov byte [esp + 0x140], 0x2d
xor esi, esi
call eax
test eax, eax
jle 0x50a577
mov edx, dword [edi]
mov edx, dword [edx + 0x1dc]
push esi
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
call fcn.00401f00
test al, al
jne 0x50a0df
mov edx, dword [edi]
mov eax, dword [edx + 0x1d8]
mov ecx, edi
add esi, 1
call eax
cmp esi, eax
jl 0x50a0a3
jmp 0x50a577
cmp esi, 0xffffffff
je 0x50a577
fldz
imul esi, esi, 0x290
add esi, dword [ebp + 8]
push 0x6ee0d0
lea ecx, [esp + 0xc4]
mov dword [esi + 0xc], 8
fstp dword [esi]
mov byte [esi + 8], 0
mov byte [esi + 9], 0
mov byte [esi + 0xa], 0
call sub.SCL.dll_Ordinal_9806
push 0x71cf2c
lea ecx, [esp + 0x44]
mov byte [esp + 0x144], 0x2e
call sub.SCL.dll_Ordinal_9806
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xf4]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x2f
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x30
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0xec]
mov bl, al
mov byte [esp + 0x140], 0x2f
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x40]
mov byte [esp + 0x140], 0x2e
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xc0]
mov byte [esp + 0x140], 0x2d
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a1d3
lea ecx, [esp + 0x18]
push 0x71ce2c
push ecx
call fcn.00401f70
add esp, 8
test al, al
je 0x50a1d3
mov dword [esi + 0xc], 0
push 0x6ee0d0
lea ecx, [esp + 0xcc]
call sub.SCL.dll_Ordinal_9806
push str.bold
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 0x31
call sub.SCL.dll_Ordinal_9806
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf8]
push ecx
mov ecx, edi
mov byte [esp + 0x14c], 0x32
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x33
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0xf0]
mov bl, al
mov byte [esp + 0x140], 0x32
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xa8]
mov byte [esp + 0x140], 0x31
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xc8]
mov byte [esp + 0x140], 0x2d
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a2a0
lea edx, [esp + 0x18]
push 0x713ea0
push edx
call fcn.00401f70
add esp, 8
test al, al
je 0x50a2a0
or dword [esi + 0xc], 1
push 0x6ee0d0
lea ecx, [esp + 0x48]
call sub.SCL.dll_Ordinal_9806
push str.italic
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 0x34
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x100]
push edx
mov ecx, edi
mov byte [esp + 0x14c], 0x35
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x36
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0xf8]
mov bl, al
mov byte [esp + 0x140], 0x35
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xb0]
mov byte [esp + 0x140], 0x34
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x44]
mov byte [esp + 0x140], 0x2d
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a364
lea eax, [esp + 0x18]
push 0x713ea0
push eax
call fcn.00401f70
add esp, 8
test al, al
je 0x50a364
or dword [esi + 0xc], 2
push 0x6ee0d0
lea ecx, [esp + 0x54]
call sub.SCL.dll_Ordinal_9806
push str.underline
lea ecx, [esp + 0x4c]
mov byte [esp + 0x144], 0x37
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x108]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x38
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x39
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0x100]
mov bl, al
mov byte [esp + 0x140], 0x38
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x48]
mov byte [esp + 0x140], 0x37
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x50]
mov byte [esp + 0x140], 0x2d
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a41f
lea ecx, [esp + 0x18]
push 0x713ea0
push ecx
call fcn.00401f70
add esp, 8
test al, al
je 0x50a41f
or dword [esi + 0xc], 4
push 0x6ee0d0
lea ecx, [esp + 0x64]
call sub.SCL.dll_Ordinal_9806
push str.color
lea ecx, [esp + 0x5c]
mov byte [esp + 0x144], 0x3a
call sub.SCL.dll_Ordinal_9806
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xe8]
push ecx
mov ecx, edi
mov byte [esp + 0x14c], 0x3b
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x3c
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0xe0]
mov bl, al
mov byte [esp + 0x140], 0x3b
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x58]
mov byte [esp + 0x140], 0x3a
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x60]
mov byte [esp + 0x140], 0x2d
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a4d1
lea edx, [esi + 4]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.005165b0
add esp, 8
push 0x6ee0d0
lea ecx, [esp + 0x74]
call sub.SCL.dll_Ordinal_9806
push str.fontsize
lea ecx, [esp + 0x6c]
mov byte [esp + 0x144], 0x3d
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0x3e
call fcn.004010b0
push 0x6ee0d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0x3f
call sub.SCL.dll_Ordinal_9808
push eax
call fcn.00415f90
add esp, 8
lea ecx, [esp + 0x38]
mov bl, al
mov byte [esp + 0x140], 0x3e
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x68]
mov byte [esp + 0x140], 0x3d
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0x2d
call sub.SCL.dll_Ordinal_9807
test bl, bl
je 0x50a577
lea ecx, [esp + 0x18]
call fcn.00401ed0
fstp dword [esi]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 0x2c
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 7
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 6
call sub.SCL.dll_Ordinal_9807
mov esi, dword [esp + 0x78]
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
mov edi, eax
test edi, edi
mov dword [esp + 0x28], eax
jne 0x509290
mov ebp, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [ebp + 0x1ac0]
mov dword [ebp + 0x1ac8], 0
cmp dword [eax + 0x14], 0
jle 0x50a5f0
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
jmp 0x50a5f2
xor eax, eax
mov edx, dword [ebp]
mov dword [ebp + 0x1ac4], eax
mov eax, dword [edx + 0x1a4]
mov ecx, ebp
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x140], 2
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 1
call sub.SCL.dll_Ordinal_7754
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x24]
call sub.SCL.dll_Ordinal_9807
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret