Function at 0x5f0788
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff994
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0xc8], 0x6e58e4
mov dword [ebp - 0xc4], esp
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xc0], 0
mov dword [ebp - 0xb4], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0xd0], ecx
lea eax, [ebp - 0xd0]
mov dword fs:[0], eax
lea edx, [ebp - 0xd4]
push edx
push 0x20019
push 0
push 0x6dd6a2
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5f170c
xor ecx, ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], 0xc8
mov dword [ebp - 0xe0], 0x1f4
jmp 0x5f16c5
lea eax, [ebp - 0x328]
push eax
call fcn.006a51a0
pop ecx
mov ebx, eax
test ebx, ebx
jle 0x5f16ab
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x5f16ab
mov word [ebp - 0xc0], 8
xor eax, eax
lea edx, [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov eax, 0x6ff378
mov dword [ebp - 0x68], eax
mov eax, 0x6ff36c
mov ecx, dword [edx + 8]
cmp eax, 0x6ff36c
mov dword [ebp - 0x524], ecx
je 0x5f087c
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x60]
mov eax, 0x6ff378
mov dword [ebp - 0x58], eax
mov eax, 0x6ff36c
mov ecx, dword [edx + 8]
cmp eax, 0x6ff36c
mov dword [ebp - 0x534], ecx
je 0x5f08b1
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x50]
mov eax, 0x6ff378
mov dword [ebp - 0x48], eax
mov eax, 0x6ff36c
mov ecx, dword [edx + 8]
cmp eax, 0x6ff36c
mov dword [ebp - 0x544], ecx
je 0x5f08e6
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
mov eax, 0x6ff378
mov dword [ebp - 0x38], eax
mov eax, 0x6ff36c
mov ecx, dword [edx + 8]
cmp eax, 0x6ff36c
mov dword [ebp - 0x554], ecx
je 0x5f091b
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
xor edx, edx
mov dword [ebp - 0xe4], edx
lea edx, [ebp - 0x30]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xe8], 0x6ff378
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xec], edx
mov ecx, dword [ebp - 0xec]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x564], eax
je 0x5f0974
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
inc dword [ebp - 0xb4]
xor ecx, ecx
mov word [ebp - 0xc0], 0x50
mov word [ebp - 0xc0], 0x5c
mov dword [ebp - 0x94], ecx
xor eax, eax
mov dword [ebp - 0x90], eax
xor edx, edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0xf0], 0x40
mov dword [ebp - 0xf4], 1
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf0]
cmp ecx, eax
jbe 0x5f09d3
lea edx, [ebp - 0xf4]
jmp 0x5f09d9
lea edx, [ebp - 0xf0]
mov eax, dword [edx]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xfc]
inc dword [ebp - 0xb4]
lea edx, [ebp - 0x51c]
mov word [ebp - 0xc0], 0x50
push ecx
lea ecx, [ebp - 0xa8]
mov word [ebp - 0xc0], 0x74
push eax
push edx
push ecx
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0xb4]
lea eax, [ebp - 0xa8]
push eax
call fcn.004466c0
add esp, 8
dec dword [ebp - 0xb4]
mov edx, dword [ebp - 0xa0]
test edx, edx
je 0x5f0ae2
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x5f0a88
mov esi, dword [ebp - 0xa0]
add esi, 0xfffffff4
cmp esi, 0x6ff36c
je 0x5f0a7f
cmp esi, 0x6ff36c
je 0x5f0a78
push esi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [esi]
inc eax
jmp 0x5f0a84
mov eax, 1
jmp 0x5f0a84
mov eax, 1
test eax, eax
jne 0x5f0ae2
mov edx, dword [ebp - 0xa0]
add edx, 0xfffffff4
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff4
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0x104]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x108], edx
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x574], ecx
mov word [ebp - 0xc0], 0x50
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 0x78], 2
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 1
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
sub eax, edx
test eax, eax
jns 0x5f0b16
add eax, 0xf
sar eax, 4
cmp eax, 1
jb 0x5f0b31
mov ecx, dword [ebp - 0x94]
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0069a2e0
add esp, 8
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
sub edx, ecx
test edx, edx
jns 0x5f0b46
add edx, 0xf
sar edx, 4
cmp edx, 2
jb 0x5f0b64
mov eax, dword [ebp - 0x94]
add eax, 0x10
push eax
lea edx, [ebp - 0x60]
push edx
call fcn.0069a2e0
add esp, 8
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
sub ecx, eax
test ecx, ecx
jns 0x5f0b79
add ecx, 0xf
sar ecx, 4
cmp ecx, 3
jb 0x5f0ba2
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp - 0x110]
push eax
call fcn.006a51a0
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x5f0ba9
mov dword [ebp - 0xc], 0x15
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
sub edx, ecx
test edx, edx
jns 0x5f0bbe
add edx, 0xf
sar edx, 4
cmp edx, 4
jb 0x5f0bdc
mov eax, dword [ebp - 0x94]
add eax, 0x30
push eax
lea edx, [ebp - 0x50]
push edx
call fcn.0069a2e0
add esp, 8
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
sub ecx, eax
test ecx, ecx
jns 0x5f0bf1
add ecx, 0xf
sar ecx, 4
cmp ecx, 5
jb 0x5f0c43
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 0x48]
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp - 0x118]
push eax
call fcn.006a51a0
pop ecx
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
sub edx, 1
jb 0x5f0c2d
je 0x5f0c33
dec edx
je 0x5f0c39
jmp 0x5f0c3f
mov byte [ebp - 0x20], 0
jmp 0x5f0c43
mov byte [ebp - 0x20], 1
jmp 0x5f0c43
mov byte [ebp - 0x20], 2
jmp 0x5f0c43
mov byte [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
add ecx, 0x38
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [eax + 8]
mov eax, dword [ecx + 0x18]
cmp edx, eax
je 0x5f12f3
mov edx, dword [ebp - 0x11c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xac], eax
test eax, eax
je 0x5f12e7
mov word [ebp - 0xc0], 0x98
mov edx, dword [ebp - 0xac]
mov cl, byte [ebp - 0x78]
xor eax, eax
mov byte [edx], cl
mov ebx, dword [ebp - 0xac]
mov dword [ebp - 0x124], eax
add ebx, 8
mov edx, dword [ebp - 0x124]
mov dword [ebx + 8], edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x5f0d1c
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x128], edx
mov ecx, dword [ebp - 0x128]
mov dword [ebx + 8], ecx
mov dword [ebp - 0x12c], ebx
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x584], edx
mov ecx, dword [ebx + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x130], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x130]
cmp eax, edx
je 0x5f0dad
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5f0dad
mov eax, dword [ebp - 0x68]
mov edx, dword [eax - 4]
mov dword [ebp - 0x134], edx
mov ecx, dword [ebp - 0x134]
push ecx
mov eax, dword [ebp - 0x134]
push eax
push ebx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
add edx, 0xc
mov dword [ebp - 0x138], edx
mov ecx, dword [ebp - 0x138]
mov dword [ebx + 8], ecx
mov dword [ebp - 0x140], ebx
mov eax, dword [ebp - 0x140]
mov edx, dword [eax + 8]
mov dword [ebp - 0x594], edx
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x148], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x144]
push ecx
mov eax, dword [ebp - 0x148]
push eax
mov edx, dword [ebp - 0x14c]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xb4]
xor eax, eax
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0x150], eax
add esi, 0x18
mov edx, dword [ebp - 0x150]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x5f0e2f
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x154], edx
mov ecx, dword [ebp - 0x154]
mov dword [esi + 8], ecx
mov dword [ebp - 0x158], esi
mov eax, dword [ebp - 0x158]
mov edx, dword [eax + 8]
mov dword [ebp - 0x5a4], edx
mov ecx, dword [esi + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x15c], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x15c]
cmp eax, edx
je 0x5f0ec0
mov ecx, dword [ebp - 0x15c]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5f0ec0
mov eax, dword [ebp - 0x58]
mov edx, dword [eax - 4]
mov dword [ebp - 0x160], edx
mov ecx, dword [ebp - 0x160]
push ecx
mov eax, dword [ebp - 0x160]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
add edx, 0xc
mov dword [ebp - 0x164], edx
mov ecx, dword [ebp - 0x164]
mov dword [esi + 8], ecx
mov dword [ebp - 0x16c], esi
mov eax, dword [ebp - 0x16c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x5b4], edx
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x170], ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x174], eax
mov edx, dword [esi + 8]
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x170]
push ecx
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [ebp - 0x178]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xb4]
xor eax, eax
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x17c], eax
add edi, 0x28
mov edx, dword [ebp - 0x17c]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x5f0f42
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x180], edx
mov ecx, dword [ebp - 0x180]
mov dword [edi + 8], ecx
mov dword [ebp - 0x184], edi
mov eax, dword [ebp - 0x184]
mov edx, dword [eax + 8]
mov dword [ebp - 0x5c4], edx
mov ecx, dword [edi + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x188], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x188]
cmp eax, edx
je 0x5f0fd3
mov ecx, dword [ebp - 0x188]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5f0fd3
mov eax, dword [ebp - 0x48]
mov edx, dword [eax - 4]
mov dword [ebp - 0x18c], edx
mov ecx, dword [ebp - 0x18c]
push ecx
mov eax, dword [ebp - 0x18c]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
add edx, 0xc
mov dword [ebp - 0x190], edx
mov ecx, dword [ebp - 0x190]
mov dword [edi + 8], ecx
mov dword [ebp - 0x198], edi
mov eax, dword [ebp - 0x198]
mov edx, dword [eax + 8]
mov dword [ebp - 0x5d4], edx
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x19c], ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1a0], eax
mov edx, dword [edi + 8]
mov dword [ebp - 0x1a4], edx
mov ecx, dword [ebp - 0x19c]
push ecx
mov eax, dword [ebp - 0x1a0]
push eax
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xb4]
xor eax, eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x38
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x5f1073
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1b0], ecx
mov eax, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1b0]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b4], ecx
mov eax, dword [ebp - 0x1b4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x5e4], edx
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [ecx + 8]
add eax, 0xfffffff4
mov dword [ebp - 0x1b8], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x1b8]
cmp edx, ecx
je 0x5f111c
mov eax, dword [ebp - 0x1b8]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5f111c
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x1bc], ecx
mov eax, dword [ebp - 0x1bc]
push eax
mov edx, dword [ebp - 0x1bc]
push edx
mov ecx, dword [ebp - 0x1a8]
push ecx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
add eax, 0xc
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1c0]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x5f4], ecx
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1d0], edx
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1cc]
push edx
mov ecx, dword [ebp - 0x1d0]
push ecx
mov eax, dword [ebp - 0x1d4]
push eax
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xb4]
xor ecx, ecx
mov edx, dword [ebp - 0xac]
add edx, 0x48
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], ecx
mov eax, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1dc]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x5f11bc
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1e0], edx
mov ecx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1e0]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e4], edx
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x604], eax
mov edx, dword [ebp - 0x1d8]
mov ecx, dword [edx + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x1e8], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x1e8]
cmp eax, edx
je 0x5f1265
mov ecx, dword [ebp - 0x1e8]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5f1265
mov eax, dword [ebp - 0x28]
mov edx, dword [eax - 4]
mov dword [ebp - 0x1ec], edx
mov ecx, dword [ebp - 0x1ec]
push ecx
mov eax, dword [ebp - 0x1ec]
push eax
mov edx, dword [ebp - 0x1d8]
push edx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
add ecx, 0xc
mov dword [ebp - 0x1f0], ecx
mov eax, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1f0]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f8], ecx
mov eax, dword [ebp - 0x1f8]
mov edx, dword [eax + 8]
mov dword [ebp - 0x614], edx
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x1d8]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x204], ecx
mov eax, dword [ebp - 0x1fc]
push eax
mov edx, dword [ebp - 0x200]
push edx
mov ecx, dword [ebp - 0x204]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xb4]
mov eax, dword [ebp - 0xac]
mov dl, byte [ebp - 0x20]
mov byte [eax + 0x58], dl
mov ecx, dword [ebp - 0xac]
mov al, byte [ebp - 0x1f]
mov byte [ecx + 0x59], al
mov edx, dword [ebp - 0xac]
mov cl, byte [ebp - 0x1e]
mov byte [edx + 0x5a], cl
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x68], edx
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 8]
mov dword [edx + 0x70], ecx
add dword [ebp - 0xb4], 0xfffffffb
mov word [ebp - 0xc0], 0x8c
mov eax, dword [ebp - 0x11c]
add dword [eax + 8], 0x78
jmp 0x5f1310
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx + 8]
push eax
mov edx, dword [ebp - 0x11c]
push edx
call fcn.005a29dc
add esp, 0xc
dec dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
push edx
call fcn.0040445c
add esp, 0xc
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x208], ecx
mov eax, dword [ebp - 0x208]
push eax
call fcn.0067ac7c
pop ecx
mov word [ebp - 0xc0], 0x50
dec dword [ebp - 0xb4]
dec dword [ebp - 0xb4]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x5f13f6
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x5f13a8
mov ebx, dword [ebp - 0x28]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5f139f
cmp ebx, 0x6ff36c
je 0x5f1398
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5f13a4
mov eax, 1
jmp 0x5f13a4
mov eax, 1
test eax, eax
jne 0x5f13f6
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff4
mov dword [ebp - 0x20c], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x214], edx
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x218]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x624], ecx
dec dword [ebp - 0xb4]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x5f1491
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5f1443
mov ebx, dword [ebp - 0x38]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5f143a
cmp ebx, 0x6ff36c
je 0x5f1433
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5f143f
mov eax, 1
jmp 0x5f143f
mov eax, 1
test eax, eax
jne 0x5f1491
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff4
mov dword [ebp - 0x21c], edx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x224], edx
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x634], ecx
dec dword [ebp - 0xb4]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x5f152c
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5f14de
mov ebx, dword [ebp - 0x48]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5f14d5
cmp ebx, 0x6ff36c
je 0x5f14ce
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5f14da
mov eax, 1
jmp 0x5f14da
mov eax, 1
test eax, eax
jne 0x5f152c
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff4
mov dword [ebp - 0x22c], edx
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff4
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x230]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x234], edx
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x644], ecx
dec dword [ebp - 0xb4]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5f15e7
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5f1599
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
mov dword [ebp - 0x23c], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x23c]
cmp edx, ecx
je 0x5f1590
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x23c]
cmp eax, edx
je 0x5f1589
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x23c]
mov edx, dword [eax]
inc edx
jmp 0x5f1595
mov edx, 1
jmp 0x5f1595
mov edx, 1
test edx, edx
jne 0x5f15e7
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff4
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp - 0x244]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x248], edx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x654], ecx
dec dword [ebp - 0xb4]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5f16a2
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5f1654
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff4
mov dword [ebp - 0x250], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x250]
cmp edx, ecx
je 0x5f164b
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x250]
cmp eax, edx
je 0x5f1644
mov ecx, dword [ebp - 0x250]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x250]
mov edx, dword [eax]
inc edx
jmp 0x5f1650
mov edx, 1
jmp 0x5f1650
mov edx, 1
test edx, edx
jne 0x5f16a2
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff4
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff4
mov dword [ebp - 0x258], ecx
mov eax, dword [ebp - 0x258]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x25c], edx
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x664], ecx
mov word [ebp - 0xc0], 0
inc dword [ebp - 0xd8]
mov dword [ebp - 0xdc], 0xc8
mov dword [ebp - 0xe0], 0x1f4
lea eax, [ebp - 0xe0]
push eax
lea edx, [ebp - 0x51c]
push edx
push 0
push 0
lea ecx, [ebp - 0xdc]
push ecx
lea eax, [ebp - 0x328]
push eax
mov edx, dword [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0xd4]
push ecx
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
je 0x5f081f
mov eax, dword [ebp - 0xd4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov edx, dword [ebp - 0xd0]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret