Function at 0x658d74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x40
push 0
push 0
dec ecx
jne 0x658d7c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65a000
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e59c8]
mov eax, dword [eax]
mov edx, dword [0x6e62fc]
cmp eax, dword [edx]
je 0x659f66
lea eax, [ebp - 0x4c]
mov edx, dword [0x6e44a0]
mov edx, dword [edx]
call fcn.004054bc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [0x6e5118]
mov edx, dword [edx]
lea eax, [ebp - 0x48]
call fcn.004055b4
mov eax, dword [ebp - 0x48]
call fcn.004973d4
cmp al, 1
jne 0x659f66
xor eax, eax
push ebp
push 0x658e2d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
lea eax, [ebp - 0x54]
mov edx, dword [0x6e44a0]
mov edx, dword [edx]
call fcn.004054bc
mov ecx, dword [ebp - 0x54]
mov edx, dword [0x6e5118]
mov edx, dword [edx]
lea eax, [ebp - 0x50]
call fcn.004055b4
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x494264]
call fcn.004952cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x658e39
test ebx, ebx
je 0x659f66
mov dl, 1
mov eax, dword [0x41ef44]
call fcn.00403c40
mov dword [ebp - 0x14], eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, ebx
call fcn.00403c70
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x659f5e
mov eax, 4
call fcn.00402b48
mov dword [ebp - 0x30], eax
mov eax, 4
call fcn.00402b48
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x41ef44]
call fcn.00403c40
mov dword [ebp - 0x18], eax
push 0x65a018
lea eax, [ebp - 0x60]
call fcn.0060196c
push dword [ebp - 0x60]
push 0x65a040
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040561c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00404e54
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x65a06c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x659cd4
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00409c98
mov edx, dword [ebp - 0x64]
mov eax, 0x65a078
call fcn.004051d0
dec eax
jne 0x658f52
push 0x65a090
mov eax, dword [0x6e39d4]
push dword [eax]
push 0x65a0a8
mov eax, dword [0x6e569c]
push dword [eax]
push 0x65a0b4
lea eax, [ebp - 0x6c]
mov edx, 5
call fcn.00404f4c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00409c98
mov edx, dword [ebp - 0x70]
mov eax, 0x65a0c0
call fcn.004051d0
dec eax
jne 0x659022
mov eax, dword [ebp - 4]
call fcn.006c5540
cmp al, 1
jne 0x659015
push 0x65a0d8
lea edx, [ebp - 0x7c]
mov eax, dword [0x6e6718]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0x7c]
push 0x65a0f0
lea edx, [ebp - 0x80]
mov eax, dword [0x6e36b0]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0x80]
push 0x65a0f0
lea edx, [ebp - 0x84]
mov eax, dword [0x6e6268]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0x84]
push 0x65a0f0
lea edx, [ebp - 0x88]
mov eax, dword [0x6e49fc]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0x88]
push 0x65a0fc
lea eax, [ebp - 0x78]
mov edx, 9
call fcn.00404f4c
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x659022
mov edx, 0x65a108
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x90]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00409c98
mov edx, dword [ebp - 0x8c]
mov eax, 0x65a128
call fcn.004051d0
dec eax
jne 0x6590e1
push 0x65a140
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.006669bc
push dword [ebp - 0x98]
push 0x65a0f0
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 4]
call fcn.006669d8
push dword [ebp - 0x9c]
push 0x65a0f0
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00666984
push dword [ebp - 0xa0]
push 0x65a0f0
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
call fcn.006669a0
push dword [ebp - 0xa4]
push 0x65a0fc
lea eax, [ebp - 0x94]
mov edx, 9
call fcn.00404f4c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xac]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00409c98
mov edx, dword [ebp - 0xa8]
mov eax, 0x65a158
call fcn.004051d0
dec eax
jne 0x659155
push 0x65a170
lea edx, [ebp - 0xb4]
mov eax, dword [0x6e5144]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0xb4]
push 0x65a0fc
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xbc]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00409c98
mov edx, dword [ebp - 0xb8]
mov eax, 0x65a188
call fcn.004051d0
dec eax
jne 0x6591c9
push 0x65a19c
lea edx, [ebp - 0xc4]
mov eax, dword [0x6e500c]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0xc4]
push 0x65a0fc
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xcc]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.00409c98
mov edx, dword [ebp - 0xc8]
mov eax, 0x65a1b0
call fcn.004051d0
dec eax
jne 0x65923e
push 0x65a1c4
lea edx, [ebp - 0xd4]
mov eax, dword [0x6e4de8]
mov eax, dword [eax + 0x34]
call fcn.0040a458
push dword [ebp - 0xd4]
push 0x65a0fc
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xdc]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.00409c98
mov edx, dword [ebp - 0xd8]
mov eax, 0x65a1d8
call fcn.004051d0
dec eax
jne 0x6592b2
push 0x65a1f0
lea edx, [ebp - 0xe4]
mov eax, dword [0x6e3950]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0xe4]
push 0x65a0fc
lea eax, [ebp - 0xe0]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xec]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.00409c98
mov edx, dword [ebp - 0xe8]
mov eax, 0x65a208
call fcn.004051d0
dec eax
jne 0x659380
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [0x6e6688]
mov eax, dword [eax]
sub eax, 1
jb 0x6592ff
je 0x659324
jmp 0x659344
mov eax, dword [0x6e4804]
cmp dword [eax], 0
je 0x659344
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x6e4804]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
jmp 0x659344
mov eax, dword [0x6e4100]
cmp dword [eax], 0
je 0x659344
lea eax, [ebp - 0x3c]
push eax
push 0x32c
mov eax, dword [0x6e4100]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x65a224
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x3c]
call fcn.0040a458
push dword [ebp - 0xf4]
push 0x65a0fc
lea eax, [ebp - 0xf0]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xfc]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xf8]
call fcn.00409c98
mov edx, dword [ebp - 0xf8]
mov eax, 0x65a240
call fcn.004051d0
dec eax
jne 0x6593f4
push 0x65a254
lea edx, [ebp - 0x104]
mov eax, dword [0x6e4220]
mov eax, dword [eax]
call fcn.0040a458
push dword [ebp - 0x104]
push 0x65a0fc
lea eax, [ebp - 0x100]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x10c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409c98
mov edx, dword [ebp - 0x108]
mov eax, 0x65a268
call fcn.004051d0
dec eax
jne 0x659584
push 0x65a278
lea edx, [ebp - 0x114]
mov eax, dword [0x6e3618]
movsx eax, byte [eax]
call fcn.0040a458
push dword [ebp - 0x114]
push 0x65a0f0
lea edx, [ebp - 0x118]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 1]
call fcn.0040a458
push dword [ebp - 0x118]
push 0x65a0f0
lea edx, [ebp - 0x11c]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 2]
call fcn.0040a458
push dword [ebp - 0x11c]
push 0x65a0f0
lea edx, [ebp - 0x120]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 3]
call fcn.0040a458
push dword [ebp - 0x120]
push 0x65a0f0
lea edx, [ebp - 0x124]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 4]
call fcn.0040a458
push dword [ebp - 0x124]
push 0x65a0f0
lea edx, [ebp - 0x128]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 5]
call fcn.0040a458
push dword [ebp - 0x128]
push 0x65a0f0
lea edx, [ebp - 0x12c]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 6]
call fcn.0040a458
push dword [ebp - 0x12c]
push 0x65a0f0
lea edx, [ebp - 0x130]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 7]
call fcn.0040a458
push dword [ebp - 0x130]
push 0x65a0f0
lea edx, [ebp - 0x134]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 8]
call fcn.0040a458
push dword [ebp - 0x134]
push 0x65a0f0
lea edx, [ebp - 0x138]
mov eax, dword [0x6e3618]
movsx eax, byte [eax + 9]
call fcn.0040a458
push dword [ebp - 0x138]
push 0x65a0fc
lea eax, [ebp - 0x110]
mov edx, 0x15
call fcn.00404f4c
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x140]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00409c98
mov edx, dword [ebp - 0x13c]
mov eax, 0x65a288
call fcn.004051d0
dec eax
jne 0x6596e8
push 0x65a2ac
mov eax, dword [0x6e622c]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x148]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x148]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e6458]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x14c]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x14c]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e4960]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x150]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x150]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e634c]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x154]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x154]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e5308]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x158]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x158]
push 0x65a0b4
lea eax, [ebp - 0x144]
mov edx, 0xf
call fcn.00404f4c
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x160]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.00409c98
mov edx, dword [ebp - 0x15c]
mov eax, 0x65a2e8
call fcn.004051d0
dec eax
jne 0x65984c
push 0x65a308
mov eax, dword [0x6e4454]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x168]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x168]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e4654]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x16c]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x16c]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e60c8]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x170]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x170]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e4560]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x174]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x174]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e3468]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x178]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x178]
push 0x65a0b4
lea eax, [ebp - 0x164]
mov edx, 0xf
call fcn.00404f4c
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x180]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call fcn.00409c98
mov edx, dword [ebp - 0x17c]
mov eax, 0x65a328
call fcn.004051d0
dec eax
jne 0x6599b0
push 0x65a34c
mov eax, dword [0x6e4450]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x188]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x188]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e4650]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x18c]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x18c]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e60c4]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x190]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x190]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e455c]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x194]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x194]
push 0x65a2d0
push 0x65a2dc
mov eax, dword [0x6e3464]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x198]
push eax
mov ecx, 3
mov edx, 0xf
mov al, 2
call fcn.0040c344
push dword [ebp - 0x198]
push 0x65a0b4
lea eax, [ebp - 0x184]
mov edx, 0xf
call fcn.00404f4c
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x1a0]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.00409c98
mov edx, dword [ebp - 0x19c]
mov eax, 0x65a370
call fcn.004051d0
dec eax
jne 0x659ccc
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1a8]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1a8]
mov cl, 1
mov eax, 1
call fcn.005f41f0
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0xc]
call fcn.00409c48
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
add eax, 0xffffffbd
cmp eax, 0x12
ja case.0x659a33.67
mov al, byte [eax + 0x659a3a]
jmp dword [eax*4 + 0x659a4d]
mov dword [ebp - 0x2c], 0x80000000
jmp case.0x659a33.67
mov dword [ebp - 0x2c], 0x80000001
jmp case.0x659a33.67
mov dword [ebp - 0x2c], 0x80000002
jmp case.0x659a33.67
mov dword [ebp - 0x2c], 0x80000003
jmp case.0x659a33.67
mov dword [ebp - 0x2c], 0x80000005
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1ac]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1ac]
xor ecx, ecx
mov eax, 2
call fcn.005f41f0
lea eax, [ebp - 0x24]
call fcn.00404ba0
lea eax, [ebp - 0x28]
push eax
push 1
push 0
mov eax, dword [ebp - 0x38]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x659c00
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1b4]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1b4]
mov cl, 1
mov eax, 3
call fcn.005f41f0
mov eax, dword [ebp - 0x1b0]
lea edx, [ebp - 0xc]
call fcn.00409c48
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1b8]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1b8]
xor ecx, ecx
mov eax, 4
call fcn.005f41f0
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
sub al, 0x44
je 0x659b4f
sub al, 0xf
je 0x659b92
jmp 0x659bf7
mov eax, dword [ebp - 0x30]
mov dword [eax], 4
mov eax, dword [ebp - 0x34]
mov dword [eax], 4
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x659bf7
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0040a458
jmp 0x659bf7
mov eax, dword [ebp - 0x30]
mov dword [eax], 1
mov edx, dword [ebp - 0x34]
mov eax, 0x400
mov dword [edx], eax
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405218
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
call fcn.004050e4
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x659bf7
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
test eax, eax
jbe 0x659bf7
mov edx, eax
dec edx
lea eax, [ebp - 0x1c]
call fcn.00405218
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
call fcn.00404c38
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 0x24], 0
je 0x659ccc
push 0x65a388
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x1c4]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c4]
mov eax, 0x65a0fc
call fcn.004051d0
push eax
lea ecx, [ebp - 0x1c8]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c8]
mov eax, 0x65a3a0
call fcn.004051d0
inc eax
pop edx
sub edx, eax
push edx
lea ecx, [ebp - 0x1cc]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1cc]
mov eax, 0x65a3a0
call fcn.004051d0
inc eax
push eax
lea ecx, [ebp - 0x1d0]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1d0]
pop edx
pop ecx
call fcn.004050ec
push dword [ebp - 0x1c0]
push 0x65a3ac
push dword [ebp - 0x24]
push 0x65a0b4
lea eax, [ebp - 0x1bc]
mov edx, 5
call fcn.00404f4c
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x658ef5
mov edx, 4
mov eax, dword [ebp - 0x30]
call fcn.00402b78
mov edx, 4
mov eax, dword [ebp - 0x34]
call fcn.00402b78
mov eax, dword [0x6e5088]
cmp byte [eax], 0
jne 0x659dd2
lea eax, [ebp - 0x1d4]
push eax
lea edx, [ebp - 0x1d8]
mov eax, dword [0x6e4de8]
mov eax, dword [eax]
call fcn.004972dc
mov eax, dword [ebp - 0x1d8]
mov edx, dword [0x6e4de8]
mov edx, dword [edx]
call fcn.00405860
mov ecx, eax
mov eax, dword [0x6e4de8]
mov eax, dword [eax]
mov edx, 1
call fcn.004056e8
mov eax, dword [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1dc]
mov edx, dword [0x6e3ba4]
mov edx, dword [edx]
call fcn.004054bc
mov ecx, dword [ebp - 0x1dc]
lea eax, [ebp - 8]
pop edx
call fcn.004055b4
mov eax, dword [0x6e6348]
cmp byte [eax], 1
jne 0x659e03
mov eax, dword [0x6e5118]
push dword [eax]
lea eax, [ebp - 0x1e0]
mov edx, dword [0x6e4eb4]
mov edx, dword [edx]
call fcn.004054bc
push dword [ebp - 0x1e0]
lea edx, [ebp - 0x1e4]
mov eax, dword [0x6e4de8]
mov eax, dword [eax]
call fcn.004972a4
push dword [ebp - 0x1e4]
push 0x65a3b4
lea edx, [ebp - 0x1e8]
mov eax, dword [ebp - 8]
call fcn.004972a4
push dword [ebp - 0x1e8]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040561c
jmp 0x659e03
mov eax, dword [0x6e5050]
mov eax, dword [eax]
call fcn.004973c0
test al, al
jne 0x659dee
mov eax, dword [0x6e5050]
mov eax, dword [eax]
call fcn.00497420
mov edx, dword [0x6e5050]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x65a3bc
call fcn.004055b4
xor eax, eax
push ebp
push 0x659e34
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x494264]
call fcn.004952cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x659eff
test ebx, ebx
je 0x659f36
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, ebx
call fcn.00403c70
lea edx, [ebp - 0x1fc]
mov eax, dword [0x6e53f8]
mov eax, dword [eax]
call fcn.005d1eec
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.00675eb4
jmp 0x659f56
lea edx, [ebp - 0x200]
mov eax, dword [0x6e4dac]
mov eax, dword [eax]
call fcn.005d1eec
mov edx, dword [ebp - 0x200]
mov eax, dword [ebp - 4]
call fcn.00675eb4
mov eax, dword [ebp - 0x18]
call fcn.00403c70
mov eax, dword [ebp - 0x14]
call fcn.00403c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65a00a
lea eax, [ebp - 0x200]
mov edx, 0xc
call fcn.004052f0
lea eax, [ebp - 0x1d0]
mov edx, 0x57
call fcn.00404bc4
lea eax, [ebp - 0x70]
call fcn.00404ba0
lea eax, [ebp - 0x74]
call fcn.00404ba0
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0x58]
call fcn.00404ba0
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.004052f0
lea eax, [ebp - 0x38]
call fcn.00404ba0
lea eax, [ebp - 0x24]
call fcn.00404ba0
lea eax, [ebp - 0x1c]
call fcn.00404ba0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 8]
call fcn.004052d8
ret