Function at 0x4010d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f988
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x442288]
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 - 0x30]
mov dword [0x443480], 0
push eax
push 1
push 0
push 0x436654
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4012db
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push ecx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], 0x100
push 0x100
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], 0x100
mov dword [ebp - 0x34], eax
call fcn.00401440
test al, al
jne 0x40117a
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x6c
push str.e:workwtftp.._common_heapmem.h
push str.ERROR
call fcn.00416950
add esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
test eax, eax
je 0x4012a9
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push str.BindIP
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4011d6
call fcn.0041e449
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.00416950
add esp, 0x14
test esi, esi
je 0x4011ec
push str.No_BindIP_key_found_in_registry.
call fcn.004168b0
add esp, 4
jmp 0x4012c9
mov eax, dword [ebp - 0x38]
mov edi, dword [eax]
mov esi, edi
mov dword [ebp - 0x24], esi
cmp byte [edi], 0
je 0x4012c9
nop
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x28]
jae 0x4012c9
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea edx, [ebp - 0x2c]
call fcn.00401510
add esp, 4
test al, al
je 0x401297
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004013b0
push eax
push str.BindIP:__s
call fcn.004168b0
mov esi, dword [ebp - 0x24]
add esp, 8
mov edx, dword [ebp - 0x28]
mov ecx, esi
sub ecx, edi
mov al, byte [esi]
test al, al
je 0x401254
cmp al, 0xd
je 0x401254
cmp al, 0xa
jne 0x40125c
cmp ecx, edx
ja 0x40125c
inc esi
inc ecx
jmp 0x401246
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], esi
push eax
call fcn.00401320
test al, al
jne 0x40128c
call fcn.0041e449
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.00416950
add esp, 0x14
cmp byte [esi], 0
jne 0x401200
jmp 0x4012c9
push dword [ebp - 0x24]
push str.Incorrect_line_in_BindIP_list:__s.
call fcn.004168b0
add esp, 8
jmp 0x4012c9
call fcn.0041e449
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.00416950
add esp, 0x14
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4012fb
push eax
call fcn.0041e49d
add esp, 4
jmp 0x4012fb
call fcn.0041e449
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.00416950
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.0041e406
mov esp, ebp
pop ebp
ret