joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000daf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1000d743
push eax
push esi
push dword [ebp + 8]
call fcn.1000d6f8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000d743
push eax
push esi
push dword [ebp + 8]
call fcn.1000d6f8
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000d733
invalid

Function at 0x1000e010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffccd
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
invalid
movsd dword es:[edi], dword [esi]
invalid
cld
invalid

Function at 0x1000e680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x30fffffc], ebx
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1000d743
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000d6f8
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1000d733
mov dword [edi + 0x29], edx
or ch, byte [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x1000fe10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x1000fe83
cmp ecx, eax
jne 0x1000fe7b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x1000fe8b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1000fe8b
cmp ecx, eax
jne 0x1000fe8b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.10013d6a
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x10010490
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push dword [ebp + 8]
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100104b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push dword [ebp + 8]
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100104d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push 0
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10010510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push 0
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100118d0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10011650

Function at 0x100118e0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1002df40]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1002df40]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1002df40]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1002df40]
mov eax, edx
ret

Function at 0x10011c40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10011920
Function at 0x100052c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ef80
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10095070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10005309
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100052f5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10005342
nop dword [eax]
cmp esi, edx
jae 0x100052f5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10005330
cmp esi, edx
jae 0x100052f5
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
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 0x10005ce0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x224
push 0xffffffffffffffff
push 0x1006f323
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10095070]
xor eax, ebp
mov dword [ebp + 0x220], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
mov eax, dword [0x10098b58]
test al, 1
jne 0x10005d83
or eax, 1
mov dword [0x10098b58], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [0x10098b6c], 0
mov dword [0x10098b70], 0
mov dword [0x10098b6c], 0
mov dword [0x10098b70], 7
mov word [0x10098b5c], ax
mov byte [ebp - 4], 1
push 0x10075d50
call fcn.10039c36
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x10098b6c], 0
jne 0x10005e6b
lea eax, [ebp + 0x18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10005e6b
add eax, eax
cmp eax, 0x208
jae 0x10005ea8
xor ecx, ecx
mov dword [ebp + 0x10], ecx
mov word [ebp + eax + 0x18], cx
xor eax, eax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], ecx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x14], 7
lea edx, [ecx + 2]
mov word [ebp], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005dd7
sub ecx, edx
lea eax, [ebp + 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp]
call fcn.100031d0
mov dword [ebp - 4], 4
lea eax, [ebp]
cmp dword [ebp + 0x14], 8
mov ecx, 0x10098b5c
push dword [ebp + 0x10]
cmovae eax, dword [ebp]
push eax
call fcn.100031d0
mov ecx, 0x10098b5c
call fcn.100061e0
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x10005e57
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005e4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005ead
push edx
push ecx
call fcn.10039776
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
push 0x10098b5c
mov ecx, esi
call fcn.10001b60
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x220]
xor ecx, ebp
call fcn.10039765
lea esp, [ebp + 0x224]
pop ebp
ret
call fcn.10039d6c
call fcn.10053fe9
int3
Function at 0x10006020
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x1006f439
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10095070]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x10006076
mov edx, dword [edx]
lea ecx, [ebp]
push ecx
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [ebp + 0x420]
test edi, edi
je 0x10006152
xor eax, eax
lea ecx, [ebp + 0x208]
mov word [ebp + 0x208], ax
mov ax, word [ebp]
test ax, ax
je 0x100060c3
lea edx, [ebp]
movzx eax, ax
mov ebx, ecx
sub edx, ebx
mov word [ecx], ax
add ecx, 2
movzx eax, word [edx + ecx]
test ax, ax
jne 0x100060b4
xor eax, eax
cmp word [edi], 0x2e
mov word [ecx], ax
je 0x100060de
mov eax, 0x2e
mov word [ecx], ax
add ecx, 2
xor eax, eax
mov word [ecx], ax
push ecx
mov edx, edi
call fcn.10018ca0
add esp, 4
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
sub esp, 0x18
lea ecx, [ebp + 0x208]
mov edx, esp
mov dword [ebp - 0x14], esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006120
sub ecx, edi
lea eax, [ebp + 0x208]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.100031d0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.1000d960
jmp 0x100061a0
sub esp, 0x18
lea ecx, [ebp]
mov edx, esp
mov dword [ebp - 0x14], esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006173
sub ecx, edi
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.100031d0
mov dword [ebp - 4], 2
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.1000d960
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.10039765
lea esp, [ebp + 0x414]
pop ebp
ret

