Function at 0x48a4e0
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 0x61d1b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
call fcn.0048a250
mov eax, dword [0x6cc708]
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 + 0xf8], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.005fb90b
add esp, 0xc
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6d0c38
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48aeb2
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 0x48aeb2
mov ecx, dword [esp + 0x18]
inc ecx
push ecx
call fcn.005feedc
mov ebp, eax
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x4c], ebp
jne 0x48a5dd
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48aeb2
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push ebx
push 0x6a785c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48a612
push ebp
call fcn.005fef05
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48aeb2
mov eax, dword [0x6cc708]
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 + 0x104], 1
mov edi, 1
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48a654
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 0x48a682
cmp dword [esp + 0x48], ebx
setne byte [esp + 0x27]
cmp edi, 4
je 0x48a715
cmp edi, 5
je 0x48a715
mov al, byte [esp + 0x27]
test al, al
jne 0x48a715
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 0x48a6dd
push ebp
call fcn.005fef05
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48aea1
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, eax
or edx, ecx
jne 0x48a704
push ebp
call fcn.005fef05
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48aea1
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], ecx
jmp 0x48a7bc
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 0x48a767
fld qword [esp + 0x50]
fmul qword [0x6359f0]
call fcn.005e6974
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 0x48a7c0
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 0x48a7a4
push ebp
call fcn.005fef05
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48aea1
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 + 0x6c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push 0xf003f
push ebx
push 0x6d0c38
push ebx
push str.ChList
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48a804
push ebp
call fcn.005fef05
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48aea1
cmp edi, 4
je 0x48accd
cmp edi, 5
je 0x48accd
mov al, byte [esp + 0x27]
test al, al
je 0x48aa86
lea ecx, [esp + 0xa0]
call fcn.005554f0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xa0]
push eax
mov byte [esp + 0xf0], 2
call fcn.00555c50
cmp dword [esp + 0x44], ebx
jl 0x48a8b1
jg 0x48a855
cmp dword [esp + 0x40], ebx
jbe 0x48a8b1
mov ecx, dword [0x6cc708]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x24c]
lea edx, [esp + 0x1c]
push ebx
push edx
add ecx, 0x20
mov byte [esp + 0xf4], 3
call fcn.005814e0
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 + 0xa8]
call fcn.005562c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 2
call fcn.00602ad6
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x48aa6d
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 0x48a9a4
jg 0x48a8ec
cmp dword [esp + 0x40], ebp
jbe 0x48a9a4
cmp dword [ebx + 0x44], ebp
je 0x48a908
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 0x48a90f
mov esi, 1
xor edi, edi
mov eax, dword [ebx + 0x38]
push 0x18
cmp eax, 1
jne 0x48a952
call fcn.005feedc
add esp, 4
cmp eax, ebp
je 0x48a935
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 0x48a937
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ecx + 0x250], eax
je 0x48aa6d
mov dword [esp + 0x20], eax
jmp 0x48aa5f
call fcn.005feedc
add esp, 4
cmp eax, ebp
je 0x48a98a
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 0x48a98c
xor eax, eax
mov edx, dword [esp + 0x20]
cmp eax, ebp
mov dword [edx + 0x10], eax
je 0x48aa6d
mov dword [esp + 0x20], eax
jmp 0x48aa5f
cmp dword [ebx + 0x44], ebp
je 0x48a9c5
fld qword [ebx + 0x28]
fmul qword [0x635a00]
call fcn.005e6974
or esi, 0xffffffff
mov edi, 0xffffffff
sub esi, eax
sbb edi, edx
jmp 0x48a9cc
mov esi, 1
xor edi, edi
mov eax, dword [ebx + 0x38]
push 0x18
cmp eax, 1
jne 0x48aa04
call fcn.005feedc
add esp, 4
cmp eax, ebp
je 0x48a9f2
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 0x48a9f4
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ecx + 0x250], eax
je 0x48aa6d
jmp 0x48aa39
call fcn.005feedc
add esp, 4
cmp eax, ebp
je 0x48aa2c
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 0x48aa2e
xor eax, eax
mov edx, dword [esp + 0x20]
cmp eax, ebp
mov dword [edx + 0x10], eax
je 0x48aa6d
fld qword [ebx + 0x28]
fmul qword [0x6359f0]
mov dword [esp + 0x20], eax
call fcn.005e6974
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 0x48a8d6
lea ecx, [esp + 0xa0]
mov byte [esp + 0xec], 1
call fcn.00555550
jmp 0x48ae78
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x70]
push eax
push ecx
push ebx
push ebx
mov esi, 0x10
push 0x6a7814
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48ae78
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 0x48ab21
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48aafa
cmp edi, ebx
jne 0x48aafa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48ab0c
mov edx, dword [esp + 0x1c]
push 1
push ebx
push ebx
push edx
call fcn.005e8c50
add esi, eax
adc edi, edx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jg 0x48ab21
jl 0x48ab1d
cmp esi, ebx
jae 0x48ab21
xor esi, esi
xor edi, edi
push 0x18
call fcn.005feedc
add esp, 4
cmp eax, ebx
je 0x48ab44
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 0x48ab46
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [ecx + 0x250], eax
je 0x48ae78
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x48ae78
push eax
lea edx, [esp + 0x84]
push 0x6a0150
push edx
call fcn.005e6db3
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x80]
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 0x48ae78
mov ecx, dword [0x6cc708]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x28]
push str._s_ld
push ecx
mov byte [esp + 0xfc], 4
call fcn.005fb90b
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 0x48ac81
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 0x48ac19
cmp ebp, ebx
jne 0x48ac19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48ac97
mov ecx, dword [esp + 0x1c]
push 1
push ebx
push ebx
push ecx
call fcn.005e8c50
add edi, eax
push esi
adc ebp, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x18
mov dword [esp + 0xf0], 4
call fcn.005feedc
add esp, 4
cmp eax, ebx
je 0x48ac70
mov esi, dword [esp + 0x78]
mov ecx, esi
add ecx, edi
mov edi, dword [esp + 0x7c]
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 0x48ac72
xor eax, eax
mov edx, dword [esp + 0x30]
cmp eax, ebx
mov dword [edx + 0x10], eax
je 0x48acb7
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 1
call fcn.00602ad6
jmp 0x48ab5c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0xec], 1
call fcn.00602ad6
jmp 0x48ae78
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 1
call fcn.00602ad6
jmp 0x48ae78
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push ebx
push ebx
push 0x6a7814
push edx
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48ad17
push ebp
call fcn.005fef05
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 0x48aea1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x70]
push edx
push str._dkf
push eax
xor esi, esi
xor edi, edi
call fcn.005e6db3
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x80]
lea eax, [esp + 0x70]
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 0x48ada7
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
jne 0x48ad95
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov ecx, dword [esp + 0x58]
jl 0x48ada7
jg 0x48ad87
cmp dword [esp + 0x30], ecx
jbe 0x48ada7
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub esi, ecx
sbb edi, eax
jmp 0x48ada7
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jbe 0x48ada3
sub eax, ecx
mov esi, eax
jmp 0x48ada5
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x50]
push 0x18
cmp eax, ebx
jne 0x48ade8
call fcn.005feedc
add esp, 4
cmp eax, ebx
je 0x48add2
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 0x48add4
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [edx + 0x250], eax
je 0x48ae78
jmp 0x48ae2a
call fcn.005feedc
add esp, 4
cmp eax, ebx
je 0x48ae1d
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 0x48ae1f
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [ecx + 0x10], eax
je 0x48ae78
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x48ae78
push eax
lea edx, [esp + 0x94]
push 0x6a0150
push edx
call fcn.005e6db3
add esp, 0xc
lea eax, [esp + 0x20]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x90]
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 0x48ad21
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.005fef05
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 + 0xec], 0
call fcn.00602ad6
lea ecx, [esp + 0x28]
mov dword [esp + 0xec], 0xffffffff
call fcn.00602ad6
mov ecx, dword [esp + 0xe4]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret