joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5469d0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x654108
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x752bcc]
push str.WBProxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0x66e97c
push 0
push str.SoftwareDownloadManagerWBProxy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x546af8
lea eax, [esp + 0x1c]
push eax
call fcn.0061be0a
mov eax, dword [ebp + 8]
add esp, 4
xor edi, edi
test eax, eax
jle 0x546aed
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test edi, edi
jl 0x546b0c
cmp edi, eax
jge 0x546b0c
mov ecx, dword [ebp + 4]
mov esi, dword [ecx + edi*4]
mov edx, dword [esp + 0x1c]
sub edx, dword [esi + 4]
lea eax, [ecx + edi*4]
cmp edx, 0x278d00
jge 0x546ae1
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 4]
cdq
push edx
push eax
lea eax, [esp + 0x1c]
push str._I64d
push eax
call fcn.00402f70
mov esi, dword [esi]
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x546ab4
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push 0
push ecx
push edx
call ebx
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x546a5c
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call fcn.005e9bc5
int3
Function at 0x546c80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654130
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x74d890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push 0x66e97c
push ebx
push str.SoftwareDownloadManagerWBProxy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x546d7e
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ebx
push ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x546d6d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
push eax
call fcn.005e9aa7
mov esi, eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.005e9aa7
add esp, 8
mov edi, eax
cmp esi, ebx
je 0x546d6d
cmp edi, ebx
je 0x546d6d
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
push edx
push edi
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
push esi
push ebx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x546d90
push esi
call fcn.005e9ab2
push edi
call fcn.005e9ab2
add esp, 8
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x546de6
push esi
call fcn.0061700c
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x546db0
lea eax, [ebp - 0x20]
push eax
call fcn.0061be0a
add esp, 4
push 8
call fcn.005e9a78
add esp, 4
test eax, eax
je 0x546dc7
mov ecx, eax
call fcn.004f34a0
jmp 0x546dc9
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
push edi
call fcn.00546c40
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.005468e0
inc ebx
jmp 0x546d2d
Function at 0x54b2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x654651
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.AMFObjectProperty.0
mov dword [esp + 0x14], 1
lea ecx, [esi + 0x30]
call fcn.00402570
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x1c]
call fcn.0054b170
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 8]
call fcn.00402570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x54b770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6546c6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebx, [esi + 4]
mov ecx, ebx
mov dword [esi], vtable.AMF3ClassDefinition.0
call fcn.00402500
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esi + 0xc], vtable.CIDMStringsList.0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov byte [esp + 0x20], 1
mov edi, dword [esp + 0x28]
mov al, byte [esp + 0x2c]
mov cl, byte [esp + 0x30]
mov byte [esi + 8], al
mov byte [esi + 9], cl
cmp edi, edx
jne 0x54b7e0
xor eax, eax
jmp 0x54b7ee
mov eax, edi
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, dl
jne 0x54b7e5
sub eax, ebp
push eax
push edi
mov ecx, ebx
call fcn.00402960
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x54b820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x654651
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.AMFObjectProperty.0
call fcn.00402500
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x1c]
call fcn.0054b110
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x30]
call fcn.00402500
mov byte [esp + 0x14], 2
mov ecx, esi
call fcn.0054b660
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x54c580
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [ecx + 0xd4]
jmp fcn.00561720
Function at 0x54d2f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654850
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x74d890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x54d35c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ebx
cmp eax, 0xffffffff
jne 0x54d3a7
cmp ebx, ebx
jne 0x54d3a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp eax, ebx
je 0x54d3a7
mov dword [esi], ebx
mov dword [esi + 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push ebx
push ebx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0061a480
add dword [esi], eax
adc dword [esi + 4], edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54d3f0
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xffffffffffffffff
push 0x654870
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp + 0x80], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0xdc], edi
je 0x54d4dc
mov eax, dword [esi + 0x90]
cmp eax, edi
je 0x54d460
push eax
push str.SoftwareDownloadManager_ldChList
lea eax, [ebp]
push eax
call fcn.006186ab
add esp, 0xc
jmp 0x54d479
mov ecx, dword [esi + 8]
push ecx
mov edx, dword [esi + 4]
push edx
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ldChList
lea eax, [ebp]
push eax
call fcn.006186ab
add esp, 0x10
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xdc]
cmp eax, edi
je 0x54d48e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
jmp 0x54d4a3
lea ecx, [ebp]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [ebp - 0x18]
push edx
add esi, 0xdc
push esi
push 0
push 0xf003f
push 0
push 0x66e97c
push 0
lea eax, [ebp]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.006157d3
add ebp, 0x84
mov esp, ebp
pop ebp
ret
Function at 0x54d730
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x158
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
mov ebx, dword [esp + 0x164]
push esi
mov esi, ecx
cmp dword [esi + 0xdc], 0
push edi
mov edi, dword [esp + 0x168]
je 0x54d848
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx]
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x60]
mov dword [esp + 0x14], edx
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x54d78b
mov edx, dword [ecx + 0x60]
mov dword [esp + 0x10], edx
jmp 0x54d793
mov dword [esp + 0x10], 0xffffffff
push ebp
push eax
lea eax, [esp + 0x28]
push 0x66e42c
push eax
call fcn.006186ab
mov eax, dword [esi + 0xdc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0xc
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x34]
push edx
push eax
call ebp
mov ecx, dword [edi + 0x60]
push ecx
lea edx, [esp + 0x28]
push 0x66e42c
push edx
call fcn.006186ab
add esp, 0xc
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xdc]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x38], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x54d827
push eax
lea ecx, [esp + 0x68]
push str.Error_reading_registry__errCode___d._n
push ecx
call fcn.006186ab
add esp, 0xc
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.0054c580
mov eax, dword [ebx + 0x60]
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xdc]
push edx
push eax
call ebp
pop ebp
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006157d3
add esp, 0x158
ret 8
Function at 0x54d8e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6548e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x54d9e3
mov eax, dword [0x753674]
cmp eax, edi
jne 0x54d944
push str.Advapi32.dll
call fcn.00447330
add esp, 4
mov dword [0x753674], eax
cmp eax, edi
je 0x54d9e3
cmp dword [0x753804], edi
jne 0x54d962
push str.GetSecurityInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x753804], eax
mov eax, dword [0x753674]
mov ecx, dword [0x753808]
cmp ecx, edi
jne 0x54d980
push str.SetSecurityInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x753808], ecx
cmp dword [0x753804], edi
je 0x54d9e3
cmp ecx, edi
je 0x54d9e3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
push edi
push esi
push str._s.tmp
lea ecx, [ebp - 0x20]
call fcn.004021b0
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x54d9b8
lea eax, [ebp - 0x1c]
push edi
push 0x80
push 1
push edi
push edi
push 0xc0020000
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x54d9ff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006157d3
mov esp, ebp
pop ebp
ret
push edi
push edi
lea ecx, [ebp - 0x24]
push ecx
push edi
push edi
push 4
push 1
push esi
call dword [0x753804]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x54da25
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x54d9d7
push edi
push 0x80
push 3
push edi
push edi
push 0x60000
mov edx, dword [ebp - 0x28]
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x54d9d7
push edi
mov eax, dword [ebp - 0x24]
push eax
push edi
push edi
push 4
push 1
push esi
call dword [0x753808]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x54d9e3
Function at 0x54f010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654af8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
wait
mov ebx, 0x10
mov dword [ebp - 0x84], ebx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0x67c748
mov edx, dword [esi + 0xdc]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
je 0x54f0a0
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006157d3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x80]
push eax
push str._dkf
lea ecx, [ebp - 0x24]
push ecx
call fcn.006186ab
add esp, 0xc
mov dword [ebp - 0x68], ebx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x94]
push eax
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [esi + 0xdc]
push edx
call edi
test eax, eax
jne 0x54f19c
mov eax, dword [ebp - 0x8c]
cmp eax, 0xffffffff
jne 0x54f122
mov eax, dword [ebp - 0x78]
fild dword [ebp - 0x78]
test eax, eax
jge 0x54f0f7
fadd qword [0x676138]
fdiv qword [0x67c730]
fcom qword [esi + 0xb8]
fnstsw ax
test ah, 5
jp 0x54f19a
fsubr qword [esi + 0xb8]
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x54f19c
mov ecx, dword [ebp - 0x78]
cmp eax, ecx
jbe 0x54f14f
sub eax, ecx
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
test eax, eax
jge 0x54f13b
fadd qword [0x676138]
fdiv qword [0x67c730]
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x54f19c
jae 0x54f19c
lea ecx, [ebp - 0x6c]
call fcn.00402500
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
push str.error_in_chlist__id_d__next_d__starttime_ld__ts_ld_n
lea edx, [ebp - 0x6c]
push edx
call fcn.00402f70
add esp, 0x18
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0054c580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00402570
jmp 0x54f19c
fstp st(0)
mov eax, dword [ebp - 0x7c]
cmp eax, 0xffffffff
je 0x54f1d6
push eax
push 0x66e42c
lea ecx, [ebp - 0x64]
push ecx
call fcn.006186ab
add esp, 0xc
mov dword [ebp - 0x68], ebx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x80]
push eax
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [esi + 0xdc]
push edx
call edi
test eax, eax
je 0x54f1e3
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x54f07e
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x78]
cmp eax, ecx
jbe 0x54f0a0
cmp eax, 0xffffffff
je 0x54f0a0
sub eax, ecx
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
test eax, eax
jge 0x54f20f
fadd qword [0x676138]
fdiv qword [0x67c730]
fsubr qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x54f0a0
Function at 0x5516f0
Capabilities:
Get file size
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x654e58
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.00551570
lea ecx, [esp + 0x14]
call fcn.00402500
xor edi, edi
mov dword [esp + 0x88], edi
push str.Trace_list_2._r_n
mov ecx, ebp
call fcn.0054c580
mov esi, dword [ebp + 0x88]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp esi, edi
je 0x5518ba
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 + 0x24], eax
cmp eax, 0xffffffff
je 0x5517fc
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp + 0x100], 0xffffffff
mov edi, eax
jne 0x5517d5
cmp dword [ebp + 0x104], ebx
jne 0x5517d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5517d5
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.00402f70
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
mov ecx, ebp
call fcn.0054c580
xor edi, edi
jmp 0x5517f1
mov ecx, dword [esp + 0x28]
push 1
push 0
push 0
push ecx
call fcn.0061a480
add edi, eax
adc ebx, edx
add dword [esp + 0x18], edi
adc dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x60]
push eax
lea ecx, [esp + 0x40]
push 0x66e42c
push ecx
call fcn.006186ab
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebp + 0xdc]
lea eax, [esp + 0x30]
push eax
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x38], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x551858
mov eax, dword [eax + 0x60]
jmp 0x55185b
or eax, 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x551869
mov ecx, dword [ecx + 0x98]
jmp 0x55186c
or ecx, 0xffffffff
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push ebx
push edi
push edx
mov edx, dword [esp + 0x48]
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.00402f70
mov edx, dword [esp + 0x44]
add esp, 0x30
push edx
mov ecx, ebp
call fcn.0054c580
mov esi, dword [esi + 0x58]
test esi, esi
jne 0x551760
push str.End_trace_list._r_n
mov ecx, ebp
call fcn.0054c580
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.006157d3
add esp, 0x78
ret
Function at 0x5582e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 0x68]
sub esp, 8
test eax, eax
je 0x558322
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 4]
push edx
push 0
push 0
push str.mmsIndex
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x558322
cmp dword [esp], eax
setne al
add esp, 8
ret
xor al, al
add esp, 8
ret

Function at 0x558330
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x150]
sub esp, 0x150
push 0xffffffffffffffff
push 0x6554c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp + 0x14c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x68], ebx
je 0x55842c
mov eax, dword [esi + 0x60]
push eax
push 0x66e42c
lea ecx, [ebp + 0x144]
push ecx
call fcn.006186ab
add esp, 0xc
mov dword [ebp - 0x24], 0x10
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
lea ecx, [ebp + 0x144]
push ecx
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x5583ef
push eax
push str.Error_reading_registry__errCode___d._n
lea eax, [ebp]
push eax
call fcn.006186ab
add esp, 0xc
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.00558170
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x5583e3
mov eax, dword [eax + 0x60]
jmp 0x5583e6
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], eax
mov edx, dword [esi + 0x60]
mov dword [ebp - 0x20], edx
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x24]
push 1
push 0
push 0
push eax
call fcn.0061a480
add edi, eax
mov dword [ebp - 0x18], edi
adc ebx, edx
mov dword [ebp - 0x14], ebx
push 0x10
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
lea edx, [ebp + 0x144]
push edx
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x14c]
xor ecx, ebp
call fcn.006157d3
add ebp, 0x150
mov esp, ebp
pop ebp
ret