Function at 0x484a75
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x73c270]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x24], ebx
cmp dword [eax + 0x170], 5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0xf003f
push ebx
push ebx
mov esi, ecx
push ebx
jne 0x484aab
push str.SoftwareGamaSoftNo_Limits_MY_
jmp 0x484ab0
push str.SoftwareGamaSoftNo_Limits
push 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Vertical
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
call edi
xor ecx, ecx
inc ecx
test eax, eax
jne 0x484b08
mov eax, dword [ebp - 4]
cmp ax, cx
jne 0x484afd
mov dword [esi + 0x50], ecx
shr eax, 0x10
cmp ax, cx
jne 0x484b08
mov dword [esi + 0x54], ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push str.Width
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x484b2d
mov dword [ebp - 8], 0x320
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.Height
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x484b4c
mov dword [ebp - 0x18], 0x258
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.DlgControl
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
mov edi, 0x2d7
je 0x484bbc
mov eax, dword [ebp - 8]
cmp eax, 0x320
je 0x484bff
cmp eax, 0x400
je 0x484bb0
cmp eax, 0x500
je 0x484ba0
cmp eax, 0x640
jne 0x484c0d
mov dword [esi + 0x14], 0x54b
mov dword [esi + 0x18], 0x487
jmp 0x484c0d
mov dword [esi + 0x14], 0x40b
mov dword [esi + 0x18], 0x397
jmp 0x484c0d
mov dword [esi + 0x14], 0x30b
mov dword [esi + 0x18], edi
jmp 0x484c0d
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, ax
shr eax, 0x10
cmp ecx, ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
jl 0x484bdf
cmp eax, ebx
jl 0x484bdf
cmp ecx, edx
jge 0x484bdf
cmp eax, dword [ebp - 0x18]
jl 0x484c10
cmp edx, 0x320
je 0x484bff
cmp edx, 0x400
je 0x484bb0
cmp edx, 0x500
je 0x484ba0
cmp edx, 0x640
jmp 0x484b8e
mov dword [esi + 0x18], 0x22f
mov dword [esi + 0x14], 0x22b
mov dword [esi + 0x50], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.SiegeTime
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x484c4d
mov eax, dword [ebp - 4]
movzx ecx, ax
shr eax, 0x10
cmp ecx, ebx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
jl 0x484c4d
cmp eax, ebx
jl 0x484c4d
cmp ecx, dword [ebp - 8]
jge 0x484c4d
cmp eax, dword [ebp - 0x18]
jl 0x484c5b
mov dword [esi + 0x40], 0x5a
mov dword [esi + 0x44], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.QuickSlot
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x484cc2
mov eax, dword [ebp - 8]
cmp eax, 0x320
je 0x484d05
cmp eax, 0x400
je 0x484cb6
cmp eax, 0x500
je 0x484caa
cmp eax, 0x640
jne 0x484d13
mov dword [esi + 0x1c], 0x40d
mov dword [esi + 0x20], 0x487
jmp 0x484d13
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x398
jmp 0x484d13
mov dword [esi + 0x1c], 0x1cd
mov dword [esi + 0x20], edi
jmp 0x484d13
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, ax
shr eax, 0x10
cmp ecx, ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
jl 0x484ce5
cmp eax, ebx
jl 0x484ce5
cmp ecx, edx
jge 0x484ce5
cmp eax, dword [ebp - 0x18]
jl 0x484d16
cmp edx, 0x320
je 0x484d05
cmp edx, 0x400
je 0x484cb6
cmp edx, 0x500
je 0x484caa
cmp edx, 0x640
jmp 0x484c98
mov dword [esi + 0x20], 0x230
mov dword [esi + 0x1c], 0xee
mov dword [esi + 0x54], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Status
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x484d51
mov eax, dword [ebp - 8]
cmp eax, 0x320
je 0x484dab
cmp eax, 0x400
je 0x484da6
cmp eax, 0x500
je 0x484d9d
cmp eax, 0x640
jmp 0x484d92
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, ax
shr eax, 0x10
cmp ecx, ebx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
jl 0x484d74
cmp eax, ebx
jl 0x484d74
cmp ecx, edx
jge 0x484d74
cmp eax, dword [ebp - 0x18]
jl 0x484db5
cmp edx, 0x320
je 0x484dab
cmp edx, 0x400
je 0x484da6
cmp edx, 0x500
je 0x484d9d
cmp edx, 0x640
jne 0x484db5
mov dword [esi + 0x28], 0x487
jmp 0x484db2
mov dword [esi + 0x28], 0x36e
jmp 0x484db2
mov dword [esi + 0x28], edi
jmp 0x484db2
mov dword [esi + 0x28], 0x22f
mov dword [esi + 0x24], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Enchant
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x484df2
mov eax, dword [ebp - 8]
mov edi, 0x320
cmp eax, edi
je 0x484e36
cmp eax, 0x400
je 0x484e36
cmp eax, 0x500
je 0x484e36
cmp eax, 0x640
jmp 0x484e34
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, ax
shr eax, 0x10
cmp ecx, ebx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
jl 0x484e15
cmp eax, ebx
jl 0x484e15
cmp ecx, edx
jge 0x484e15
cmp eax, dword [ebp - 0x18]
jl 0x484e42
mov edi, 0x320
cmp edx, edi
je 0x484e36
cmp edx, 0x400
je 0x484e36
cmp edx, 0x500
je 0x484e36
cmp edx, 0x640
jne 0x484e47
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0x74
jmp 0x484e47
mov edi, 0x320
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Chat
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x484e83
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x484eee
cmp eax, 0x400
je 0x484ede
cmp eax, 0x500
je 0x484ece
cmp eax, 0x640
jmp 0x484ec0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, ax
shr eax, 0x10
cmp ecx, ebx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
jl 0x484ea6
cmp eax, ebx
jl 0x484ea6
cmp ecx, edx
jge 0x484ea6
cmp eax, dword [ebp - 0x18]
jl 0x484efc
cmp edx, edi
je 0x484eee
cmp edx, 0x400
je 0x484ede
cmp edx, 0x500
je 0x484ece
cmp edx, 0x640
jne 0x484efc
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0x437
jmp 0x484efc
mov dword [esi + 0x38], 0x1d8
mov dword [esi + 0x3c], 0x347
jmp 0x484efc
mov dword [esi + 0x38], 0x1cd
mov dword [esi + 0x3c], 0x25e
jmp 0x484efc
mov dword [esi + 0x38], 0xed
mov dword [esi + 0x3c], 0x1b6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.ChatDlgType
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x484f21
mov dword [esi + 0x48], 1
jmp 0x484f27
mov eax, dword [ebp - 4]
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.StatusDlgExLv
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
lea edi, [esi + 0x4c]
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push ebx
push 0x6d748c
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x484f6d
mov dword [edi], 0xf
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
fild dword [ebp - 8]
mov eax, dword [ebp - 8]
test eax, eax
jge 0x484f86
fadd dword [0x6d08e4]
fstp dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
test edi, edi
fld dword [ebp - 0x20]
fdiv dword [0x6d7488]
fstp dword [ebp - 0x1c]
fild dword [ebp - 0x18]
jge 0x484fa5
fadd dword [0x6d08e4]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fsub dword [ebp - 0x1c]
fdiv dword [0x6d13fc]
call fcn.00693530
lea ecx, [ebp - 0x14]
push ecx
sub edi, eax
push eax
push dword [ebp - 8]
mov dword [esi + 0x158], edi
mov ecx, dword [0x732128]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ebx
call fcn.0043c95d
mov ecx, dword [ebp - 0x14]
mov edi, 0xff000000
push edi
call fcn.004349ab
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
add dword [ebp - 0x1c], 0x10000000
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push 1
push dword [ebp - 8]
push dword [ebp - 0x20]
push ebx
call fcn.00434a28
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xf
jl 0x484fee
call fcn.0043bce8
mov ecx, eax
call fcn.0043beae
push dword [ebp - 0x14]
mov ecx, eax
mov dword [esi + 0x150], eax
call fcn.00439b46
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x48503e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x14], ebx
mov ecx, dword [0x732128]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
push dword [ebp - 8]
call fcn.0043c95d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004349ab
mov dword [ebp - 0x1c], ebx
xor edi, edi
add dword [ebp - 0x1c], 0x10000000
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push 1
push dword [ebp - 8]
push edi
push ebx
call fcn.00434a28
inc edi
cmp edi, 0xf
jl 0x485061
call fcn.0043bce8
mov ecx, eax
call fcn.0043beae
push dword [ebp - 0x14]
mov ecx, eax
mov dword [esi + 0x154], eax
call fcn.00439b46
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
cmp ecx, ebx
pop ebx
je 0x4850ac
mov eax, dword [ecx]
push 1
call dword [eax]
leave
ret