Function at 0x4103b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x56ef90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
push 0xffffffffffffffff
push ebp
mov ecx, edi
call fcn.00557606
mov eax, dword [0x5e8e38]
mov dword [esp + 0x20], eax
push 0x200
mov dword [esp + 0x30], ebp
call fcn.00558a23
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
lea ecx, [esp + 0x34]
mov esi, eax
push ecx
push 0xf003f
push ebp
push str.softwareHSToolsIPMsgEngBroadCast
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4104c5
mov edx, dword [0x5e8e38]
mov dword [esp + 0x10], edx
push eax
lea eax, [esp + 0x14]
push 0x5d68d4
push eax
mov byte [esp + 0x38], 1
call fcn.00554dd4
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push eax
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41048a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x4104ac
inc ebp
lea edx, [esp + 0x10]
push ebp
push 0x5d68d4
push edx
call fcn.00554dd4
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, edi
push esi
push eax
call fcn.005577af
jmp 0x41043f
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0055962c
lea ecx, [esp + 0x34]
push ecx
push 0xf003f
push 0
push str.softwareHSToolsIPMsgChineseGBBroadCast
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4105e0
mov edx, dword [0x5e8e38]
xor ebx, ebx
mov dword [esp + 0x10], edx
push ebx
lea eax, [esp + 0x14]
push 0x5d68d4
push eax
mov byte [esp + 0x38], 2
call fcn.00554dd4
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x20]
push esi
push edx
push 0
push eax
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x410554
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x4105c7
inc ebx
lea edx, [esp + 0x10]
push ebx
push 0x5d68d4
push edx
call fcn.00554dd4
mov eax, dword [edi + 8]
add esp, 0xc
xor ebp, ebp
test eax, eax
jle 0x4105ae
push esi
lea ecx, [esp + 0x1c]
call fcn.0055969a
mov eax, dword [edi + 4]
push esi
lea eax, [eax + ebp*4]
mov eax, dword [eax]
push eax
call fcn.00541319
add esp, 8
mov byte [esp + 0x2c], 2
test eax, eax
lea ecx, [esp + 0x18]
je 0x4105a9
call fcn.0055962c
mov eax, dword [edi + 8]
inc ebp
cmp ebp, eax
jl 0x410571
jmp 0x4105ae
call fcn.0055962c
mov eax, dword [edi + 8]
cmp ebp, eax
jl 0x410509
push esi
push eax
mov ecx, edi
call fcn.005577af
jmp 0x410509
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0055962c
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4