Function at 0x100048d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc6f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x648
push ebx
push esi
push edi
lea edi, [ebp - 0x658]
mov ecx, 0x192
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], reloc.WSOCK32.dll_accept
mov dword [ebp - 0x30], str.SoftwarePTCVariantDesign
mov dword [ebp - 0x48], str.dsn_user
mov dword [ebp - 0x54], str.dsn_pwd
mov dword [ebp - 0x3c], 0x10103358
mov dword [ebp - 0x60], str.SHUJUYUAN
mov ecx, dword [ebp + 8]
call fcn.10004530
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.100ec680
test eax, eax
jne 0x10004c9b
mov esi, esp
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x48c]
push edx
push 0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.100ec680
test eax, eax
je 0x100049a3
mov byte [ebp - 0x168], 0
mov esi, esp
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x378]
push ecx
lea edx, [ebp - 0x48c]
push edx
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.100ec680
test eax, eax
je 0x100049dc
mov byte [ebp - 0x378], 0
mov esi, esp
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x48c]
push edx
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.100ec680
test eax, eax
je 0x10004a15
mov byte [ebp - 0x270], 0
mov esi, esp
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x48c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.100ec680
test eax, eax
je 0x10004a4e
mov byte [ebp - 0x480], 0
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.100ec680
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x5a0]
call fcn.100031e0
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x614]
mov dword [ebp - 0x618], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x5ac]
call fcn.100031e0
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 0x61c]
mov dword [ebp - 0x620], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x480]
push ecx
lea ecx, [ebp - 0x5b8]
call fcn.100031e0
mov dword [ebp - 0x624], eax
mov edx, dword [ebp - 0x624]
mov dword [ebp - 0x628], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x628]
push eax
push str.DSN
lea ecx, [ebp - 0x5c4]
push ecx
call fcn.1000c2a0
add esp, 0xc
mov dword [ebp - 0x62c], eax
mov edx, dword [ebp - 0x62c]
mov dword [ebp - 0x630], edx
mov byte [ebp - 4], 4
push str._UID
mov eax, dword [ebp - 0x630]
push eax
lea ecx, [ebp - 0x5d0]
push ecx
call fcn.10002800
add esp, 0xc
mov dword [ebp - 0x634], eax
mov edx, dword [ebp - 0x634]
mov dword [ebp - 0x638], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x620]
push eax
mov ecx, dword [ebp - 0x638]
push ecx
lea edx, [ebp - 0x5dc]
push edx
call fcn.10002700
add esp, 0xc
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0x640], eax
mov byte [ebp - 4], 6
push str._PWD
mov ecx, dword [ebp - 0x640]
push ecx
lea edx, [ebp - 0x5e8]
push edx
call fcn.10002800
add esp, 0xc
mov dword [ebp - 0x644], eax
mov eax, dword [ebp - 0x644]
mov dword [ebp - 0x648], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x618]
push ecx
mov edx, dword [ebp - 0x648]
push edx
lea eax, [ebp - 0x5f4]
push eax
call fcn.10002700
add esp, 0xc
mov dword [ebp - 0x64c], eax
mov ecx, dword [ebp - 0x64c]
mov dword [ebp - 0x650], ecx
mov byte [ebp - 4], 8
push str._DATABASERuiLiMdlDb_
mov edx, dword [ebp - 0x650]
push edx
lea eax, [ebp - 0x600]
push eax
call fcn.10002800
add esp, 0xc
mov dword [ebp - 0x654], eax
mov ecx, dword [ebp - 0x654]
mov dword [ebp - 0x658], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x658]
push edx
mov ecx, dword [ebp + 8]
call fcn.100024c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x600]
call fcn.10003280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5f4]
call fcn.10003280
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5e8]
call fcn.10003280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5dc]
call fcn.10003280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5d0]
call fcn.10003280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c4]
call fcn.10003280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5b8]
call fcn.10003280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5ac]
call fcn.10003280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5a0]
call fcn.10003280
jmp 0x10004cf9
mov esi, esp
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x4c8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp esi, esp
call fcn.100ec680
test eax, eax
je 0x10004ce3
push 0
push 0
push 0x101032fc
call sub.MFC70D.DLL_Ordinal_1383
xor eax, eax
jmp 0x10004d2f
mov esi, esp
mov eax, dword [ebp - 0x4c8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.100ec680
jmp 0x10004d19
mov dword [ebp - 4], 0xffffffff
jmp 0x10004d2a
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10004d5e]
call fcn.100ec6b0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x658
cmp ebp, esp
call fcn.100ec680
mov esp, ebp
pop ebp
ret