Function at 0x457a60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ea2b6
mov eax, dword fs:[0]
push eax
mov eax, 0x1e030
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x1e02c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1e044]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1e054]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1e04c], 3
push 0x4fff
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x1e064]
push ecx
lea edx, [edi + 4]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 0x5000
call fcn.004029d0
mov byte [esp + 0x1e064], 4
push 1
push str.SeBackupPrivilege
call fcn.004913e0
mov edx, dword [esp + 0x34]
add esp, 0x20
lea ecx, [esp + 0x20]
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x457dd7
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1e060]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x34]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x20]
push edx
mov ebp, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
jne 0x457dd7
cmp dword [esp + 0x24], ebx
jne 0x457b7a
lea eax, [esp + 0x1e060]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x457df5
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_314]
mov byte [esp + 0x1e04c], 5
push ebx
push str.SeBackupPrivilege
call fcn.004913e0
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
cmp byte [0x103a972], bl
je 0x457dc8
push ebx
push str.TC_ENV
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x457be3
push ebx
push 0x50e740
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
je 0x457dc8
mov edx, dword [esp + 0x1e05c]
mov ebp, dword [sym.imp.MSVCR90.dll__stricmp]
push str.tC_Sweep
push edx
call ebp
add esp, 8
test eax, eax
je 0x457dc8
mov eax, dword [esp + 0x1e05c]
push eax
push str.TC_Org
call ebp
add esp, 8
test eax, eax
je 0x457c8b
mov ecx, dword [esp + 0x1e05c]
push ecx
push str.TC_Tel
call ebp
add esp, 8
test eax, eax
je 0x457c8b
mov edx, dword [esp + 0x1e05c]
push edx
push str.TC_User_name
call ebp
add esp, 8
test eax, eax
je 0x457c8b
mov eax, dword [esp + 0x1e05c]
push eax
push str.TC_User_Office
call ebp
add esp, 8
test eax, eax
je 0x457c8b
mov ecx, dword [esp + 0x1e05c]
push ecx
push str.TC_IDATE
call ebp
add esp, 8
test eax, eax
je 0x457c8b
mov edx, dword [esp + 0x1e05c]
push edx
push str.TC_Section
call ebp
add esp, 8
test eax, eax
jne 0x457d66
push str.tc_user
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x457d66
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_314]
mov byte [esp + 0x1e050], 6
push ecx
lea eax, [esp + 0x1e064]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x1e054], 7
push ecx
lea edx, [esp + 0x1e064]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x1e058], 8
mov byte [esp + 0x1e058], 5
mov ecx, edi
call fcn.00457170
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_314]
mov byte [esp + 0x1e04c], 9
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [esp + 0x18], 1
mov byte [esp + 0x1e04c], 5
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1e04c], 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x457dfd
push 0x18fff
lea eax, [esp + 0x5045]
push ebx
push eax
mov byte [esp + 0x504c], bl
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x504c]
push ecx
push edx
push 0x101e7d8
push 1
call fcn.004915e0
add esp, 0x1c
lea eax, [esp + 0x5040]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x18], 1
mov byte [esp + 0x1e04c], 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x457dfd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x457dac
push ebx
push str.SeBackupPrivilege
call fcn.004913e0
add esp, 8
lea edx, [esp + 0x1e060]
push edx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [esp + 0x18], 1
mov byte [esp + 0x1e04c], 3
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1e04c], 2
lea ecx, [esp + 0x1e058]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1e04c], 1
lea ecx, [esp + 0x1e05c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1e04c], bl
lea ecx, [esp + 0x1e060]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x1e044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e02c]
xor ecx, esp
call fcn.004e0148
add esp, 0x1e03c
ret 0x10