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

Disassembly:
push ebp
sub esp, 0xb4
lea ebp, [esp - 4]
mov eax, dword [0x10099790]
xor eax, ebp
mov dword [ebp + 0xb4], eax
push 0x28
mov eax, 0x10077fa9
call fcn.1005fff9
mov dword [ebp - 0x2c], edx
mov esi, ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x71], 0x73776f72
mov dword [ebp + 0x50], 0x50207377
mov byte [ebp + 0x63], 0x2e
mov word [ebp + 5], 0x7261
mov dword [ebp + 0x6b], 0x736d2e61
mov dword [ebp + 1], 0x7774666f
mov dword [ebp + 0x66], 0x61206565
mov dword [ebp + 8], 0x63694d5c
mov dword [ebp + 0x7a], 0x796369
mov dword [ebp + 0x22], 0x455c7265
mov word [ebp + 0x3a], 0x2073
mov word [ebp + 0x60], 0x6669
mov word [ebp + 0x20], 0x726f
mov dword [ebp + 0x56], 0x20796369
mov word [ebp + 0x10], 0x7466
mov word [ebp + 0x2e], 0x6365
mov byte [ebp + 0x4a], 0x20
mov word [ebp + 0x6f], 0x622f
mov dword [ebp + 0x27], 0x50205050
mov dword [ebp + 0x13], 0x65746e49
mov word [ebp + 0x37], 0x2074
mov dword [ebp + 0x46], 0x666f206e
mov byte [ebp + 0x6a], 0x6b
mov dword [ebp + 0x3c], 0x69762061
mov word [ebp + 0xd], 0x736f
mov dword [ebp + 0x75], 0x6f707265
mov word [ebp + 0x64], 0x5320
mov word [ebp + 0x34], 0x202d
mov byte [ebp + 0x39], 0x69
mov word [ebp + 0x5a], 0x6f74
mov byte [ebp], 0x53
mov word [ebp + 0x5d], 0x6f6d
mov dword [ebp + 0x1b], 0x70784520
mov word [ebp + 0x2b], 0x6f72
mov dword [ebp + 0x40], 0x74616c6f
mov byte [ebp + 0xf], 0x6f
mov dword [ebp + 0x17], 0x74656e72
mov byte [ebp + 0xc], 0x72
mov word [ebp + 0x31], 0x6465
mov byte [ebp + 0x36], 0x49
mov byte [ebp + 0x33], 0x20
mov word [ebp + 0x4e], 0x6f64
mov byte [ebp + 0x12], 0x5c
mov word [ebp + 0x4b], 0x6957
mov byte [ebp + 0x79], 0x6c
mov byte [ebp + 7], 0x65
mov byte [ebp + 0x5f], 0x64
mov byte [ebp + 0x2d], 0x74
mov word [ebp + 0x54], 0x6c6f
mov byte [ebp + 0x1f], 0x6c
mov byte [ebp + 0x30], 0x74
mov word [ebp + 0x44], 0x6f69
mov byte [ebp + 0x26], 0x55
mov byte [ebp + 0x4d], 0x6e
mov byte [ebp + 0x62], 0x79
mov byte [ebp + 0x5c], 0x20
mov dword [ebp + 0xa4], 0x6f4e6f44
mov word [ebp + 0xaf], 0x6e69
mov dword [ebp + 0xaa], 0x67416b73
mov byte [ebp + 0xb1], bl
mov word [ebp + 0xa8], 0x4174
mov byte [ebp + 0xae], 0x61
mov dword [ebp + 0x90], 0x6d6f63
mov dword [ebp + 0x8c], 0x2e6f6f68
mov word [ebp + 0x81], 0x2e73
mov dword [ebp + 0x84], 0x63726165
mov byte [ebp + 0x80], 0x75
mov dword [ebp + 0x88], 0x61792e68
mov byte [ebp + 0x83], 0x73
mov dword [ebp + 0x9d], 0x504844
mov byte [ebp + 0x9c], 0x5c
call fcn.1000866c
lea ecx, [ebp + 0x9c]
mov dword [ebp - 4], ebx
push ecx
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.10008a44
pop ecx
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push ebx
mov ecx, eax
call fcn.100016ac
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x10]
sbb bl, bl
call fcn.100086b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100086b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc bl
je 0x10005083
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp + 0xa4]
push eax
push dword [ebp - 0x20]
mov byte [esi], 1
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x10005078
cmp dword [ebp - 0x14], ebx
jbe 0x10005078
push dword [ebp - 0x14]
call fcn.100579e5
pop ecx
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp + 0xa4]
push eax
push dword [ebp - 0x20]
call edi
test eax, eax
jne 0x1000506e
push dword [ebp - 0x14]
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.10004d6d
lea eax, [ebp + 0x80]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000892b
test eax, eax
js 0x10005066
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
lea ecx, [ebp - 0x10]
call fcn.100086b0
push esi
call fcn.10059a38
mov esi, dword [ebp - 0x24]
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10005085
xor ebx, ebx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x95], 0x505344
mov byte [ebp + 0x94], 0x5c
call fcn.1000866c
lea ecx, [ebp + 0x94]
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.10008a44
pop ecx
lea ecx, [ebp - 0x28]
push ecx
push 0x20019
push ebx
mov ecx, eax
call fcn.100016ac
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x24]
sbb bl, bl
call fcn.100086b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100086b0
inc bl
je 0x1000518b
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp + 0xa4]
push eax
push dword [ebp - 0x28]
mov byte [esi], 1
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x10005182
cmp dword [ebp - 0x18], ebx
jbe 0x10005182
push dword [ebp - 0x18]
call fcn.100579e5
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp + 0xa4]
push eax
push dword [ebp - 0x28]
call edi
test eax, eax
jne 0x1000517b
push dword [ebp - 0x18]
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.10004d6d
lea eax, [ebp + 0x80]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000892b
test eax, eax
js 0x10005173
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
lea ecx, [ebp - 0x34]
call fcn.100086b0
push esi
call fcn.10059a38
pop ecx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb4]
xor ecx, ebp
call fcn.1005801c
add ebp, 0xb8
leave
ret