joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ace5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x40ad5d
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00405301
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.00405325
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x40ad3e
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x40ad3b
cmp ecx, 0x5c
je 0x40ad3b
cmp ecx, 0x2f
jne 0x40ad48
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x40ad28
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40ad5f
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40ad65
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x40ad73
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8

Function at 0x40add9
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x40ae02
test byte [esp + 8], 2
je 0x40adf6
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ae04
xor eax, eax
ret 8

Function at 0x40b060
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x40b09c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x40b931
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x5c], eax
ret
Function at 0x40e500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x40e546
mov ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
push 0
mov edx, dword [0x418788]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x40e567
mov edx, dword [ebp - 4]
add edx, 0xa
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x418788]
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
shr edx, 1
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0040e9a0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e6c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
add edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret

Function at 0x40e820
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x40e85e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x40e85e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x40e860
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40e8a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40e8c4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx*2]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, 4
cmp dword [ebp - 8], edx
jl 0x40e912
mov eax, dword [ebp - 8]
add eax, 0x4000
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x418788]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x40e9f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
sub eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x501d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502360
push 0x501f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x5033f4], 0xffffffff
mov dword [0x5033f8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x5033f0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x5033ec]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x5033fc], ecx
call fcn.00501f70
mov eax, dword [0x503128]
test eax, eax
jne 0x501e11
push 0x501f60
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00501f40
push 0x50300c
push 0x503008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x5033e8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x5033e4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x503004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x501f1f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x501e85
cmp al, 0x22
jne 0x501e77
cmp byte [esi], 0x22
jne 0x501e8e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x501e9e
cmp al, 0x20
ja 0x501e9e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x501e8e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x501ebf
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x501ec4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x501f04
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x501e8e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x501f1f

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 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 0x54c0d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf5000]
push edi
jmp 0x54c0ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54c0f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c0e0
mov eax, 1
add ebx, ebx
jne 0x54c103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54c114
jne 0x54c133
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c133
dec eax
add ebx, ebx
jne 0x54c120
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54c0f8
add ebx, ebx
jne 0x54c12f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54c185
xor ecx, ecx
sub eax, 3
jb 0x54c14b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54c1ba
sar eax, 1
mov ebp, eax
jmp 0x54c156
add ebx, ebx
jne 0x54c156
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c124
inc ecx
add ebx, ebx
jne 0x54c164
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c124
add ebx, ebx
jne 0x54c171
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54c166
jne 0x54c182
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54c166
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54c1a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54c196
jmp 0x54c0e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54c1a4
add edi, ecx
jmp 0x54c0e6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54c1c2
cmp byte [edi], 0x11
jne 0x54c1c2
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 0x54c1c7
lea edi, [esi + 0x145000]
mov eax, dword [edi]
or eax, eax
je 0x54c23f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1bf4bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bf638]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54c1f4
mov ecx, edi
jns 0x54c223
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 + 0x1bf63c]
or eax, eax
je 0x54c239
mov dword [ebx], eax
add ebx, 4
jmp 0x54c211
call dword [esi + 0x1bf64c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54c270
cmp al, 0xef
ja 0x54c263
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54c245
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54c252
mov ebp, dword [esi + 0x1bf640]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x54c2a4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x100024d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x10103149
call fcn.100d96c4
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14], 0x33323738
mov dword [ebp - 0x10], 0x35444633
mov dword [ebp - 0xc], 0x38304638
mov dword [ebp - 8], 0x46434334
pop esi
test ecx, ecx
je 0x1000251c
push 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.10025410
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret

Function at 0x10003720
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x10103149
call fcn.100d96c4
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x10003781
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003768
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10003781
mov edx, dword [ebp - 8]
xor eax, eax
add eax, esi
pop esi
adc edx, 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
pop esi
call fcn.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x1000a560
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db649
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.1000a9d0
mov edx, eax
mov dword [ebp - 0x14], edx
mov word [edx + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [edx + 0x10]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
xor esi, esi
mov word [eax], si
mov byte [ebp - 4], 1
lea eax, [ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], 7
xor ecx, ecx
mov word [eax + 4], cx
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], 7
mov word [eax + 0x20], cx
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov byte [ebp - 4], cl
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000b550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x10103149
call fcn.100d96c4
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
test esi, esi
je 0x1000b6da
cmp dword [eax + 0x10], 0
je 0x1000b6da
cmp dword [eax + 0x14], 8
jb 0x1000b580
mov eax, dword [eax]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
push 1
push 0x40
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 8]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0xa]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0xc]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0xe]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x10]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x90]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x92]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x94]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x96]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x98]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x118]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
push edi
push eax
lea eax, [esi + 0x120]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b6da
pop edi
pop esi
mov al, al
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
Function at 0x1000c100
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100f80d0
push 0x100d893f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ecx, 0x10103149
call fcn.100d96c4
xor bl, bl
mov ecx, esi
call fcn.1000beb0
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1000c1c1
mov al, byte [ebp + 8]
mov byte [esi + 4], al
push 0x100e849c
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x1000c1b4
mov dword [ebp - 4], 0
push edi
mov ecx, esi
call fcn.1000bcb0
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000c1aa
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test bl, bl
je 0x1000c1d7
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1000c201
push str.NtQuerySystemTime
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x88], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 8]
test eax, eax
je 0x1000c211
push eax
lea ecx, [esi + 0xc]
call fcn.1000d010
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c7a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100f8148
push 0x100d893f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov ecx, 0x10103149
call fcn.100d96c4
mov ecx, ebx
call fcn.1000beb0
mov edi, eax
mov dword [ebp - 0x20], edi
push 0x100e84cc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1000c864
mov dword [ebp - 4], 0
push esi
mov ecx, ebx
call fcn.1000c230
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000c83b
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test bl, bl
je 0x1000c850
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d5a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x44]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 8
mov ebx, dword [eax + 0x10]
jb 0x1000d5cc
mov edx, dword [eax]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x1000d5e8
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1000d5d7
and esi, dword [ebp - 0xc]
mov eax, 0xaaaaaaab
mul esi
or ebx, 0xffffffff
mov eax, edx
shr eax, 5
mov dword [ebp - 0x10], eax
lea ecx, [eax + eax*2]
shl ecx, 2
mov dword [ebp - 4], ecx
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, esi
sub eax, ecx
movzx edx, ax
mov eax, 1
mov ecx, edx
shr edx, 3
add edx, dword [edi + 0x38]
and ecx, 7
shl ax, cl
mov ecx, dword [ebp - 4]
test byte [edx + ecx + 6], al
je 0x1000d6d8
push esi
mov ecx, edi
call fcn.1000dc80
test al, al
je 0x1000d64b
cmp ebx, 0xffffffff
mov eax, esi
cmovne eax, ebx
mov ebx, eax
jmp 0x1000d684
mov eax, dword [ebp - 0x10]
mov edx, esi
mov edi, dword [edi + 0x38]
add edi, dword [ebp - 4]
lea eax, [eax + eax*2]
shl eax, 4
sub edx, eax
lea ecx, [edi + 6]
call fcn.1000dd10
movzx eax, ax
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi]
lea eax, [eax + ecx*4]
push eax
push dword [ebp + 0xc]
call fcn.1000da80
test al, al
jne 0x1000d6f2
mov eax, dword [ebp - 8]
inc eax
add esi, eax
mov dword [ebp - 8], eax
and esi, dword [ebp - 0xc]
mov eax, 0xaaaaaaab
mul esi
mov edi, edx
shr edi, 5
mov dword [ebp - 0x10], edi
lea eax, [edi + edi*2]
shl eax, 2
lea ecx, [edi + edi*2]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, esi
shl ecx, 4
sub eax, ecx
movzx edx, ax
mov eax, 1
mov ecx, edx
shr edx, 3
add edx, dword [edi + 0x38]
and ecx, 7
shl ax, cl
mov ecx, dword [ebp - 4]
test byte [edx + ecx + 6], al
jne 0x1000d633
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
cmp ebx, 0xffffffff
jne 0x1000d707
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8