Function at 0x545e60
Capabilities:
Get file size
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6372b8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
call fcn.00545ce0
lea ecx, [esp + 0x14]
call fcn.004024e0
xor ebx, ebx
mov dword [esp + 0x60], ebx
push str.Trace_list_2._r_n
mov ecx, edi
call fcn.00540ff0
mov esi, dword [edi + 0x88]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp esi, ebx
je 0x54603d
mov eax, dword [esi + 0x10]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
je 0x545f75
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x100], 0xffffffff
jne 0x545f4e
cmp dword [eax + 0x104], ebx
jne 0x545f4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x545f4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push str.Error_during_GetFileSize____errcode___d._n
push edx
call fcn.00402f60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.00540ff0
xor edi, edi
jmp 0x545f6a
mov ecx, dword [esp + 0x2c]
push 1
push 0
push 0
push ecx
call fcn.005fd4d0
add edi, eax
adc ebx, edx
add dword [esp + 0x1c], edi
adc dword [esp + 0x20], ebx
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x60]
push eax
lea ecx, [esp + 0x4c]
push 0x64f36c
push ecx
call fcn.005fb4cb
add esp, 0xc
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edx + 0xdc]
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push eax
mov dword [esp + 0x48], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x545fd5
mov eax, dword [eax + 0x60]
jmp 0x545fd8
or eax, 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x545fe6
mov ecx, dword [ecx + 0x88]
jmp 0x545fe9
or ecx, 0xffffffff
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x48]
push ebx
push edi
push edx
mov edx, dword [esp + 0x50]
push edx
xor edx, edx
cmp dword [esi + 0x14], edx
setne dl
push edx
push eax
mov eax, dword [esi + 0x60]
push ecx
push eax
lea ecx, [esp + 0x3c]
push str.Item_id_d__conn_d__next_d__compl_d__start_I64d__fsize_I64d__total_I64d_r_n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 0x30
push edx
call fcn.00540ff0
mov esi, dword [esi + 0x58]
test esi, esi
jne 0x545ed3
mov edi, dword [esp + 0x18]
push str.End_trace_list._r_n
mov ecx, edi
call fcn.00540ff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret