Function at 0x403950
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4089eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x52c
push ebx
push ebp
push esi
push edi
push str.203.208.37.104
call fcn.00403520
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x440]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x440]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push ecx
xor ebx, ebx
push eax
push edx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
call fcn.00403810
add esp, 0x14
cmp eax, ebx
je 0x4039d0
or eax, 0xffffffff
jmp 0x403c68
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40d49c
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call fcn.00407b56
lea ecx, [esp + 0x20]
mov dword [esp + 0x544], ebx
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x403a36
lea ecx, [esp + 0x10]
mov dword [esp + 0x544], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffe
jmp 0x403c68
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
lea eax, [esp + 0x348]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x403bee
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x238]
lea edx, [esp + 0x338]
rep stosd dword es:[edi], eax
push edx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
lea eax, [esp + 0x240]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x148]
lea edx, [esp + 0x248]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x148]
push ecx
push str.Description
push edx
push reloc.WSOCK32.dll_bind
call fcn.004038c0
add esp, 0x20
test eax, eax
je 0x403ba8
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x138]
push ecx
lea ecx, [esp + 0x440]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x403ba8
mov ecx, 0x40
lea edi, [esp + 0x138]
lea edx, [esp + 0x138]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x23c]
push str.ServiceName
push eax
push reloc.WSOCK32.dll_bind
call fcn.004038c0
lea ecx, [esp + 0x148]
lea edx, [esp + 0x20]
push ecx
push str.__.__s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push eax
call esi
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ebx
push ecx
lea eax, [esp + 0x40]
push 0x100
push eax
lea ecx, [esp + 0x3c]
push 4
push ecx
push 0x170002
push edx
mov dword [esp + 0x4c], 0x1010101
call ebp
test eax, eax
jne 0x403c81
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x338]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
lea ecx, [esp + 0x348]
inc eax
push edx
mov edx, dword [esp + 0x34]
push ecx
push eax
push edx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x48], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x403a73
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x19]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x17]
and ecx, 0xff
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x1a]
and eax, 0xff
push edx
mov edx, dword [esp + 0x1d]
push eax
mov eax, dword [esp + 0x20]
and ecx, 0xff
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x55c]
and eax, 0xff
push edx
push eax
push str._02x:_02x:_02x:_02x:_02x:_02x
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
lea ecx, [esp + 0x10]
mov dword [esp + 0x544], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x538
ret
mov edx, dword [esp + 0x54c]
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3d]
mov ecx, dword [esp + 0x3c]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x3f]
push ecx
mov ecx, dword [esp + 0x42]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x45]
push ecx
mov ecx, dword [esp + 0x48]
and eax, 0xff
and ecx, 0xff
push eax
push ecx
push str._02x:_02x:_02x:_02x:_02x:_02x
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x40]
add esp, 0x20
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x544], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x403c68