Function at 0x48dca0
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8366
mov eax, dword fs:[0]
push eax
sub esp, 0x6c8
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
lea ecx, [ebp - 0x6d4]
call fcn.00413720
lea eax, [ebp - 0x624]
push eax
push str.SoftwarePRONTOProclient
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48dd3c
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x210]
push edx
push eax
push eax
mov eax, dword [ebp - 0x624]
push str.DirPath
push eax
mov dword [ebp - 0x628], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x48dd48
mov ecx, dword [ebp - 0x624]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
jmp 0x48e193
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48dd51
mov ecx, 0xc
mov esi, str.proclientproclient.exe
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x210]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.MSVCR100.dll__wcslwr]
push edx
call esi
lea eax, [ebp - 0x210]
push eax
call fcn.00407770
lea edx, [ebp - 0x410]
add esp, 8
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48dd93
lea ecx, [ebp - 0x410]
push ecx
call esi
lea edx, [ebp - 0x410]
push edx
call fcn.00407770
add esp, 8
lea ecx, [ebp - 0x410]
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48ddef
test dx, dx
je 0x48dde8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48ddef
add eax, 4
add ecx, 4
test dx, dx
jne 0x48ddc6
xor eax, eax
or esi, 0xffffffff
jmp 0x48ddf8
sbb eax, eax
mov esi, 0xffffffff
sbb eax, esi
test eax, eax
mov eax, dword [ebp - 0x624]
jne 0x48e180
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x610]
push edx
push 0
push 0
push str.SetupPath
mov ebx, 0x200
push eax
mov dword [ebp - 0x628], ebx
call edi
test eax, eax
jne 0x48e183
cmp dword [ebp - 0x628], 0xe
jb 0x48e183
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x210]
push edx
push eax
push eax
mov eax, dword [ebp - 0x624]
push str.SetupDateTime
push eax
mov dword [ebp - 0x628], ebx
call edi
test eax, eax
jne 0x48e171
cmp dword [ebp - 0x628], 0x11
jb 0x48e171
mov cx, word [ebp - 0x210]
xor edx, edx
mov dword [ebp - 0x62c], edx
lea eax, [ebp - 0x210]
cmp cx, 0x30
jb 0x48dec6
movzx ecx, cx
lea ecx, [ecx]
cmp cx, 0x39
ja 0x48dec6
and ecx, 0xf
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*2]
add eax, 2
mov dword [ebp - 0x62c], ecx
movzx ecx, word [eax]
mov edx, dword [ebp - 0x62c]
cmp ecx, 0x30
jae 0x48dea0
mov cx, word [eax]
add eax, 2
cmp cx, 0x2f
jne 0x48e17a
test edx, edx
je 0x48e17a
movzx ecx, word [eax]
xor edx, edx
mov dword [ebp - 0x634], edx
cmp ecx, 0x30
jb 0x48df16
mov edi, edi
cmp cx, 0x39
ja 0x48df16
and ecx, 0xf
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*2]
add eax, 2
mov dword [ebp - 0x634], ecx
movzx ecx, word [eax]
mov edx, dword [ebp - 0x634]
cmp ecx, 0x30
jae 0x48def0
mov cx, word [eax]
add eax, 2
cmp cx, 0x2f
jne 0x48e183
test edx, edx
je 0x48e183
movzx ecx, word [eax]
xor ebx, ebx
cmp ecx, 0x30
jb 0x48df52
cmp cx, 0x39
ja 0x48df52
and ecx, 0xf
lea edx, [ebx + ebx*4]
add eax, 2
lea ebx, [ecx + edx*2]
movzx ecx, word [eax]
cmp ecx, 0x30
jae 0x48df38
mov cx, word [eax]
add eax, 2
cmp cx, 0x20
jne 0x48e171
test ebx, ebx
je 0x48e171
cmp ebx, 0x64
jge 0x48df75
add ebx, 0x7d0
movzx ecx, word [eax]
xor edi, edi
cmp ecx, 0x30
jb 0x48df9a
nop
cmp cx, 0x39
ja 0x48df9a
and ecx, 0xf
lea edx, [edi + edi*4]
add eax, 2
lea edi, [ecx + edx*2]
movzx ecx, word [eax]
cmp ecx, 0x30
jae 0x48df80
mov cx, word [eax]
add eax, 2
cmp cx, 0x3a
jne 0x48e183
movzx ecx, word [eax]
xor esi, esi
cmp ecx, 0x30
jb 0x48dfce
cmp cx, 0x39
ja 0x48dfce
and ecx, 0xf
lea edx, [esi + esi*4]
add eax, 2
lea esi, [ecx + edx*2]
movzx ecx, word [eax]
cmp ecx, 0x30
jae 0x48dfb4
mov cx, word [eax]
add eax, 2
cmp cx, 0x3a
je 0x48dff3
mov edx, dword [ebp - 0x624]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
jmp 0x48e193
movzx ecx, word [eax]
xor edx, edx
cmp ecx, 0x30
jb 0x48e01a
lea ecx, [ecx]
cmp cx, 0x39
ja 0x48e01a
and ecx, 0xf
lea edx, [edx + edx*4]
add eax, 2
lea edx, [ecx + edx*2]
movzx ecx, word [eax]
cmp ecx, 0x30
jae 0x48e000
cmp word [eax], 0
je 0x48e039
mov eax, dword [ebp - 0x624]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
jmp 0x48e193
mov ecx, dword [ebp - 0x634]
push 0xffffffffffffffff
push edx
mov edx, dword [ebp - 0x62c]
push esi
push edi
push ecx
push edx
push ebx
lea ecx, [ebp - 0x630]
call fcn.0048db40
mov edi, dword [ebp - 0x630]
mov esi, dword [ebp - 0x62c]
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x610]
push ecx
add edi, 0xe15
lea ecx, [ebp - 0x6d4]
adc esi, 0
call fcn.00413870
test al, al
je 0x48e020
lea edx, [ebp - 0x638]
push edx
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x48e0ac
push 0x80070057
call fcn.004373a0
lea ecx, [ebp - 0x620]
push ecx
lea edx, [ebp - 0x638]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x48e0ce
push 0x80070057
call fcn.004373a0
push 0xffffffffffffffff
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x630]
call fcn.0048dc30
cmp dword [ebp - 0x62c], esi
jl 0x48e020
jg 0x48e0fc
cmp dword [ebp - 0x630], edi
jbe 0x48e020
push 0x24
push str.Pronto_Xi
push str.A_new_Thin_Client_Setup_program_has_been_detected._nUpdate_your_version_of_Pronto_Xi_Thin_Client_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x48e020
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x62c]
call fcn.0040d600
mov ecx, dword [ebp - 0x624]
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x62c]
call fcn.0040d4d0
push 0
lea edx, [ebp - 0x638]
push edx
push eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], 0
call fcn.00421580
add esp, 0xc
push 0
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp - 0x624]
push ecx
jmp 0x48e18a
mov eax, dword [ebp - 0x624]
push eax
jmp 0x48e18a
mov edx, dword [ebp - 0x624]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x6d4]
call fcn.00413750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret