joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x56
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x439f59
push 0x57
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x439f59
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftActive_SetupInstalled_Components78705f0d_e8db_4b2d_8193_982bdda15ecd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439f49
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x594b4c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
test eax, eax
je 0x439fa5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0x104
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftActive_SetupInstalled_ComponentsFDC11A6F_17D1_48f9_9EA3_9051954BAA24
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439f49
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
jmp 0x439f25
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push 0x2c
push eax
call fcn.00529a54
add esp, 8
test eax, eax
je 0x439f49
add eax, 2
push eax
call fcn.005351a0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x43a140
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557d1e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CMangerIconDownThread.0
mov dword [ebp - 4], 1
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00425b70
mov byte [ebp - 4], 1
push dword [esi]
call fcn.0051209c
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x43a1d0
mov eax, dword [edi + 0x20]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], vtable.base_thread.0
test eax, eax
je 0x43a1f4
push eax
call esi
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x43a205
push eax
call esi
mov dword [edi + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x43a223
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x43a223
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bfd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558190
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 0
xor bl, bl
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
push 0x5951ec
call fcn.0040ebc0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43c077
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43c05a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407af0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43c090
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43c163
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x5951f8
lea eax, [ebp - 0x264]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c106
test dx, dx
je 0x43c102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c106
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c0e0
xor eax, eax
jmp 0x43c10b
sbb eax, eax
or eax, 1
test eax, eax
je 0x43c14f
mov ecx, 0x5951fc
lea eax, [ebp - 0x264]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c146
test dx, dx
je 0x43c142
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c146
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c120
xor eax, eax
jmp 0x43c14b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43c163
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x43c0d0
mov bl, 1
test esi, esi
je 0x43c16e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43c18a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x442180
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0
push 0
push 0
push str.WininetDownAgent
mov ebx, edx
mov byte [ebp - 0x405], 0
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x410], eax
test eax, eax
je 0x442285
push edi
push 0
push SysReAllocString
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x442278
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x442271
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x40c], 0
nop
lea eax, [ebp - 0x40c]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov eax, dword [ebp - 0x40c]
je 0x44225f
test eax, eax
je 0x442263
push 0
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call ebx
test eax, eax
je 0x44226a
cmp dword [ebp - 0x40c], 0
jne 0x442210
jmp 0x44226a
test eax, eax
jne 0x442210
mov byte [ebp - 0x405], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x410]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x405]
xor ecx, ebp
pop esi
pop ebx
call fcn.005120a1
mov esp, ebp
pop ebp
ret

Function at 0x443450
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
push 0
test eax, eax
jne 0x443490
xor edx, edx
mov ecx, 0xf7128
call fcn.00411230
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 8]
neg ecx
sbb ecx, ecx
xor edx, edx
add ecx, 0xf712a
call fcn.00411230
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x443630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559632
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, 0x595f14
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0040e950
mov dword [ebp - 4], 0
mov ebx, 1
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x14], 8
jb 0x443687
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4436c5
mov edx, 0x596c24
lea ecx, [ebp - 0x28]
call fcn.0040e950
mov dword [ebp - 4], 1
mov ebx, 3
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x14], 8
jb 0x4436b6
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x41], 1
test eax, eax
jne 0x4436c9
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0
test bl, 2
je 0x443704
and ebx, 0xfffffffd
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4436f0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
and ebx, 0xfffffffe
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x443726
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp byte [ebp - 0x41], al
mov word [ebp - 0x40], ax
setne al
mov dword [ebp - 0x30], 0
mov byte [edi + 0x1c4], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret

Function at 0x446730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
push 0x20019
push 0
push 0x596f70
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44677e
lea eax, [ebp - 0x4c]
push eax
push 0x20019
push 0
push 0x596f70
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4467ae
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x40
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x596f68
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4467c0
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x5c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
cmp eax, 3
je 0x4467d5
cmp eax, 4
jne 0x4467ec
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4467ec
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
call fcn.00448580
add esp, 8
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
xor ecx, ebp
mov edx, dword [ebp - 0x54]
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x446830
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559dad
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x114], edi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov dword [ebp - 0x12c], edi
mov word [edi], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
push 0x100
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x11c], 1
push eax
movlpd qword [ebp - 0x118], xmm0
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp - 0x110], 0
lea esi, [ebp - 0x110]
je 0x446968
mov ebx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x114], eax
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [esi]
mov ecx, 0x41
cmp cx, ax
je 0x44695f
mov ecx, 0x42
cmp cx, ax
je 0x44695f
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x44695f
push 0
push 0
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44695f
mov ecx, dword [ebp - 0x124]
cmp ecx, ebx
jb 0x44695f
mov eax, dword [ebp - 0x128]
ja 0x44694f
cmp eax, dword [ebp - 0x114]
jbe 0x44695f
mov ebx, ecx
mov dword [ebp - 0x114], eax
push esi
mov ecx, edi
call fcn.0040cb70
add esi, 8
cmp word [esi], 0
jne 0x4468f5
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4475b0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x800
lea eax, [ebp - 0x808]
mov bl, cl
push 0
push eax
call fcn.0052d340
add esp, 0xc
mov dword [ebp - 0x80c], 0
lea eax, [ebp - 0x80c]
push eax
push 0x2001f
push 0
push 0x597640
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4476d6
push eax
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x810], 1
push eax
push 0
push 0x59761c
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x447647
push 0x59769c
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test bl, bl
je 0x4476b9
call fcn.004476f0
test al, al
jne 0x4476ca
mov eax, 0x22
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.___start
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x808]
push eax
push 1
push 0
push 0x5976d4
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4476ca
push 0x5976f0
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x447d30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a17d
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x414], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x41c], esi
mov word [esi], dx
mov dword [ebp - 4], edx
push eax
push 0x200
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], 1
push eax
push 0x597d68
push ecx
push 0x597d94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x410], 0
jne 0x447dcd
xor ecx, ecx
jmp 0x447de5
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447dd6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00404d30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret

Function at 0x447ed0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554d60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov edx, 0x597dac
lea ecx, [ebp - 0x28]
call fcn.00411d80
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x447f1a
mov eax, dword [eax]
push eax
push esi
push edi
push 0x597dcc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x447f46
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x448400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x597ee0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44847c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push 0x597f68
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
setne bl
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], 0xffffffff
jmp 0x4484bf
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4484cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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 0x4484f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 0
push eax
push 0x20219
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdate
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448564
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x598010
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x448564
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ExcludeWUDriversInQualityUpdate
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x448572
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4496e0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a468
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x61308c]
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 edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
jne 0x44973c
xor ecx, ecx
jmp 0x449750
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449741
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00404d30
mov dword [ebp - 4], 0
lea edx, [ebp - 0x44]
push str..ico
lea ecx, [ebp - 0x5c]
call fcn.0040ebc0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44986c
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.004048d0
mov byte [ebp - 4], 2
cmp word [ebp - 0x280], 0
jne 0x4497f3
xor eax, eax
jmp 0x44980f
lea eax, [ebp - 0x280]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449800
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406f60
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x449846
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2ac]
push eax
push edi
mov dword [ebp - 0x1c], 0
call esi
test eax, eax
jne 0x4497b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x449885
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4498b5
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
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.005120a1
mov esp, ebp
pop ebp
ret 4