Function at 0x48acc0
Capabilities:
Get file size
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61c6d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
call fcn.0048aa30
mov eax, dword [0x6f175c]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x24c]
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov edx, dword [ecx + 0x480]
lea eax, [esp + 0x28]
push edx
push str.SoftwareDownloadManager_ld
push eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.005fa6fb
add esp, 0xc
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x84]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6f5cb8
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48b693
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push ebx
lea edx, [esp + 0x1c]
push ebx
mov eax, dword [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x48b693
mov ecx, dword [esp + 0x18]
inc ecx
push ecx
call fcn.005fdccd
mov ebp, eax
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x4c], ebp
jne 0x48adc0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48b693
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push ebx
push 0x6cc888
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48adf5
push ebp
call fcn.005fdcf6
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48b693
mov eax, dword [0x6f175c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push ebx
push str.TPswitch
push eax
mov byte [esp + 0xfc], 1
mov edi, 1
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48ae37
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push ebx
push str.nAggrV
push eax
mov byte [esp + 0x3f], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48ae65
cmp dword [esp + 0x48], ebx
setne byte [esp + 0x27]
cmp edi, 4
je 0x48aef8
cmp edi, 5
je 0x48aef8
mov al, byte [esp + 0x27]
test al, al
jne 0x48aef8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x64]
push ecx
push edx
push ebx
push ebx
push str.FileSize
push eax
mov dword [esp + 0x30], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48aec0
push ebp
call fcn.005fdcf6
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48b682
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, eax
or edx, ecx
jne 0x48aee7
push ebp
call fcn.005fdcf6
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48b682
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], ecx
jmp 0x48af9f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x50]
push ecx
push edx
push ebx
push ebx
mov esi, 8
push str.Duration
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48af4a
fld qword [esp + 0x50]
fmul qword [0x63f0d8]
call fcn.005e5674
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edx
jmp 0x48afa3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x40]
push ecx
push edx
push ebx
push ebx
push str.nExpectedSize
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48af87
push ebp
call fcn.005fdcf6
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48b682
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x230], edx
mov dword [eax + 0x234], ecx
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x84]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push 0xf003f
push ebx
push 0x6f5cb8
push ebx
push str.ChList
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48afea
push ebp
call fcn.005fdcf6
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48b682
cmp edi, 4
je 0x48b4b4
cmp edi, 5
je 0x48b4b4
mov al, byte [esp + 0x27]
test al, al
je 0x48b26c
lea ecx, [esp + 0x98]
call fcn.005540f0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x98]
push eax
mov byte [esp + 0xe8], 2
call fcn.00554850
cmp dword [esp + 0x44], ebx
jl 0x48b097
jg 0x48b03b
cmp dword [esp + 0x40], ebx
jbe 0x48b097
mov ecx, dword [0x6f175c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x24c]
lea edx, [esp + 0x1c]
push ebx
push edx
add ecx, 0x20
mov byte [esp + 0xec], 3
call fcn.00580150
mov eax, dword [esi + 0x24c]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp dword [eax + 0x31c], 0x10
setne cl
inc ecx
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.00554ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 2
call fcn.006018cc
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x48b253
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov ebx, eax
xor ebp, ebp
cmp dword [esp + 0x44], ebp
jl 0x48b18a
jg 0x48b0d2
cmp dword [esp + 0x40], ebp
jbe 0x48b18a
cmp dword [ebx + 0x44], ebp
je 0x48b0ee
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
sub esi, edi
mov edi, dword [ebx + 0x14]
sbb edi, edx
sub esi, 1
sbb edi, ebp
jmp 0x48b0f5
mov esi, 1
xor edi, edi
mov eax, dword [ebx + 0x38]
push 0x18
cmp eax, 1
jne 0x48b138
call fcn.005fdccd
add esp, 4
cmp eax, ebp
je 0x48b11b
mov dword [eax], ebp
mov dword [eax + 8], esi
mov dword [eax + 0x10], ebp
mov dword [eax + 4], ebp
mov dword [eax + 0xc], edi
jmp 0x48b11d
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ecx + 0x250], eax
je 0x48b253
mov dword [esp + 0x20], eax
jmp 0x48b245
call fcn.005fdccd
add esp, 4
cmp eax, ebp
je 0x48b170
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ecx, ebp
mov edx, ebx
add ecx, esi
mov dword [eax], ebp
adc edx, edi
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], edx
xor ebp, ebp
jmp 0x48b172
xor eax, eax
mov edx, dword [esp + 0x20]
cmp eax, ebp
mov dword [edx + 0x10], eax
je 0x48b253
mov dword [esp + 0x20], eax
jmp 0x48b245
cmp dword [ebx + 0x44], ebp
je 0x48b1ab
fld qword [ebx + 0x28]
fmul qword [0x63f0e8]
call fcn.005e5674
or esi, 0xffffffff
mov edi, 0xffffffff
sub esi, eax
sbb edi, edx
jmp 0x48b1b2
mov esi, 1
xor edi, edi
mov eax, dword [ebx + 0x38]
push 0x18
cmp eax, 1
jne 0x48b1ea
call fcn.005fdccd
add esp, 4
cmp eax, ebp
je 0x48b1d8
mov dword [eax], ebp
mov dword [eax + 8], esi
mov dword [eax + 0x10], ebp
mov dword [eax + 4], ebp
mov dword [eax + 0xc], edi
jmp 0x48b1da
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ecx + 0x250], eax
je 0x48b253
jmp 0x48b21f
call fcn.005fdccd
add esp, 4
cmp eax, ebp
je 0x48b212
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esi, ecx
mov dword [eax], ecx
adc edi, edx
mov dword [eax + 8], esi
mov dword [eax + 0x10], ebp
mov dword [eax + 4], edx
mov dword [eax + 0xc], edi
jmp 0x48b214
xor eax, eax
mov edx, dword [esp + 0x20]
cmp eax, ebp
mov dword [edx + 0x10], eax
je 0x48b253
fld qword [ebx + 0x28]
fmul qword [0x63f0d8]
mov dword [esp + 0x20], eax
call fcn.005e5674
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x34]
adc eax, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov ebx, dword [ebx]
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
jne 0x48b0bc
lea ecx, [esp + 0x98]
mov byte [esp + 0xe4], 1
call fcn.00554150
jmp 0x48b659
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x74]
push eax
push ecx
push ebx
push ebx
mov esi, 0x10
push 0x6cc840
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48b659
mov eax, dword [esp + 0x4c]
push ebx
push ebx
push 3
push ebx
push 3
push bind
mov dword [esp + 0x30], esi
push eax
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x48b307
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48b2e0
cmp edi, ebx
jne 0x48b2e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48b2f2
mov edx, dword [esp + 0x1c]
push 1
push ebx
push ebx
push edx
call fcn.005e7a50
add esi, eax
adc edi, edx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jg 0x48b307
jl 0x48b303
cmp esi, ebx
jae 0x48b307
xor esi, esi
xor edi, edi
push 0x18
call fcn.005fdccd
add esp, 4
cmp eax, ebx
je 0x48b32a
sub esi, 1
mov dword [eax], ebx
sbb edi, ebx
mov dword [eax + 8], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edi
jmp 0x48b32c
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [ecx + 0x250], eax
je 0x48b659
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x48b659
push eax
lea edx, [esp + 0x70]
push 0x6c5148
push edx
call fcn.005e5bb8
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x48b659
mov ecx, dword [0x6f175c]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x28]
push str._s_ld
push ecx
mov byte [esp + 0xf4], 4
call fcn.005fa6fb
mov edx, dword [esp + 0x30]
add esp, 0x10
push ebx
push ebx
push 3
push ebx
push 3
push bind
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x48b468
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x48b3fd
cmp ebp, ebx
jne 0x48b3fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48b47e
mov ecx, dword [esp + 0x1c]
push 1
push ebx
push ebx
push ecx
call fcn.005e7a50
add edi, eax
push esi
adc ebp, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x18
mov dword [esp + 0xe8], 4
call fcn.005fdccd
add esp, 4
cmp eax, ebx
je 0x48b457
mov esi, dword [esp + 0x7c]
mov ecx, esi
add ecx, edi
mov edi, dword [esp + 0x80]
mov edx, edi
mov dword [eax], esi
adc edx, ebp
sub ecx, 1
sbb edx, ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
jmp 0x48b459
xor eax, eax
mov edx, dword [esp + 0x30]
cmp eax, ebx
mov dword [edx + 0x10], eax
je 0x48b49e
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 1
call fcn.006018cc
jmp 0x48b342
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0xe4], 1
call fcn.006018cc
jmp 0x48b659
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 1
call fcn.006018cc
jmp 0x48b659
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push ebx
push ebx
push 0x6cc840
push edx
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48b4fe
push ebp
call fcn.005fdcf6
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
push eax
call esi
mov ecx, dword [esp + 0x38]
push ecx
call esi
jmp 0x48b682
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x6c]
push edx
push str._dkf
push eax
xor esi, esi
xor edi, edi
call fcn.005e5bb8
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x74]
lea eax, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ebx
push ebx
push eax
push ecx
mov dword [esp + 0x38], 0x10
call ebp
cmp eax, ebx
jne 0x48b588
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
jne 0x48b576
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov ecx, dword [esp + 0x58]
jl 0x48b588
jg 0x48b568
cmp dword [esp + 0x30], ecx
jbe 0x48b588
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub esi, ecx
sbb edi, eax
jmp 0x48b588
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jbe 0x48b584
sub eax, ecx
mov esi, eax
jmp 0x48b586
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x50]
push 0x18
cmp eax, ebx
jne 0x48b5c9
call fcn.005fdccd
add esp, 4
cmp eax, ebx
je 0x48b5b3
sub esi, 1
mov dword [eax], ebx
sbb edi, ebx
mov dword [eax + 8], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edi
jmp 0x48b5b5
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [edx + 0x250], eax
je 0x48b659
jmp 0x48b60b
call fcn.005fdccd
add esp, 4
cmp eax, ebx
je 0x48b5fe
mov ebp, dword [esp + 0x58]
xor ebx, ebx
mov ecx, ebp
mov edx, ebx
add ecx, esi
mov dword [eax], ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [eax + 0x10], ebx
adc edx, edi
sub ecx, 1
sbb edx, ebx
mov dword [eax + 8], ecx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edx
jmp 0x48b600
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [ecx + 0x10], eax
je 0x48b659
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x48b659
push eax
lea edx, [esp + 0x8c]
push 0x6c5148
push edx
call fcn.005e5bb8
add esp, 0xc
lea eax, [esp + 0x20]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x88]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push ebx
push edx
push eax
mov dword [esp + 0x38], 0x10
call ebp
cmp eax, ebx
je 0x48b508
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.005fdcf6
mov edx, dword [esp + 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov byte [ecx + 0xc], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], 0
call fcn.006018cc
lea ecx, [esp + 0x28]
mov dword [esp + 0xe4], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0xdc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret