Function at 0x3a2832d7
Capabilities:
Get file size
Persist via run registry key
Query or enumerate registry value
Read file on windows

Disassembly:
push 0x16c
mov eax, 0x3a28ac84
call fcn.3a28a0cc
mov edi, ecx
xor esi, esi
push 0xffffffffffffffff
xor ebx, ebx
inc esi
lea ecx, [edi + 0x64]
push ebx
mov dword [ebp - 0x128], edi
mov dword [edi + 0x78], esi
call fcn.3a289b2c
push 0x3a2815ea
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea eax, [ebp - 0x140]
push eax
push 0x20019
push ebx
push 0x3a281528
push SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x140], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x3a2833b3
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x3a28156c
push dword [ebp - 0x140]
mov dword [ebp - 0x120], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x3a2833a7
cmp dword [ebp - 0x124], esi
jne 0x3a2833a7
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80.DLL_Ordinal_784]
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
cmp dword [eax - 0xc], ebx
je 0x3a283775
lea ecx, [ebp - 0x170]
call sub.MFC80.DLL_Ordinal_386
mov eax, dword [0x3a28e610]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 2
call fcn.3a289b2c
lea ecx, [ebp - 0x13c]
push eax
push dword [edi + 4]
push 0x862
call fcn.3a289b2c
lea ecx, [ebp - 0x13c]
call fcn.3a28882a
push eax
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC80.DLL_Ordinal_300]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 3
call fcn.3a282d8c
add esp, 0xc
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 4
call sub.MFC80.DLL_Ordinal_2280
lea ecx, [ebp - 0x120]
mov esi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
cmp esi, ebx
je 0x3a283758
lea ecx, [ebp - 0x170]
call sub.MFC80.DLL_Ordinal_2288
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x170]
call sub.MFC80.DLL_Ordinal_2748
push dword [eax]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 5
call fcn.3a289b2c
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 7
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x170]
call sub.MFC80.DLL_Ordinal_2751
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], eax
call dword [sym.imp.MFC80.DLL_Ordinal_578]
cmp dword [ebp - 0x130], 0xffffffff
je 0x3a28373d
push ebx
push dword [ebp - 0x130]
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x124], 0x80004005
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x3a283795
push esi
push 2
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x3a28378f
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp eax, ebx
je 0x3a2835f4
push ebx
lea ecx, [ebp - 0x178]
push ecx
push esi
push eax
push dword [ebp - 0x130]
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_GlobalUnlock]
cmp esi, ebx
je 0x3a2835f4
lea eax, [ebp - 0x11c]
push eax
push ebx
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x3a2835f4
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
push ebx
push ebx
xor ecx, ecx
push ecx
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
push ebx
push 4
lea edx, [ebp - 0x154]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
push ebx
push 4
lea edx, [ebp - 0x174]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
push ebx
push 4
lea edx, [ebp - 0x158]
push edx
push eax
call dword [ecx + 0xc]
push ebx
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x11c]
call fcn.3a289b2c
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
add esp, 0xc
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x124], ebx
jl 0x3a28378f
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
imul ecx, ecx, 0xc
lea esi, [eax + 4]
lea edi, [ecx + eax + 4]
cmp esi, edi
jae 0x3a283724
lea eax, [ebp - 0x138]
push eax
push 0x39000003
push esi
call fcn.3a289b2c
cmp eax, ebx
je 0x3a283713
mov eax, dword [ebp - 0x138]
mov ecx, dword [esi + 8]
shl eax, 4
mov eax, dword [eax + ecx + 8]
cmp eax, ebx
je 0x3a283658
cmp eax, 6
jne 0x3a283713
lea eax, [ebp - 0x138]
push eax
push 0x3001001f
push esi
call fcn.3a289b2c
cmp eax, ebx
je 0x3a283713
mov eax, dword [ebp - 0x138]
mov ecx, dword [esi + 8]
shl eax, 4
push dword [eax + ecx + 8]
lea ecx, [ebp - 0x118]
call fcn.3a289b2c
push 0x28
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 8
call fcn.3a289b2c
cmp eax, 0xffffffff
je 0x3a2836e0
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x118]
call fcn.3a288e55
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 9
call fcn.3a289b2c
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 8
call fcn.3a2889a9
lea ecx, [ebp - 0x118]
call fcn.3a288bca
mov eax, dword [ebp - 0x118]
cmp dword [eax - 8], ebx
jle 0x3a283704
mov ecx, dword [ebp - 0x128]
mov eax, dword [ecx + 0x6c]
add ecx, 0x64
lea edx, [ebp - 0x118]
push edx
push eax
call fcn.3a289b2c
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.3a2889a9
add esi, 0xc
cmp esi, edi
jb 0x3a283621
mov eax, dword [ebp - 0x134]
mov edi, dword [ebp - 0x128]
push eax
call fcn.3a289b2c
pop ecx
push dword [ebp - 0x130]
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.3a2889a9
cmp dword [ebp - 0x148], ebx
jne 0x3a283461
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.3a2889a9
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], bl
call sub.MFC80.DLL_Ordinal_631
mov eax, dword [edi + 0x6c]
lea ecx, [ebp - 0x12c]
mov dword [edi + 0x60], eax
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor eax, eax
call fcn.3a28a14f
ret
mov edi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x134]
jmp 0x3a28372a