Function at 0x4010b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42af08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x43d288]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
mov dword [0x43e480], 0
push eax
push 1
push 0
push 0x431674
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4012c5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0x100
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 1
push 0x100
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x20], eax
call fcn.00401420
test al, al
jne 0x401162
call fcn.0041aa5e
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x6c
push str.e:workwthttp.._common_heapmem.h
push str.ERROR
call fcn.004161a0
add esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x401293
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.BindIP
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4011be
call fcn.0041aa5e
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x31
push str.....common_bindIPsList.cpp
push str.ERROR
call fcn.004161a0
add esp, 0x14
test esi, esi
je 0x4011d4
push str.No_BindIP_key_found_in_registry.
call fcn.00415f40
add esp, 4
jmp 0x4012b3
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
mov esi, edi
mov dword [ebp - 0x30], esi
cmp byte [edi], 0
je 0x4012b3
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x18]
jae 0x4012b3
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea edx, [ebp - 0x34]
call fcn.004014f0
add esp, 4
test al, al
je 0x401281
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401390
push eax
push str.BindIP:__s
call fcn.00415f40
mov esi, dword [ebp - 0x30]
add esp, 8
mov edx, dword [ebp - 0x18]
mov ecx, esi
sub ecx, edi
lea ecx, [ecx]
mov al, byte [esi]
test al, al
je 0x40123e
cmp al, 0xd
je 0x40123e
cmp al, 0xa
jne 0x401246
cmp ecx, edx
ja 0x401246
inc esi
inc ecx
jmp 0x401230
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], esi
push eax
call fcn.00401300
test al, al
jne 0x401276
call fcn.0041aa5e
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x4f
push str.....common_bindIPsList.cpp
push str.ERROR
call fcn.004161a0
add esp, 0x14
cmp byte [esi], 0
jne 0x4011e7
jmp 0x4012b3
push dword [ebp - 0x30]
push str.Incorrect_line_in_BindIP_list:__s.
call fcn.00415f40
add esp, 8
jmp 0x4012b3
call fcn.0041aa5e
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x2b
push str.....common_bindIPsList.cpp
push str.ERROR
call fcn.004161a0
add esp, 0x14
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4012e5
push eax
call fcn.0041aab2
add esp, 4
jmp 0x4012e5
call fcn.0041aa5e
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x26
push str.....common_bindIPsList.cpp
push str.ERROR
call fcn.004161a0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041aa1b
mov esp, ebp
pop ebp
ret