Function at 0x10006390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x100063ba
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100063a4
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x100070a0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f610
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10095070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x104
jl 0x10007197
sub esp, 8
lea eax, [ebp - 0x10]
push eax
call fcn.10004e10
mov dword [ebp - 4], 0
mov ecx, 0x100852a0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10007117
test dx, dx
je 0x10007113
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10007117
add eax, 4
add ecx, 4
test dx, dx
jne 0x100070f1
xor esi, esi
jmp 0x1000711c
sbb esi, esi
or esi, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000713e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x10007197
push 0x100852a0
lea ecx, [ebp - 0x10]
call fcn.100054d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.10005a60
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100071a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100071a5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
test bl, bl
jne 0x100071af
call dword [sym.imp.KERNEL32.dll_GetLastError]
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 0x100071d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f610
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10095070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x104
jl 0x100072c7
sub esp, 8
lea eax, [ebp - 0x10]
push eax
call fcn.10004e10
mov dword [ebp - 4], 0
mov ecx, 0x100852a0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10007247
test dx, dx
je 0x10007243
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10007247
add eax, 4
add ecx, 4
test dx, dx
jne 0x10007221
xor esi, esi
jmp 0x1000724c
sbb esi, esi
or esi, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000726e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x100072c7
push 0x100852a0
lea ecx, [ebp - 0x10]
call fcn.100054d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.10005a60
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100072d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100072d5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x100072df
call dword [sym.imp.KERNEL32.dll_GetLastError]
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 0x1000cf40
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100709a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10095070]
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, ecx
mov eax, dword [esi + 0x28]
mov edx, dword [ebp + 8]
test eax, eax
je 0x1000d0f3
cmp eax, 0xffffffff
je 0x1000d0f3
cmp dword [edx + 0x10], 0
jne 0x1000cf90
xor eax, eax
jmp 0x1000d0f8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x1000d009
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1000f270
add esp, 8
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10004540
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1000d027
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d01d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d115
jmp 0x1000d01d
push dword [esi + 0x18]
lea ecx, [ebp - 0x40]
call fcn.10003c10
add esp, 4
mov byte [ebp - 4], 2
jmp 0x1000cfd0
push edx
push ecx
call fcn.10039776
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
jne 0x1000d046
mov esi, 3
jmp 0x1000d0a6
xor edi, edi
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x1000d065
push dword [esi + 0x18]
lea ecx, [ebp - 0x4c]
call fcn.10004d70
movzx edi, word [eax + 4]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x44]
sub ecx, edi
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push edx
push ecx
add eax, edi
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000d0a1
mov eax, dword [ebp - 0x18]
sub eax, edi
cmp dword [ebp - 0x44], eax
jne 0x1000d0a1
xor esi, esi
jmp 0x1000d0a6
mov esi, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000d0dd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d0d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d115
push edx
push ecx
call fcn.10039776
add esp, 8
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x1000d0f8
mov eax, 1
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.10039765
mov esp, ebp
pop ebp
ret 4
call fcn.10053fe9
int3
Function at 0x1000e580
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10095070]
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 ebx, ecx
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edi
je 0x1000e630
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000dad0
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.1000e710
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000e610
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e606
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e702
push edx
push ecx
call fcn.10039776
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
add esi, 0x18
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, edi
jne 0x1000e5b6
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
push ecx
mov edx, edi
mov ecx, esi
call fcn.1000ed20
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
cmp edi, esi
je 0x1000e6ca
nop dword [eax]
lea eax, [ebp - 0x28]
lea ecx, [edi - 0x18]
push eax
call fcn.1000dad0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x1000e66b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000e6af
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e6a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e702
push edx
push ecx
call fcn.10039776
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
add edi, 0xffffffe8
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edi, esi
jne 0x1000e650
mov edx, dword [ebx + 0x10]
push ecx
mov ecx, dword [ebx + 0xc]
call fcn.1000ed20
mov eax, dword [ebx + 0xc]
add esp, 4
mov ecx, ebx
mov dword [ebx + 0x10], eax
call fcn.1000e8a0
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.10039765
mov esp, ebp
pop ebp
ret
call fcn.10053fe9
int3
Function at 0x1000e710
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x268]
sub esp, 0x268
push 0xffffffffffffffff
push 0x10070c08
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10095070]
xor eax, ebp
mov dword [ebp + 0x264], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ebx, esi
mov ecx, dword [esi + 0x10]
cmp eax, 8
jb 0x1000e75a
mov ebx, dword [esi]
test ecx, ecx
je 0x1000e86d
xor edi, edi
mov edx, ebx
test ecx, ecx
je 0x1000e781
cmp word [ebx], 0x2a
je 0x1000e77f
cmp ecx, 1
je 0x1000e781
add edx, 2
dec ecx
cmp word [edx], 0x2a
jne 0x1000e770
mov edi, edx
test edi, edi
je 0x1000e86d
sub edi, ebx
sar edi, 1
cmp edi, 0xffffffff
je 0x1000e86d
lea ecx, [ebp]
call fcn.10007300
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x1000e7ad
mov esi, dword [esi]
push esi
lea ecx, [ebp]
call fcn.100063c0
test eax, eax
je 0x1000e85c
mov ecx, dword [ebp + 0x25c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test ecx, ecx
je 0x1000e800
mov eax, dword [ebp + 4]
shr eax, 4
and eax, 1
je 0x1000e7fc
cmp word [ebp + 0x30], 0x2e
jne 0x1000e7fc
mov dx, word [ebp + 0x32]
test dx, dx
je 0x1000e83a
cmp dx, 0x2e
jne 0x1000e7fc
cmp word [ebp + 0x34], 0
je 0x1000e83a
test eax, eax
jne 0x1000e83a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call fcn.10006680
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call edi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e834
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x25c]
mov eax, dword [ebp]
test eax, eax
je 0x1000e85c
test ecx, ecx
je 0x1000e85c
lea ecx, [ebp + 4]
push ecx
push eax
call esi
mov ecx, eax
mov dword [ebp + 0x25c], ecx
test ecx, ecx
jne 0x1000e7d4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.100073a0
jmp 0x1000e87b
cmp eax, 8
jb 0x1000e874
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x264]
xor ecx, ebp
call fcn.10039765
lea esp, [ebp + 0x268]
pop ebp
ret