Function at 0x48a180
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 0x615454
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.00489ef0
mov eax, dword [0x6e7b6c]
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 + 0x478]
lea eax, [esp + 0x28]
push edx
push 0x6c15d4
push eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.005f368b
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 0x6ec0c8
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48ab53
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 0x48ab53
mov ecx, dword [esp + 0x18]
inc ecx
push ecx
call fcn.005f6c5c
mov ebp, eax
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x4c], ebp
jne 0x48a280
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ab53
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push ebx
push 0x6c35c0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48a2b5
push ebp
call fcn.005f6c85
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ab53
mov eax, dword [0x6e7b6c]
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 0x6c35b4
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 0x48a2f7
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 0x6c35ac
push eax
mov byte [esp + 0x3f], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48a325
cmp dword [esp + 0x48], ebx
setne byte [esp + 0x27]
cmp edi, 4
je 0x48a3b8
cmp edi, 5
je 0x48a3b8
mov al, byte [esp + 0x27]
test al, al
jne 0x48a3b8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x64]
push ecx
push edx
push ebx
push ebx
push 0x6c35a0
push eax
mov dword [esp + 0x30], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48a380
push ebp
call fcn.005f6c85
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ab42
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, eax
or edx, ecx
jne 0x48a3a7
push ebp
call fcn.005f6c85
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ab42
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], ecx
jmp 0x48a45f
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 0x6c3594
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48a40a
fld qword [esp + 0x50]
fmul qword [0x637090]
call fcn.005de5f4
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 0x48a463
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x40]
push ecx
push edx
push ebx
push ebx
push 0x6c3584
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48a447
push ebp
call fcn.005f6c85
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ab42
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 0x6ec0c8
push ebx
push 0x6c357c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48a4aa
push ebp
call fcn.005f6c85
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ab42
cmp edi, 4
je 0x48a974
cmp edi, 5
je 0x48a974
mov al, byte [esp + 0x27]
test al, al
je 0x48a72c
lea ecx, [esp + 0x98]
call fcn.0054ff70
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x98]
push eax
mov byte [esp + 0xe8], 2
call fcn.005506d0
cmp dword [esp + 0x44], ebx
jl 0x48a557
jg 0x48a4fb
cmp dword [esp + 0x40], ebx
jbe 0x48a557
mov ecx, dword [0x6e7b6c]
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.00579ad0
mov eax, dword [esi + 0x24c]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp dword [eax + 0x318], 0x10
setne cl
inc ecx
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.00550d40
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 2
call fcn.005fa859
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x48a713
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 0x48a64a
jg 0x48a592
cmp dword [esp + 0x40], ebp
jbe 0x48a64a
cmp dword [ebx + 0x44], ebp
je 0x48a5ae
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 0x48a5b5
mov esi, 1
xor edi, edi
mov eax, dword [ebx + 0x38]
push 0x18
cmp eax, 1
jne 0x48a5f8
call fcn.005f6c5c
add esp, 4
cmp eax, ebp
je 0x48a5db
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 0x48a5dd
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ecx + 0x250], eax
je 0x48a713
mov dword [esp + 0x20], eax
jmp 0x48a705
call fcn.005f6c5c
add esp, 4
cmp eax, ebp
je 0x48a630
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 0x48a632
xor eax, eax
mov edx, dword [esp + 0x20]
cmp eax, ebp
mov dword [edx + 0x10], eax
je 0x48a713
mov dword [esp + 0x20], eax
jmp 0x48a705
cmp dword [ebx + 0x44], ebp
je 0x48a66b
fld qword [ebx + 0x28]
fmul qword [0x6370a0]
call fcn.005de5f4
or esi, 0xffffffff
mov edi, 0xffffffff
sub esi, eax
sbb edi, edx
jmp 0x48a672
mov esi, 1
xor edi, edi
mov eax, dword [ebx + 0x38]
push 0x18
cmp eax, 1
jne 0x48a6aa
call fcn.005f6c5c
add esp, 4
cmp eax, ebp
je 0x48a698
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 0x48a69a
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ecx + 0x250], eax
je 0x48a713
jmp 0x48a6df
call fcn.005f6c5c
add esp, 4
cmp eax, ebp
je 0x48a6d2
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 0x48a6d4
xor eax, eax
mov edx, dword [esp + 0x20]
cmp eax, ebp
mov dword [edx + 0x10], eax
je 0x48a713
fld qword [ebx + 0x28]
fmul qword [0x637090]
mov dword [esp + 0x20], eax
call fcn.005de5f4
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 0x48a57c
lea ecx, [esp + 0x98]
mov byte [esp + 0xe4], 1
call fcn.0054ffd0
jmp 0x48ab19
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 0x6c3578
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48ab19
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 0x48a7c7
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48a7a0
cmp edi, ebx
jne 0x48a7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48a7b2
mov edx, dword [esp + 0x1c]
push 1
push ebx
push ebx
push edx
call fcn.005e09d0
add esi, eax
adc edi, edx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jg 0x48a7c7
jl 0x48a7c3
cmp esi, ebx
jae 0x48a7c7
xor esi, esi
xor edi, edi
push 0x18
call fcn.005f6c5c
add esp, 4
cmp eax, ebx
je 0x48a7ea
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 0x48a7ec
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [ecx + 0x250], eax
je 0x48ab19
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x48ab19
push eax
lea edx, [esp + 0x70]
push 0x6bc140
push edx
call fcn.005deb38
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 0x48ab19
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x28]
push 0x6bfd04
push ecx
mov byte [esp + 0xf4], 4
call fcn.005f368b
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 0x48a928
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 0x48a8bd
cmp ebp, ebx
jne 0x48a8bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x48a93e
mov ecx, dword [esp + 0x1c]
push 1
push ebx
push ebx
push ecx
call fcn.005e09d0
add edi, eax
push esi
adc ebp, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x18
mov dword [esp + 0xe8], 4
call fcn.005f6c5c
add esp, 4
cmp eax, ebx
je 0x48a917
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 0x48a919
xor eax, eax
mov edx, dword [esp + 0x30]
cmp eax, ebx
mov dword [edx + 0x10], eax
je 0x48a95e
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 1
call fcn.005fa859
jmp 0x48a802
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0xe4], 1
call fcn.005fa859
jmp 0x48ab19
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 1
call fcn.005fa859
jmp 0x48ab19
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push ebx
push ebx
push 0x6c3578
push edx
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48a9be
push ebp
call fcn.005f6c85
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 0x48ab42
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 0x6c3570
push eax
xor esi, esi
xor edi, edi
call fcn.005deb38
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 0x48aa48
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
jne 0x48aa36
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov ecx, dword [esp + 0x58]
jl 0x48aa48
jg 0x48aa28
cmp dword [esp + 0x30], ecx
jbe 0x48aa48
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub esi, ecx
sbb edi, eax
jmp 0x48aa48
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jbe 0x48aa44
sub eax, ecx
mov esi, eax
jmp 0x48aa46
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x50]
push 0x18
cmp eax, ebx
jne 0x48aa89
call fcn.005f6c5c
add esp, 4
cmp eax, ebx
je 0x48aa73
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 0x48aa75
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [edx + 0x250], eax
je 0x48ab19
jmp 0x48aacb
call fcn.005f6c5c
add esp, 4
cmp eax, ebx
je 0x48aabe
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 0x48aac0
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [ecx + 0x10], eax
je 0x48ab19
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x48ab19
push eax
lea edx, [esp + 0x8c]
push 0x6bc140
push edx
call fcn.005deb38
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 0x48a9c8
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.005f6c85
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.005fa859
lea ecx, [esp + 0x28]
mov dword [esp + 0xe4], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0xdc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret