joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e366
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0
mov eax, 0x46832f
call fcn.0045259a
xor esi, esi
push esi
push esi
call dword [sym.imp.linders___lu_heads___lu_sectors___lu_byte_CoInitializeEx]
cmp eax, esi
jge 0x44e3a4
push eax
push str.Failed_to_initialize_COM_library._Error_code__0x_x_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x2c
push 0x47bd3c
call fcn.0044dc85
add esp, 0x14
xor eax, eax
inc eax
jmp 0x44e4bf
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.linders___lu_heads___lu_sectors___lu_byte_CoInitializeSecurity]
cmp eax, esi
jge 0x44e3dd
push eax
push str.Failed_to_initialize_security._Error_code__0x_x_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x46
push 0x47bd3c
call fcn.0044dc85
add esp, 0x14
call dword [sym.imp.linders___lu_heads___lu_sectors___lu_byte_CoUninitialize]
jmp 0x44e39c
mov edi, dword [ebp + 0xc]
push edi
push 0x47e66c
push 1
push esi
push 0x47e73c
call dword [sym.imp.linders___lu_heads___lu_sectors___lu_byte_CoCreateInstance]
cmp eax, esi
jge 0x44e409
push eax
push str.Failed_to_create_IWbemLocator_object._Error_code__0x_x_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x53
jmp 0x44e3c8
push str.ROOTCIMV2
lea ecx, [ebp + 0xc]
call fcn.0044e2db
mov eax, dword [eax]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x44e423
mov ecx, dword [eax]
jmp 0x44e425
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
cmp ecx, esi
je 0x44e44e
call fcn.0044e328
mov dword [ebp + 0xc], esi
cmp dword [ebp + 8], esi
jge 0x44e47e
push dword [ebp + 8]
push str.Could_not_connect._Error_code__0x_x_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x6c
push 0x47bd3c
call fcn.0044dc85
add esp, 0x14
mov edi, dword [edi]
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x44e3d5
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebx]
call dword [sym.imp.linders___lu_heads___lu_sectors___lu_byte_CoSetProxyBlanket]
cmp eax, esi
jge 0x44e4bd
push eax
push str.Could_not_set_proxy_blanket._Error_code__0x_x_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x83
push 0x47bd3c
call fcn.0044dc85
mov eax, dword [ebx]
mov ecx, dword [eax]
add esp, 0x14
push eax
call dword [ecx + 8]
jmp 0x44e471
xor eax, eax
call fcn.00452639
ret 8
Function at 0x44e9af
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea edi, [ebx + 0x1290]
push edi
call fcn.00452122
mov esi, eax
pop ecx
lea eax, [esi + 0x128f]
push edi
and eax, 0xfffff000
push 0x4d7604
mov dword [esi + 0x28c], eax
call dword [sym.imp.___total_physical_size__lu_MB_InterlockedExchangeAdd]
mov eax, dword [ebp + 0x1c]
push ebx
push dword [ebp + 8]
mov dword [esi + 0x280], eax
push dword [esi + 0x28c]
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], edi
call fcn.00451390
xor eax, eax
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x1c], eax
jle 0x44ea81
mov dword [ebp - 4], eax
lea edi, [esi + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], eax
push 0x44e90a
lea eax, [edi - 8]
push eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [edi + 8], esi
push dword [esi + 0x28c]
push dword [eax + ecx*4]
call dword [sym.imp.___total_physical_size__lu_MB_WriteFileEx]
test eax, eax
jne 0x44ea73
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push str.error__u_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x85
push str.WriteBehind
call fcn.0044dc85
add esp, 0x14
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 0x14
cmp eax, dword [ebp + 0x1c]
jl 0x44ea1d
mov esi, 0x1000000
jmp 0x44ea92
push 1
push 0xa
call dword [sym.imp.___total_physical_size__lu_MB_SleepEx]
cmp dword [0x4d7604], esi
jg 0x44ea88
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x18
Function at 0x450003
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x49f2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x34
lea eax, [ebp - 0xe4]
push ebx
push eax
mov dword [ebp - 0xa8], 0x5c3a41
mov dword [ebp - 0xe8], ebx
call fcn.00450230
mov al, byte [edi]
mov byte [ebp - 0xa8], al
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.___total_physical_size__lu_MB_GetDiskFreeSpaceA]
test eax, eax
jne 0x450086
push edi
push str.unable_to_get_clustersize_info_for_drive__s_n
call fcn.00450f5c
pop ecx
pop ecx
jmp 0x45017b
push esi
mov esi, dword [ebp - 0xac]
imul esi, dword [ebp - 0xb0]
push esi
mov dword [ebp - 0xe8], esi
call fcn.00452122
push esi
push ebx
push eax
mov dword [ebp - 0xe4], eax
call fcn.00450230
movsx eax, byte [edi]
push eax
lea eax, [ebp - 0x10]
push str.._c:
push eax
call fcn.00450c76
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.___total_physical_size__lu_MB_CreateFileA]
mov dword [ebp - 0xd4], eax
pop esi
cmp eax, 0xffffffff
jne 0x4500ed
mov byte [ebp - 0xd0], bl
jmp 0x45012b
push 0x14
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
push eax
push eax
push 0x80
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 0xd0], 1
call dword [sym.imp.___total_physical_size__lu_MB_GetVolumeInformationA]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xd4]
call fcn.004285ce
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xe8]
push eax
push 0x44fbca
push ebx
push 1
push 0x47057c
push edi
call fcn.00413922
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push str._nCleared_Cluster_Slack:__u_total_files___u_special__unhandled__n__could_not_open__u__Bytes_cleared__I64u_n
call fcn.00450f5c
push dword [ebp - 0xe4]
call fcn.0045038b
add esp, 0x1c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00450b32
leave
ret 8

Function at 0x450b32
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49f2a0]
jne 0x450b3c
repz ret
jmp fcn.00459dee

Function at 0x450cfa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x450d21
call fcn.00458170
mov dword [eax], esi
call fcn.0045815d
push 0x16
pop esi
mov dword [eax], esi
call fcn.0045810b
mov eax, esi
jmp 0x450d76
test dword [ebp + 0xc], 0xfffffff9
jne 0x450d07
push dword [ebp + 8]
call dword [sym.imp.___total_physical_size__lu_MB_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x450d4e
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
call fcn.00458183
pop ecx
call fcn.0045815d
mov eax, dword [eax]
jmp 0x450d76
test al, 0x10
jne 0x450d74
test al, 1
je 0x450d74
test byte [ebp + 0xc], 2
je 0x450d74
call fcn.00458170
mov dword [eax], 5
call fcn.0045815d
mov dword [eax], 0xd
jmp 0x450d45
xor eax, eax
pop esi
pop ebp
ret
Function at 0x463b33
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00458cd8
and dword [ebp - 0x14], 0
cmp dword [0x4d88c4], 0
mov dword [ebp - 0x18], eax
jne 0x463be6
push str.USER32.DLL
call dword [sym.imp.___total_physical_size__lu_MB_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x463c8e
mov edi, dword [sym.imp.___total_physical_size__lu_MB_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x463c8e
mov esi, dword [0x49f290]
push eax
call esi
push 0x47de90
push ebx
mov dword [0x4d88c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d88c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d88cc], eax
call edi
push eax
call esi
mov dword [0x4d88d4], eax
test eax, eax
je 0x463be6
push 0x47de48
push ebx
call edi
push eax
call esi
mov dword [0x4d88d0], eax
mov eax, dword [0x4d88d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x49f294]
cmp eax, ecx
je 0x463c3f
cmp dword [0x4d88d4], ecx
je 0x463c3f
push eax
call esi
push dword [0x4d88d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x463c3f
test ebx, ebx
je 0x463c3f
call edi
test eax, eax
je 0x463c36
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x463c36
test byte [ebp - 8], 1
jne 0x463c3f
or dword [ebp + 0x10], 0x200000
jmp 0x463c72
mov eax, dword [0x4d88c8]
cmp eax, dword [ebp - 0x18]
je 0x463c72
push eax
call esi
test eax, eax
je 0x463c72
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x463c72
mov eax, dword [0x4d88cc]
cmp eax, dword [ebp - 0x18]
je 0x463c72
push eax
call esi
test eax, eax
je 0x463c72
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d88c4]
call esi
test eax, eax
je 0x463c8e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x463c90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b32
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100142f2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100143c5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10014351
mov dword [ebp - 8], 1
jmp 0x10014355
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0x27488f5
jne 0x10014367
mov dword [ebp - 0xc], 1
jmp 0x1001436b
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xffffffff
jbe 0x1001437a
mov dword [ebp - 0x10], 1
jmp 0x1001437e
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jge 0x10014391
mov dword [ebp - 0x34], 1
jmp 0x10014395
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x100143b2
mov dword [ebp - 0x1c], 1
jmp 0x100143b6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, 0x49bc1da
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x100143e3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x100143e3
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret
Function at 0x10017ca5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10017cf7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10017cd5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x19
jle 0x10017cf5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10017cf3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x10017cca
jmp 0x10017d42
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10017d25
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x10017d42
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1001a3f7
mov dword [eax], 0xef1f3e16
jmp 0x10017d1a
mov esp, ebp
pop ebp
ret

Function at 0x100191ff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001926e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.100168b9
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.1001a182
lea ecx, [ebp - 0x3c]
call fcn.1001a1a7
jmp 0x10019289
push 0xd3e
push 0
push 0x1af9
push 0xa04
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x1001db89
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001dbaf
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001dbad
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1001dbfa
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001dbdd
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1001dbfa
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001a3f7
mov dword [eax], 0xfffffffb
jmp 0x1001dbd2
mov esp, ebp
pop ebp
ret
Function at 0x10020087
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100200a7
push 0
push 0xa6e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x100200da
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100200da
push 0
push 0
push 0
push 0
push 0xe19
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret
Function at 0x100208de
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002090e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002090c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x10020959
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002093c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10020959
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1001a3f7
mov dword [eax], 0xef1f3e16
jmp 0x10020931
mov esp, ebp
pop ebp
ret
Function at 0x100309a2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100309ba
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10030a05
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100309e8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10030a05
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1001a3f7
mov dword [eax], 0xa77d77fc
jmp 0x100309dd
mov esp, ebp
pop ebp
ret
Function at 0x100317a1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100317cc
push 0xd3e
push 0
push 0x1af9
push 0xa04
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10031817
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100317fa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10031817
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1001a3f7
mov dword [eax], 1
jmp 0x100317ef
mov esp, ebp
pop ebp
ret

Function at 0x10034eca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x2e3a
push 0x397f
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.10034e0f
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10034f04
xor eax, eax
jmp 0x10035043
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10034f22
xor eax, eax
jmp 0x10035043
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
call fcn.10034bfe
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10034f40
xor eax, eax
jmp 0x10035043
push 1
push 0x8eb
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.10034cc7
add esp, 0x1c
push dword [ebp + 8]
push dword [ebp - 4]
push 0
push 0x31c8
push 0x7336
push 0xb9d
push dword [ebp - 8]
call fcn.1002df6b
add esp, 0x1c
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x386b
lea eax, [ebp - 0xc]
push eax
push 0x4a4d
push 0x780c
call fcn.10035047
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x10034fbe
push dword [ebp - 0x14]
push dword [ebp - 4]
push 1
call fcn.10030f85
add esp, 0xc
push dword [ebp - 4]
call fcn.10034adb
pop ecx
test eax, eax
jne 0x10034fcf
xor eax, eax
jmp 0x10035043
push dword [ebp - 4]
push 0x716f
push 0
push 0x7d64
call fcn.10032995
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003502b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10035005
xor eax, eax
jmp 0x10035043
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1003501e
xor eax, eax
jmp 0x10035043
push 1
lea eax, [ebp - 4]
push eax
call fcn.10034e90
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1003503c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10035040
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret