Function at 0x100021e2
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007804c
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x10099790]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099790]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x30]
call fcn.10008cbc
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
mov dword [esp + 0x32c], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push ebx
push ebx
mov ebp, reloc.WS2_32.dll_closesocket
push ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100022d9
mov esi, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x100]
push eax
push esi
push ebp
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100022d2
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x6c]
call fcn.10007e99
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x30c], 1
call fcn.10008cc9
lea ecx, [esp + 0x68]
mov byte [esp + 0x308], bl
call fcn.10007f83
inc esi
cmp esi, dword [esp + 0x18]
jb 0x1000227a
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
lea eax, [esp + 0xb8]
push eax
push reloc.WS2_32.dll_bind
mov dword [esp + 0xad], 0x69666f72
mov dword [esp + 0xb3], 0x67616d49
mov dword [esp + 0xb7], 0x74615065
mov word [esp + 0xbb], 0x68
mov word [esp + 0xb1], 0x656c
mov byte [esp + 0xac], 0x50
mov dword [esp + 0xf7], 0x73694c65
mov dword [esp + 0xdc], 0x5c544e20
mov dword [esp + 0xf2], 0x69666f72
mov dword [esp + 0xcd], 0x6f736f72
mov word [esp + 0xec], 0x6f69
mov dword [esp + 0xc8], 0x694d5c5c
mov word [esp + 0xc3], 0x5754
mov dword [esp + 0xd1], 0x5c5c7466
mov word [esp + 0xc6], 0x4552
mov word [esp + 0xd5], 0x6957
mov dword [esp + 0xd8], 0x73776f64
mov word [esp + 0xef], 0x5c5c
mov word [esp + 0xc0], 0x4f53
mov byte [esp + 0xd7], 0x6e
mov word [esp + 0xfb], 0x74
mov word [esp + 0xe1], 0x7543
mov dword [esp + 0xe4], 0x746e6572
mov byte [esp + 0xee], 0x6e
mov dword [esp + 0xe8], 0x73726556
mov byte [esp + 0xc5], 0x41
mov byte [esp + 0xe3], 0x72
mov byte [esp + 0xcc], 0x63
mov byte [esp + 0xe0], 0x5c
mov byte [esp + 0xf1], 0x50
mov byte [esp + 0xc2], 0x46
mov byte [esp + 0xf6], 0x6c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002625
push ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x48]
call edi
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1000261f
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x100]
push eax
push ebx
push dword [esp + 0x38]
mov dword [esp + 0x58], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10002614
and dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002614
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x1f8]
push eax
lea eax, [esp + 0x58]
push eax
push 0
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x58], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000260e
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x84]
call fcn.10007e99
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x30c], 2
call fcn.10008015
mov edi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x84]
call fcn.10008043
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x84]
call fcn.10008015
push dword [edi]
lea ecx, [esp + 0x68]
push dword [esi]
push dword [eax]
call fcn.1000c762
pop ecx
lea ecx, [esp + 0x88]
call fcn.10008088
cmp eax, 0xffffffff
je 0x100025fa
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x6c]
call fcn.10007e99
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x30c], 3
call fcn.10008d1f
mov edi, eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x34]
call fcn.10008d05
mov esi, eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
call fcn.10008d1f
push eax
push dword [edi]
lea edx, [esp + 0x70]
push dword [esi]
lea ecx, [esp + 0x54]
call fcn.1000c7ab
pop ecx
pop ecx
mov ecx, eax
call fcn.10008d58
test al, al
je 0x100025f1
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x68]
push eax
call fcn.10008d32
lea ecx, [esp + 0x68]
call fcn.10007f83
lea ecx, [esp + 0x80]
mov byte [esp + 0x308], 0
call fcn.10007f83
push dword [esp + 0x20]
call ebp
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x1000247e
push dword [esp + 0x1c]
call ebp
lea ecx, [esp + 0x30]
call fcn.10008cf5
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.1005801c
add esp, 0x2f8
ret