Function at 0x49d1fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
mov esi, 0x104
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x2a0]
push ebx
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x3a4]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x808]
push ebx
push eax
call fcn.004d9ad0
push 0x23
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.004d9ad0
push 0x14
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.004d9ad0
push 0x32
lea eax, [ebp - 0x15c]
push ebx
push eax
call fcn.004d9ad0
add esp, 0x48
lea eax, [ebp - 0x704]
push 0x184
push ebx
push eax
call fcn.004d9ad0
push 0x14
lea eax, [ebp - 0xf0]
push ebx
push eax
call fcn.004d9ad0
push 0x13
lea eax, [ebp - 0xf0]
push str.reserved
push eax
call fcn.004dded0
push 0xc
lea eax, [ebp - 0x6c]
pop esi
push esi
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004d9ad0
add esp, 0x48
lea eax, [ebp - 0x94]
push esi
push ebx
push eax
call fcn.004d9ad0
push esi
push ebx
lea eax, [ebp - 0x84]
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xd0]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.004d9ad0
add esp, 0x48
lea eax, [ebp - 0xdc]
push esi
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xac]
push ebx
push eax
call fcn.004d9ad0
push 0x22
lea eax, [ebp - 0x128]
push str.english_united_states
push eax
call fcn.004dded0
add esp, 0x48
lea eax, [ebp - 0x104]
push 0x13
push str.WIN9X
push eax
call fcn.004dded0
push 0x31
lea eax, [ebp - 0x15c]
push 0x5534b0
push eax
call fcn.004dded0
lea eax, [ebp - 0x18]
push eax
call fcn.004efa24
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
call fcn.0049845f
add esp, 0x30
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
push str.SOFTWARENtpadHELPMENU
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49d421
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
push ebx
push 0x541888
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49d413
push dword [ebp - 0x2c]
call fcn.0046c382
pop ecx
mov dword [ebp - 4], eax
jmp 0x49d416
mov dword [ebp - 4], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x49d424
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x24]
push 1
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.0048b858
mov edi, 0x103
lea eax, [ebp - 0x3a4]
push edi
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.004dded0
push edi
lea eax, [ebp - 0x2a0]
push str.servdat.slm
push eax
call fcn.0043f70d
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.004aa035
add esp, 0x2c
cmp eax, 1
jne 0x49d49e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x19c]
push 0x51bd98
push eax
call fcn.004dedfb
push dword [ebp - 0x28]
call fcn.0046c382
add esp, 0x10
jmp 0x49d4a0
xor eax, eax
cmp eax, dword [ebp - 4]
je 0x49d4b1
sub eax, dword [ebp - 4]
push eax
call fcn.004dd555
pop ecx
jmp 0x49d4bf
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
add edx, ecx
cmp edx, eax
jge 0x49d4c2
sub eax, ecx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x520]
push eax
call fcn.0043c0a7
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x520]
push eax
push 0x7ff
call fcn.0043c746
add esp, 0x10
test eax, eax
je 0x49d51a
push 0x5f
push 0x5af
push dword [0x544628]
push 4
call fcn.0043ed15
push 0x58b
push str.intrernal_error
push dword [ebp + 0xc]
call fcn.004dded0
add esp, 0x1c
mov eax, esi
jmp 0x49d6f1
lea eax, [ebp - 0x704]
push 0x1e4
push eax
lea eax, [ebp - 0x520]
push eax
call fcn.0043db1c
add esp, 0xc
test eax, eax
je 0x49d542
push 0x5f
push 0x5ba
jmp 0x49d4f1
mov esi, 0x51bd9c
push 8
push esi
push 0xb
pop edi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.004de975
push 2
push esi
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.004de975
push 1
push esi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004de975
push 0x1f4
push esi
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.004de975
add esp, 0x40
lea eax, [ebp - 0x84]
push ebx
push 0x51bdd0
push edi
push eax
call fcn.004de975
push dword [ebp - 4]
lea eax, [ebp - 0xd0]
push 0x541884
push edi
push eax
call fcn.004de975
push dword [ebp - 0x18]
lea eax, [ebp - 0xa0]
push 0x541884
push edi
push eax
call fcn.004de975
push dword [ebp - 8]
lea eax, [ebp - 0xb8]
push 0x51bdd0
push edi
push eax
call fcn.004de975
add esp, 0x40
lea eax, [ebp - 0x3c]
push dword [ebp - 0x10]
push esi
push edi
push eax
call fcn.004de975
push dword [ebp - 0x1c]
lea eax, [ebp - 0xdc]
push esi
push edi
push eax
call fcn.004de975
push ebx
push esi
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.004de975
push ebx
push esi
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.004de975
add esp, 0x40
mov esi, 0x51bd98
push dword [ebp - 0xc]
push esi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004de975
push dword [ebp - 0x30]
lea eax, [ebp - 0xac]
push esi
push edi
push eax
call fcn.004de975
lea eax, [ebp - 0x704]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x13
push 0x51bdb8
call fcn.004523f7
mov esi, eax
add esp, 0x74
cmp esi, ebx
jne 0x49d6fc
push 0x26
push 0x5ec
push dword [0x544628]
push 4
call fcn.0043ed15
push 0x58b
push str.construct_failed
push dword [ebp + 0xc]
call fcn.004dded0
add esp, 0x1c
push 0x26
pop eax
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x58b], bl
jmp 0x49d71c
mov edi, dword [ebp + 0xc]
push 0x58b
push esi
push edi
call fcn.004dded0
push esi
mov byte [edi + 0x58b], bl
call fcn.004dce85
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret