Function at 0x41ea50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60d8cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x6beb0c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
xor ebx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x3c], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3ec]
cmp esi, ebx
je 0x41ebe5
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3d8], ebx
mov dword [esp + 0x14], eax
lea eax, [esi - 2]
mov byte [esp + 0x3d8], 1
cmp eax, 0xd
ja case.0x41ead4.9
jmp dword [eax*4 + 0x41f078]
push 0x6bc920
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6bc920
jmp 0x41eb95
push 0x6bc8f0
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6bc8e8
jmp 0x41eb95
push 0x6beb04
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6beb04
jmp 0x41eb95
push 0x6beafc
jmp 0x41eb72
push 0x6beaf4
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6beaf4
jmp 0x41eb95
push 0x6bd5f8
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6bd604
jmp 0x41eb95
push 0x6beae4
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6bead8
jmp 0x41eb95
push 0x6beacc
jmp 0x41eb72
push 0x6beac0
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6beab4
jmp 0x41eb95
push 0x6bc488
lea ecx, [esp + 0x18]
call fcn.005fa9e2
push 0x6beaac
lea ecx, [esp + 0x14]
call fcn.005fa9e2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push eax
push ecx
lea edx, [esp + 0x258]
push 0x6bea84
push edx
call fcn.005deb38
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x3d8], 0
call fcn.005fa859
lea ecx, [esp + 0x10]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005fa859
jmp 0x41ebff
push 0x6bea70
lea eax, [esp + 0x250]
push 0x6bea5c
push eax
call fcn.005deb38
add esp, 0xc
lea ecx, [esp + 0x28]
xor edi, edi
push ecx
push 0x20019
push ebx
push 0x6bea30
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ec5b
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
lea eax, [esp + 0x2cc]
push edx
push eax
push ebx
push ebx
push 0x6bea20
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ec50
mov edi, 1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3e0]
lea ecx, [esp + 0x24c]
push eax
push ecx
push 0x10001004
lea edx, [esp + 0x4c]
push ebx
push edx
push 1
lea ecx, [esp + 0x6c]
call fcn.005f3924
mov eax, dword [0x6ed0d4]
cmp edi, ebx
mov dword [esp + 0x3d8], 2
mov dword [esp + 0xe0], eax
je 0x41ecaa
lea ecx, [esp + 0x2cc]
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x54]
call fcn.005f3a86
cmp eax, 1
je 0x41ecea
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 3
call fcn.005fa859
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005f6497
xor eax, eax
jmp 0x41f05c
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call fcn.005f3b61
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e0], 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.00402d00
lea ecx, [esp + 0x10]
mov byte [esp + 0x3d8], 6
call fcn.005fa859
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov eax, ecx
jne 0x41ed39
lea eax, [esp + 0x20]
mov edx, 0x6bc090
test edx, edx
je 0x41ee2d
cmp eax, ebx
je 0x41ee2d
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
call fcn.004023e0
mov esi, dword [esp + 0x3e8]
mov byte [esp + 0x3d8], 7
mov ecx, esi
call fcn.00401070
push 0x6bc090
lea ecx, [esp + 0x4c]
call fcn.00402350
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x30]
mov byte [esp + 0x3d8], 8
call fcn.004023d0
push eax
call fcn.005de123
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x41edfa
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x30]
call fcn.004023d0
push eax
lea ecx, [esp + 0x4c]
call fcn.004023d0
push eax
mov eax, dword [esi]
push ebp
push eax
call fcn.005de0b3
mov ecx, dword [esi]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3d8], 7
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x3d8], 6
call fcn.00401070
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3ec]
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, ebx
jne 0x41ef10
cmp ecx, ebx
mov eax, ecx
jne 0x41ee3f
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0041a7e0
mov esi, eax
cmp esi, 1
jne 0x41eea7
mov edx, dword [0x6ed13c]
mov eax, dword [0x6ed0e4]
push 0x40
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 9
call fcn.005fa859
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005f6497
xor eax, eax
jmp 0x41f05c
jge 0x41ef0c
cmp dword [esp + 0x3f0], ebx
jne 0x41eec9
mov ecx, dword [0x6ed13c]
mov edx, dword [0x6ed0e0]
push 0x30
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xa
call fcn.005fa859
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005f6497
xor eax, eax
jmp 0x41f05c
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x18], eax
cmp esi, 3
mov byte [esp + 0x3d8], 0xb
je 0x41ef37
cmp esi, 5
je 0x41ef37
cmp esi, 8
je 0x41ef37
mov eax, 1
jmp 0x41ef39
xor eax, eax
cmp ecx, ebx
jne 0x41ef41
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push eax
push edx
push ecx
call fcn.0040e4f0
add esp, 0xc
test eax, eax
jne 0x41ef62
push 0x6be6b8
lea ecx, [esp + 0x1c]
call fcn.005fa9e2
xor edi, edi
cmp esi, 2
jne 0x41ef7d
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
push 9
call fcn.0041b4e0
test eax, eax
je 0x41ef87
jmp 0x41ef82
cmp esi, 0xf
jne 0x41ef87
mov edi, 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x41ef97
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edi
push edx
push eax
push esi
mov ecx, ebp
call fcn.0041b120
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x41f004
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d8], 6
call fcn.005fa859
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xc
call fcn.005fa859
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005f6497
xor eax, eax
jmp 0x41f05c
mov ecx, dword [esp + 0x3e4]
mov byte [esp + 0x3d8], 6
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.005fa859
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 2
call fcn.00401070
lea ecx, [esp + 0x100]
mov dword [esp + 0x3d8], 0xd
call fcn.005fa859
lea ecx, [esp + 0x54]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005f6497
mov eax, esi
mov ecx, dword [esp + 0x3d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3cc
ret 0x14