Function at 0x40383e
Capabilities:
Enumerate internet cache
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13bc
call fcn.004044a0
push ebx
push esi
push edi
push 0xf
pop ecx
mov esi, 0x406880
lea edi, [ebp - 0x78]
push 0x13
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x4068bc
lea edi, [ebp - 0xf4]
lea eax, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call fcn.00401675
lea eax, [ebp - 0xf4]
push eax
call fcn.00401675
pop ecx
lea eax, [ebp - 0x20]
pop ecx
xor edi, edi
push eax
push 0x20019
lea eax, [ebp - 0x78]
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403abe
mov ebx, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [ebp - 4]
push eax
push edi
push edi
mov dword [ebp - 4], edi
call ebx
push dword [ebp - 4]
call sub.MSVCRT.dll_malloc
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push esi
push edi
call ebx
mov dword [ebp - 0x10], eax
cmp dword [esi + 0xc], 0x200001
jne 0x403a81
push edi
push 0x40690c
push dword [esi + 4]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push dword [esi + 4]
call fcn.00401526
mov ebx, eax
add esp, 0x10
cmp ebx, edi
je 0x403902
inc ebx
push dword [esi + 4]
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_strlen
pop ecx
lea edi, [ebp - 0x13bb]
mov eax, dword [esi + 4]
add eax, dword [ebp - 8]
mov al, byte [eax + ebx]
mov byte [edi - 1], al
and byte [edi], 0
inc dword [ebp - 8]
push dword [esi + 4]
inc edi
inc edi
call sub.MSVCRT.dll_strlen
sub eax, ebx
pop ecx
cmp dword [ebp - 8], eax
jbe 0x403914
lea eax, [ebp - 0xa4]
push eax
push dword [esi + 4]
call sub.MSVCRT.dll_strlen
pop ecx
sub eax, ebx
push eax
lea eax, [ebp - 0x13bc]
push eax
call fcn.0040414c
add esp, 0xc
test eax, eax
je 0x403abe
push 1
lea eax, [ebp - 0x1c]
pop edi
mov dword [ebp - 0x1c], 0x200
push eax
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xa4]
push 0
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403a7f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3bc]
mov dword [ebp - 0x30], eax
push dword [esi + 4]
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, ebx
imul ecx, ecx, 0x7fffffff
add eax, ecx
lea ecx, [ebp - 0x3c]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x13bc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
push edi
push eax
push eax
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call dword [0x406b80]
test eax, eax
je 0x403a7f
mov eax, dword [ebp - 0x14]
push 4
add eax, 4
push eax
lea eax, [ebp - 0xc]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0xc
add eax, 0x24
push 4
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x14]
push 4
add eax, 0x34
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add eax, ecx
add eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x158]
push 0x406910
push eax
call sub.MSVCRT.dll_sprintf
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
add eax, ecx
add eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x1bc]
push 0x406914
push eax
call sub.MSVCRT.dll_sprintf
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [esi + 4]
add eax, ebx
push eax
push 0x406918
call fcn.00403f7c
add esp, 0x4c
xor edi, edi
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 4], edi
call ebx
cmp dword [ebp - 4], edi
je 0x403ac2
push dword [ebp - 4]
push esi
call sub.MSVCRT.dll_realloc
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi], eax
pop ecx
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x403ac2
jmp 0x4038d3
xor eax, eax
jmp 0x403ade
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call sub.MSVCRT.dll_free
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret