joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e460b
Capabilities:
Terminate process

Disassembly:
call fcn.004e4618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x409986
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409986
lcall 0x5de5, 0x8b10c483
jmp fcn.00781ad0
Function at 0x66cb5d
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
shr edi, 2
mov ecx, edi
dec edi
test ecx, ecx
je 0x66cb8b
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [edx]
add eax, esi
xor ecx, esi
mov dword [edx], ecx
add edx, 4
mov ecx, edi
dec edi
test ecx, ecx
jne 0x66cb77
pop edi
pop esi
ret

Function at 0x66cc23
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
imul ecx, ecx, 0x28
mov ecx, dword [ecx + eax + 0x24]
test ecx, 0x20000000
je 0x66cc5c
test ecx, 0x40000000
je 0x66cc55
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xe0
add eax, 0x40
jmp 0x66cc6d
mov eax, 0x10
jmp 0x66cc6d
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xfe
add eax, 4
test ecx, 0x4000000
je 0x66cc7a
add eax, 0x200
ret
Function at 0x66e738
Capabilities:
Get common file path

Disassembly:
push ebp
mov edx, dword [esp + 0xc]
mov ebp, esp
sub esp, 0x104
test edx, edx
push esi
push edi
je 0x66e794
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebp + edx - 0x105], 0x5c
je 0x66e79b
mov esi, 0x669534
lea edi, [ebp - 0x104]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
movsw word es:[edi], word [esi]
jmp 0x66e79b
mov byte [ebp - 0x104], 0
push dword [ebp + 8]
push 0
push 0x669538
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
test eax, eax
mov eax, 0
je 0x66e7cd
push 0x10
push 0x66953c
push dword [ebp + 8]
call fcn.0066caa9
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x66e7d3
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov eax, 0x4220
mov ebp, esp
call fcn.0066ee30
push esi
push edi
push 0
call fcn.0066e6c3
add esp, 4
mov dword [0x669524], eax
cmp eax, 0xffffffff
jne 0x66e911
mov edi, 0x104
lea eax, [ebp - 0x11c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0066e738
add esp, 8
mov esi, eax
test esi, esi
jne 0x66e899
push edi
lea eax, [ebp - 0x220]
push eax
lea edi, [ebp - 0x220]
push str.PATH
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov al, byte [edi]
test al, al
je 0x66e886
xor ecx, ecx
inc edi
mov byte [ebp - 0x11c], al
cmp al, cl
je 0x66e868
cmp byte [ebp + ecx - 0x11c], 0x3b
je 0x66e868
inc ecx
mov al, byte [edi]
inc edi
mov byte [ebp + ecx - 0x11c], al
test al, al
jne 0x66e84f
push ecx
lea eax, [ebp - 0x11c]
mov byte [ebp + ecx - 0x11c], 0
push eax
call fcn.0066e738
add esp, 8
mov esi, eax
test esi, esi
je 0x66e83c
test esi, esi
jne 0x66e899
push 0xc
push 0x669548
call fcn.0066d2f6
add esp, 8
push 0x1050
lea eax, [ebp - 0x4220]
push eax
push 0x6684d4
call fcn.0066ca89
add esp, 0xc
test eax, eax
jne 0x66e8c2
push 2
push 0
call fcn.0066d2f6
add esp, 8
lea edi, [ebp - 0x41e0]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
push esi
mov eax, dword [0x6684d0]
push eax
lea ecx, [ebp - 0x4220]
push ecx
call fcn.0066cafc
add esp, 0xc
push esi
call fcn.0066ca9c
add esp, 4
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0066e6c3
add esp, 4
mov dword [0x669524], eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [0x669524], 0xffffffff
jne 0x66e926
push 0xc
push 0x66954c
jmp 0x66e9d3
xor esi, esi
lea eax, [ebp - 8]
push esi
lea ecx, [ebp - 0x18]
push eax
push 0x10
push ecx
push esi
push esi
push 1
push dword [0x669524]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x66e9cc
cmp dword [ebp - 0x18], 0x328
jne 0x66e9c3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 0x10], edx
push 4
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 2
push dword [0x669524]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x66e999
mov eax, dword [ebp - 4]
mov dword [0x669528], eax
jmp 0x66e9db
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x76
je 0x66e9b2
cmp eax, 0x77
je 0x66e9b2
push 0xc
push 0x669578
jmp 0x66e9d3
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push 1
push str.___please_restart_your_system_and_retry
jmp 0x66e9d3
push 0xc
push 0x66957c
jmp 0x66e9d3
push 0xc
push 0x669580
call fcn.0066d2f6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 0xc]
push ebp
xor ebp, ebp
xor eax, eax
test ecx, ecx
push edi
mov edi, dword [esp + 0xc]
jbe 0x401126
add ecx, 0xffffffff
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
push ebx
add edx, 1
push esi
mov esi, dword [esp + 0x18]
lea ebp, [edx*4]
lea eax, [edx + edx*2]
mov cl, byte [esi]
shr cl, 2
cmp cl, 0x3f
jne 0x401043
mov cl, 0x2f
jmp 0x401063
cmp cl, 0x3e
jne 0x40104c
mov cl, 0x2b
jmp 0x401063
cmp cl, 0x33
jbe 0x401056
sub cl, 4
jmp 0x401063
cmp cl, 0x19
jbe 0x401060
add cl, 0x47
jmp 0x401063
add cl, 0x41
mov byte [edi], cl
mov cl, byte [esi]
mov bl, byte [esi + 1]
and cl, 3
shl cl, 4
shr bl, 4
or cl, bl
cmp cl, 0x3f
jne 0x40107e
mov cl, 0x2f
jmp 0x40109e
cmp cl, 0x3e
jne 0x401087
mov cl, 0x2b
jmp 0x40109e
cmp cl, 0x33
jbe 0x401091
sub cl, 4
jmp 0x40109e
cmp cl, 0x19
jbe 0x40109b
add cl, 0x47
jmp 0x40109e
add cl, 0x41
mov byte [edi + 1], cl
mov cl, byte [esi + 1]
mov bl, byte [esi + 2]
and cl, 0xf
add cl, cl
add cl, cl
shr bl, 6
or cl, bl
cmp cl, 0x3f
jne 0x4010bc
mov cl, 0x2f
jmp 0x4010dc
cmp cl, 0x3e
jne 0x4010c5
mov cl, 0x2b
jmp 0x4010dc
cmp cl, 0x33
jbe 0x4010cf
sub cl, 4
jmp 0x4010dc
cmp cl, 0x19
jbe 0x4010d9
add cl, 0x47
jmp 0x4010dc
add cl, 0x41
mov byte [edi + 2], cl
mov cl, byte [esi + 2]
and cl, 0x3f
cmp cl, 0x3f
jne 0x4010ee
mov cl, 0x2f
jmp 0x40110e
cmp cl, 0x3e
jne 0x4010f7
mov cl, 0x2b
jmp 0x40110e
cmp cl, 0x33
jbe 0x401101
sub cl, 4
jmp 0x40110e
cmp cl, 0x19
jbe 0x40110b
add cl, 0x47
jmp 0x40110e
add cl, 0x41
mov byte [edi + 3], cl
add esi, 3
add edi, 4
sub edx, 1
jne 0x401035
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
sub al, cl
movzx ecx, al
sub ecx, 1
mov dl, 0x3d
je 0x40113a
sub ecx, 1
jne 0x40113d
mov byte [edi - 2], dl
mov byte [edi - 1], dl
pop edi
mov eax, ebp
pop ebp
ret 0xc
Function at 0x4031b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x914
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x910], eax
push ebx
push esi
mov esi, dword [esp + 0x920]
push edi
xor ebx, ebx
push 0xff
lea eax, [esp + 0x21]
push ebx
push eax
or edi, 0xffffffff
mov dword [esp + 0x18], ebx
mov byte [esp + 0x28], bl
call fcn.00420780
push esi
lea ecx, [esp + 0x2c]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push ecx
call fcn.00420fa8
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x28]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4032d5
push 0x7fe
lea ecx, [esp + 0x122]
push ebx
push ecx
mov word [esp + 0x128], bx
call fcn.00420780
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x120]
push eax
push ebx
push ebx
push str.PnpInstanceID
push ecx
mov dword [esp + 0x2c], 0x800
call esi
test eax, eax
jne 0x4032ca
push 3
push 0x46a828
lea edx, [esp + 0x124]
push edx
push ebx
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x4032ca
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push str.MediaSubType
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 4
call esi
cmp eax, 2
je 0x4032c8
cmp eax, ebx
jne 0x4032ca
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4032c8
cmp eax, 2
jne 0x4032ca
mov edi, 1
jmp 0x4032ca
xor edi, edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x91c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004206a6
add esp, 0x914
ret
Function at 0x404060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x466c0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CHttpClient.0
mov ecx, dword [esi + 0x30]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x18], ebx
je 0x4040a7
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x30], ebx
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
je 0x4040b9
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x34], ebx
cmp dword [esi + 0x2c], 0x10
jb 0x4040cb
mov eax, dword [esi + 0x18]
push eax
call fcn.004176ed
add esp, 4
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x404aa0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x466cbb
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 0x54
call fcn.004176bd
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x404ae9
mov ecx, eax
call fcn.004046d0
jmp 0x404aeb
xor eax, eax
mov edi, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x30], eax
lea ebp, [ecx + 1]
nop
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x404b00
sub ecx, ebp
push ecx
push edi
lea ecx, [eax + 8]
call fcn.00401ba0
mov eax, dword [esi + 0x30]
mov dword [eax + 4], 0
mov ecx, dword [esi + 0x30]
push 9
push str.GET_test1
add ecx, 0x34
call fcn.00401ba0
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x404a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 8], eax
je 0x404b5c
cmp eax, 0xffffffff
je 0x404b5c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x405210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405229
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405264
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405260
lea ebx, [ebx]
cmp esi, eax
jae 0x405264
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405250
cmp esi, eax
jb 0x40526a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x407b30
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x21c]
xor esi, esi
push 0x206
lea eax, [esp + 0x12]
push esi
push eax
mov word [esp + 0x18], si
call fcn.00420780
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push edi
call ebx
test eax, eax
jne 0x407c1d
push edi
lea ecx, [esp + 0x10]
push 0x46b720
push ecx
call fcn.004206e5
lea edx, [esp + 0x18]
push str..del
push edx
call fcn.004207fa
add esp, 0x14
test eax, eax
je 0x407bab
push 5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x407c1d
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test esi, esi
jne 0x407bcb
push edi
lea eax, [esp + 0x14]
push str._s.del
push eax
call fcn.004206e5
add esp, 0xc
jmp 0x407bdf
push esi
push edi
lea ecx, [esp + 0x18]
push str._s.del_d
push ecx
call fcn.004206e5
add esp, 0x10
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x407bff
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
jne 0x407bff
cmp esi, 0xa
jg 0x407c1c
add esi, 1
jmp 0x407bb2
lea ecx, [esp + 0x10]
push ecx
push edi
call fcn.00421c9e
add esp, 8
push 5
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebp
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004206a6
add esp, 0x20c
ret 4
Function at 0x407c70
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4670c8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407cc5
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x407cfc
cmp dword [esi - 4], 1
jle 0x407cdc
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405340
mov esi, dword [esp + 0x1c]
push esi
mov ecx, edi
call fcn.00407b30
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407d08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x407d30
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467111
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1a]
push ebx
push eax
mov word [esp + 0x20], bx
call fcn.00420780
push 0x206
lea ecx, [esp + 0x22e]
push ebx
push ecx
mov word [esp + 0x234], bx
call fcn.00420780
add esp, 0x18
push 0x46a7dc
lea ecx, [esp + 0xc]
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], ebx
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 1
call fcn.00405b00
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
mov byte [esp + 0x440], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x407e2c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push 0x46b78c
push ecx
call fcn.004206e5
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x18]
push 0x46b750
push eax
call fcn.00407b10
mov ecx, dword [esp + 0x20]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x430], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x430], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004206a6
add esp, 0x42c
ret
push esi
push 0
mov esi, ecx
call fcn.00407ed0
push 1
mov ecx, esi
call fcn.00407ed0
mov ecx, esi
pop esi
jmp 0x407d30
Function at 0x407ed0
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467161
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x206
lea eax, [esp + 0x22e]
push edi
push eax
mov word [esp + 0x234], di
call fcn.00420780
push 0x206
lea ecx, [esp + 0x32]
push edi
push ecx
mov word [esp + 0x38], di
call fcn.00420780
add esp, 0x18
push 0x46a7dc
lea ecx, [esp + 0x14]
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x18]
mov dword [esp + 0x440], edi
call fcn.00405b00
mov bl, 1
push 0x46a7dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], bl
call fcn.00405b00
cmp dword [esp + 0x444], edi
mov byte [esp + 0x43c], 2
push edi
je 0x4080bf
push 0x17
lea edx, [esp + 0x230]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40801c
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x24]
push 0x46b76c
push edx
call fcn.004206e5
add esp, 8
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00405b00
mov ecx, esi
call fcn.00408610
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x24]
push 0x46b76c
push eax
call fcn.004206e5
add esp, 8
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00405b00
mov ecx, esi
call fcn.00408610
lea eax, [esp + 0x20]
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x43c], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408043
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x43c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40806b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408096
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004206a6
add esp, 0x430
ret 4
push 2
lea ecx, [esp + 0x230]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x407fa6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x43c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408037
Function at 0x408100
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467111
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1a]
push ebx
push eax
mov word [esp + 0x20], bx
call fcn.00420780
push 0x206
lea ecx, [esp + 0x22e]
push ebx
push ecx
mov word [esp + 0x234], bx
call fcn.00420780
add esp, 0x18
push 0x46a7dc
lea ecx, [esp + 0xc]
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], ebx
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 1
call fcn.00405b00
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
mov byte [esp + 0x440], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x407e2c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push 0x46b78c
push ecx
call fcn.004206e5
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x18]
push 0x46b750
push eax
call fcn.00407b10
mov ecx, dword [esp + 0x20]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x430], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x430], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004206a6
add esp, 0x42c
ret
push esi
push 0
mov esi, ecx
call fcn.00407ed0
push 1
mov ecx, esi
call fcn.00407ed0
mov ecx, esi
pop esi
jmp 0x407d30
Function at 0x4088d0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467111
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1a]
push ebx
push eax
mov word [esp + 0x20], bx
call fcn.00420780
push 0x206
lea ecx, [esp + 0x22e]
push ebx
push ecx
mov word [esp + 0x234], bx
call fcn.00420780
add esp, 0x18
push 0x46a7dc
lea ecx, [esp + 0xc]
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], ebx
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 1
call fcn.00405b00
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
mov byte [esp + 0x440], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4089cc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push 0x46b78c
push ecx
call fcn.004206e5
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x18]
push 0x46b838
push eax
call fcn.00407b10
mov ecx, dword [esp + 0x20]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x430], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4089f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x430], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004206a6
add esp, 0x42c
ret
push esi
push 0
mov esi, ecx
call fcn.00408a70
push 1
mov ecx, esi
call fcn.00408a70
mov ecx, esi
pop esi
jmp 0x4088d0