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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push ebx
push edi
cmp eax, 4
jae 0x41ea7a
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x41ea7a
xor ebx, ebx
cmp word [edi], bx
je 0x41ea7a
push esi
push dword [eax*4 + 0x4863d4]
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xc], ebx
push str.SystemSetupFirstBoot_
call fcn.0043b487
mov edx, eax
lea ecx, [ebp - 8]
call fcn.0043ab55
pop ecx
push ebx
lea esi, [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
push esi
push 0x20006
push ecx
mov eax, dword [eax + 0x48]
push 0x80000002
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043c924
test esi, esi
jne 0x41ea6d
call fcn.0043c5cd
push eax
lea ecx, [ebp + 0x10]
call fcn.0043ac50
push esi
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
push 0x491494
push eax
call fcn.00449eea
add esp, 0xc
lea ecx, [ebp + 0x10]
push eax
call fcn.0043b599
lea ecx, [ebp - 4]
push ecx
push esi
push esi
push esi
jmp 0x41ea36
inc ebx
lea eax, [ebp + 8]
push ebx
push 0x491494
push eax
call fcn.00449eea
add esp, 0xc
lea ecx, [ebp + 0x10]
push eax
call fcn.0043b599
lea ecx, [ebp - 4]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [eax]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
cmp esi, 2
jne 0x41ea11
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0044cd7d
pop ecx
mov ecx, dword [ebp + 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
lea ecx, [ebp + 0xc]
call fcn.0043a910
mov eax, esi
pop esi
jmp 0x41ea7d
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0xc

Function at 0x41eaac
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push esi
push str.WindowsSystem32OEMDefaultAssociations.xml
lea edx, [edx + 4]
call fcn.0043ab55
pop ecx
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
pop esi
je 0x41eae7
xor eax, eax
jmp 0x41eaf8
call fcn.0044bc4b
cmp eax, 0x80070002
jne 0x41eaf8
mov eax, 0x20020001
pop ebp
ret 8

Function at 0x41eafc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push esi
push str.WindowsSystem32OEMDefaultAssociations.xml
lea edx, [edx + 4]
call fcn.0043ab55
pop ecx
xor esi, esi
push esi
push dword [eax]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41eb2d
call fcn.0044bc4b
mov esi, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0043c924
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x41eb3f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push esi
push str.WindowsSystem32OEMDefaultAssociations.xml
lea edx, [edx + 4]
call fcn.0043ab55
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
pop esi
je 0x41eb75
xor eax, eax
jmp 0x41eb86
call fcn.0044bc4b
lea ecx, [eax + 0x7ff8fffe]
neg ecx
sbb ecx, ecx
and eax, ecx
pop ebp
ret 4

Function at 0x41f017
Capabilities:
Get file size
Read file via mapping
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
push 0x2000000
neg eax
mov dword [ebp - 8], edi
push 3
sbb eax, eax
push ebx
and eax, 0x100
push 5
add eax, 0x80000000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, 0xffffffff
jne 0x41f05e
call fcn.0044bc4b
mov ebx, eax
jmp 0x41f0ce
cmp dword [ebp + 8], ebx
je 0x41f08d
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 4
push 0x28
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, dword [ebp - 8]
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
push 4
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x41f0b6
call fcn.0044bc4b
mov ebx, eax
jmp 0x41f0c6
push ebx
push esi
mov dword [edi], eax
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 4], eax
lea ecx, [ebp + 8]
call fcn.004387e2
lea ecx, [ebp - 0xc]
call fcn.0043ab9a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x4228d6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov ebx, edx
mov dword [ebp - 4], esi
call fcn.0042264c
xor edi, edi
inc edi
cmp eax, edi
jne 0x422a02
push ecx
push 5
push 0x494fdc
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.00438387
test eax, eax
je 0x422a00
mov edx, dword [eax + 4]
test edx, edx
je 0x422920
mov ecx, dword [eax + 0xc]
jmp 0x422922
mov ecx, esi
test ecx, ecx
je 0x422a00
test edx, edx
je 0x422933
mov eax, dword [eax + 0xc]
jmp 0x422935
mov eax, esi
test edx, edx
jne 0x42293e
mov edx, 0x491414
push eax
lea ecx, [ebp - 0xc]
call fcn.0044b14d
pop ecx
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xc]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
je 0x422975
xor eax, eax
jmp 0x422a02
push ecx
push 4
push str.Type
mov ecx, ebx
call fcn.00438387
test eax, eax
je 0x422a04
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x422994
mov ecx, 0x491414
mov eax, dword [ebp - 0x10]
sub eax, 1
je 0x4229f9
sub eax, 1
je 0x4229f2
sub eax, 1
je 0x4229eb
sub eax, 1
je 0x4229d6
sub eax, 3
je 0x4229cf
dec eax
sub eax, 1
je 0x4229c8
dec eax
sub eax, 1
je 0x4229c1
or edi, 0xffffffff
jmp 0x422a04
push 0x494ff0
jmp 0x4229db
push str.REG_FULL_RESOURCE_DESCRIPTOR
jmp 0x4229db
push 0x495020
jmp 0x4229db
push 0x494fe4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, eax
neg edi
sbb edi, edi
inc edi
jmp 0x422a04
push 0x495004
jmp 0x4229db
push 0x495010
jmp 0x4229db
push 0x494ffc
jmp 0x4229db
mov eax, edi
mov edi, eax
lea ecx, [ebp - 4]
call fcn.0043a910
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422a13
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov edi, edx
mov dword [ebp - 4], ebx
call fcn.0042264c
mov esi, eax
cmp esi, 1
jne 0x422b0d
push ecx
push 5
push 0x494fdc
mov ecx, edi
call fcn.00438387
test eax, eax
je 0x422ad4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
mov edx, dword [eax + 4]
test edx, edx
je 0x422a64
mov eax, dword [eax + 0xc]
jmp 0x422a66
mov eax, ebx
test edx, edx
jne 0x422a6f
mov edx, 0x491414
push eax
lea ecx, [ebp - 0x10]
call fcn.0044b14d
pop ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
jne 0x422aac
cmp dword [ebp - 0x14], 4
je 0x422aac
mov esi, ebx
jmp 0x422b0d
push ecx
push 0xa
push str.Comparison
mov ecx, edi
call fcn.00438387
mov esi, eax
test esi, esi
je 0x422ad4
push ecx
push 4
push 0x495050
mov ecx, edi
call fcn.00438387
test eax, eax
jne 0x422ad9
or esi, 0xffffffff
jmp 0x422b0d
mov eax, dword [eax + 4]
test eax, eax
jne 0x422ae5
mov eax, 0x491414
mov esi, dword [esi + 4]
test esi, esi
jne 0x422af1
mov esi, 0x491414
push 0xa
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
mov ecx, esi
push ebx
push eax
push ebx
push dword [ebp - 8]
call fcn.0042280a
mov esi, eax
lea ecx, [ebp - 4]
call fcn.0043a910
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4231e4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x14]
sub esp, 0xc
mov eax, dword [eax + 0x148]
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
cmp dword [eax + 0x14], edi
je 0x423308
lea eax, [ebp - 8]
push eax
call fcn.0042264c
cmp eax, 1
jne 0x42330b
push ecx
push 5
push 0x494fdc
mov ecx, ebx
call fcn.00438387
mov esi, eax
test esi, esi
je 0x423308
call fcn.0043c5cd
push eax
lea ecx, [ebp - 4]
call fcn.0043ac50
mov edx, dword [esi + 4]
test edx, edx
je 0x423248
mov eax, dword [esi + 0xc]
jmp 0x42324a
mov eax, edi
test edx, edx
jne 0x423253
mov edx, 0x491414
push eax
lea ecx, [ebp - 0xc]
call fcn.0044b14d
pop ecx
lea ecx, [ebp - 4]
push ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0044cd14
pop ecx
mov ecx, dword [ebp - 0xc]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
je 0x423282
mov esi, dword [ebp - 4]
jmp 0x4232fc
mov eax, 0x104
lea ecx, [ebp - 4]
push eax
push eax
call fcn.0043c822
mov esi, dword [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0043c8bf
push ecx
push 4
push str.Path
mov ecx, ebx
call fcn.00438387
test eax, eax
jne 0x4232be
or edi, 0xffffffff
jmp 0x4232fc
mov edx, dword [eax + 4]
test edx, edx
je 0x4232ca
mov edi, dword [eax + 0xc]
jmp 0x4232cf
mov edx, 0x491414
push edi
lea ecx, [ebp - 0xc]
call fcn.0044b14d
pop ecx
lea ecx, [ebp - 4]
mov edx, dword [eax]
call fcn.0044b36a
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov esi, dword [ebp - 4]
mov edx, ebx
mov ecx, esi
call fcn.00421781
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0043c924
mov eax, edi
jmp 0x42330b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x423310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx + 0x14]
push ebx
xor ebx, ebx
push edi
mov eax, dword [eax + 0x148]
mov edi, edx
cmp dword [eax + 0x14], ebx
jne 0x42335c
push dword [ecx + 0x18]
lea eax, [ebp - 8]
push 0x4951f0
push eax
call fcn.00449eea
add esp, 0xc
push dword [eax]
push 0x494758
push 2
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0043c924
xor eax, eax
inc eax
jmp 0x4233cb
push esi
push ecx
push 8
push str.WqlQuery
mov ecx, edi
call fcn.00438387
mov esi, eax
test esi, esi
jne 0x423377
or eax, 0xffffffff
jmp 0x4233ca
push 8
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x42338b
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x42338d
mov eax, ebx
push ebx
push ebx
push eax
push 0x432abc
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [ebp - 4]
test esi, esi
je 0x4233c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x423cd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push edi
push ecx
push 8
mov edi, ecx
mov ecx, edx
push 0x494d28
call fcn.00438387
test eax, eax
jne 0x423cf7
or eax, 0xffffffff
jmp 0x423e2e
mov edx, dword [eax + 4]
push esi
xor esi, esi
test edx, edx
je 0x423d06
mov eax, dword [eax + 0xc]
jmp 0x423d08
mov eax, esi
test edx, edx
jne 0x423d11
mov edx, 0x491414
push eax
lea ecx, [ebp - 0x10]
call fcn.0044b14d
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
pop ecx
mov eax, dword [eax + 0x148]
cmp dword [eax + 0x14], esi
je 0x423d61
lea eax, [ebp - 0x10]
push eax
push 0x80
push 0x423efb
call dword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
test eax, eax
jne 0x423d4f
or esi, 0xffffffff
jmp 0x423e20
cmp dword [ebp - 8], 1
jbe 0x423e20
mov esi, dword [ebp - 0xc]
jmp 0x423e20
mov dword [ebp - 4], esi
lea edx, [ebp - 4]
mov eax, dword [eax + 0x48]
push edx
push 0x2000000
push str.SYSTEMCurrentControlSetControlMUIUILanguages
mov ecx, dword [eax]
push 0x80000002
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x423d8c
or esi, 0xffffffff
jmp 0x423e18
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 8], 1
jbe 0x423e18
push 0x55
lea eax, [ebp - 0xbc]
mov edi, esi
push eax
push esi
jmp 0x423e06
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x423e15
push 0x5f
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x423dfb
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x423e15
push 0x55
lea eax, [ebp - 0xbc]
inc edi
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x423db7
jmp 0x423e18
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.0043a910
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0043c924
mov eax, esi
pop esi
pop edi
leave
ret

Function at 0x4253b4
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ecx
push ebx
push ebx
push 3
push ebx
push 5
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x42542b
push edi
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x425422
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x425422
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0042543b
push edi
mov bl, al
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp + 8]
call fcn.0043ab9a
pop edi
lea ecx, [ebp - 8]
call fcn.0043ab9a
pop esi
mov al, bl
pop ebx
leave
ret 4
Function at 0x42543b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, dword [esi + 8]
je 0x425451
xor al, al
jmp 0x4254ed
cmp dword [esi], 0x20
push edi
mov edi, dword [esi + 0xc]
jne 0x42548d
push dword [esi + 4]
push dword [ebp + 8]
push 0
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
movzx edx, byte [edi]
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
cmp eax, edx
sete al
jmp 0x4254ec
push ebx
call fcn.0043c5cd
push eax
lea ecx, [ebp + 0xc]
call fcn.0043ac50
mov eax, dword [esi + 0xc]
lea ecx, [ebp + 0xc]
mov ebx, dword [eax - 0xc]
push ebx
call fcn.0043aa22
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
push ebx
push eax
push dword [esi]
mov dword [ebp - 4], eax
call fcn.0044b2b2
add esp, 0xc
test eax, eax
je 0x4254c8
xor bl, bl
jmp 0x4254de
push ebx
push dword [ebp - 4]
push edi
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0043c924
mov al, bl
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x425d14
Capabilities:
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, edx
push edi
push 0
push 0x2000000
push 3
push 0
push 7
push 0x80000000
push ecx
call esi
mov edi, eax
mov dword [ebp - 0x10], edi
cmp edi, 0xffffffff
jne 0x425d50
call fcn.0044bc4b
mov ebx, eax
jmp 0x425e16
xor eax, eax
push eax
push 0x2000080
push 2
push eax
push eax
push 0x40000000
push ebx
call esi
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, 0xffffffff
jne 0x425d7a
call fcn.0044bc4b
mov ebx, eax
jmp 0x425e0e
push 0xa00000
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
pop ecx
xor ebx, ebx
mov dword [ebp - 8], eax
push ebx
lea ecx, [ebp - 4]
push ecx
push 0xa00000
push eax
jmp 0x425dc2
cmp dword [ebp - 4], ebx
je 0x425dd4
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x425dcd
push 0
lea eax, [ebp - 4]
push eax
push 0xa00000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425d98
call fcn.0044bc4b
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
test ebx, ebx
jne 0x425e0e
push 4
push 0x28
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jne 0x425e0c
push 4
push 0x28
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
xor ebx, ebx
lea ecx, [ebp - 0xc]
call fcn.0043ab9a
lea ecx, [ebp - 0x10]
call fcn.0043ab9a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x425e91
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov ebx, ecx
mov eax, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
cmp edi, eax
je 0x425f26
push 0x2f
push 0
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
add eax, 2
lea ecx, [ebp + 8]
push eax
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x144]
add edx, 8
call fcn.0043ab55
mov esi, dword [ebp + 8]
pop ecx
mov ecx, esi
call fcn.0044c9a8
cmp eax, 1
jne 0x425f3d
lea eax, [ebp - 0x1c]
mov edx, 0x8004
push 0x14
push eax
mov ecx, esi
call fcn.0044b192
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x425f42
push 0x14
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x425f2f
lea ecx, [esi - 0x10]
call fcn.0043c924
mov ebx, dword [ebp - 8]
add edi, 0x20
cmp edi, dword [ebp - 4]
jne 0x425eae
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 0x80070570
jmp 0x425f42
mov ebx, 0x80070002
lea ecx, [esi - 0x10]
call fcn.0043c924
mov eax, ebx
jmp 0x425f28
Function at 0x426e03
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [ecx + 0xa]
push dword [ecx + 4]
add word [ecx + 8], ax
movzx eax, word [ecx + 8]
and dword [ecx + 0xc], 0
push 0
push eax
push 0x9478
mov word [ecx + 0xa], dx
call dword [ecx]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [0x4ab220]
push str.SYSTEMSetupMoSetupVolatile
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426e5d
push str.SetupProgress
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 4]
call fcn.0043a910
leave
ret
Function at 0x42715a
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x10]
call fcn.0043ac50
push 0x5c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4271a0
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.0043baa0
add eax, 0x10
mov dword [ebx], eax
lea ecx, [esi - 0x10]
jmp 0x427332
sub eax, esi
lea ecx, [ebp - 8]
sar eax, 1
push eax
push esi
call fcn.0043a92d
mov esi, dword [ebp - 8]
push 0x5f
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x427317
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x427317
push 0x2a
pop eax
push eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 8]
call fcn.00431575
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 8]
call fcn.0043c894
mov esi, dword [ebp - 8]
dec edi
push 0x5f
lea eax, [esi + edi*2]
mov edi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push eax
push esi
call edi
push 0x2e
mov dword [ebp - 0xc], eax
lea ecx, [eax - 2]
push ecx
push esi
call edi
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x427317
test eax, eax
je 0x427317
push 0x2a
pop edx
mov word [eax + 2], dx
add eax, 4
sub ecx, eax
sub eax, esi
sar ecx, 1
push ecx
sar eax, 1
lea ecx, [ebp - 8]
push eax
call fcn.0043137d
lea eax, [ebp - 8]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00431007
pop ecx
lea ecx, [ebp - 0x26c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
add ecx, 0xfffffff0
mov dword [ebp - 0x1c], esi
call fcn.0043c924
cmp esi, 0xffffffff
je 0x4272f7
mov edi, dword [ebp - 0x18]
test byte [ebp - 0x26c], 0x10
je 0x4272de
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043baa0
add eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043b96c
push edi
lea ecx, [ebp - 0xc]
call fcn.0043b9f9
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.0044c9a8
test eax, eax
je 0x4272d3
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043b599
lea ecx, [esi - 0x10]
call fcn.0043c924
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427278
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.0043baa0
mov ecx, dword [ebp - 8]
add eax, 0x10
mov dword [ebx], eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x427198
mov edi, dword [ebp - 0x10]
lea ecx, [edi - 0x10]
call fcn.0043baa0
add eax, 0x10
lea ecx, [esi - 0x10]
mov dword [ebx], eax
call fcn.0043c924
lea ecx, [edi - 0x10]
call fcn.0043c924
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043c924
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x4284da
Capabilities:
Delete file
Get file size
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, 0x40000000
push ebx
push esi
push ecx
mov ecx, dword [ebp + 8]
push 4
push 1
call fcn.0044ded0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x428506
call fcn.0044bc4b
mov ebx, eax
jmp 0x428527
push dword [ebp + 0x20]
mov edx, esi
push dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push str.Mozilla_5.0__Windows_NT_6.3__WOW64__Trident_7.0__rv:11.0__like_Gecko
call fcn.0044d5e1
add esp, 0x10
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
test ebx, ebx
je 0x428532
mov eax, ebx
jmp 0x4285bd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0x14
push eax
mov edx, 0x8004
call fcn.0044b192
pop ecx
pop ecx
test eax, eax
jne 0x4285bd
push 0x14
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
je 0x4285bd
xor esi, esi
push esi
push 0x2000000
push 3
push esi
push 7
push 0x100000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x428587
mov eax, esi
jmp 0x4285a5
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x14]
jb 0x4285ba
ja 0x4285b1
cmp esi, dword [ebp + 0x10]
jb 0x4285ba
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x17
pop eax
pop esi
pop ebx
leave
ret 0x1c