joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001ed0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x24]
push edi
push eax
push 2
lea edi, [esi + 0x28]
push 1
push edi
call fcn.1003573c
add esp, 0x10
cmp eax, 2
jne 0x10001fd1
mov ecx, dword [esi + 0x64]
lea eax, [esi + 0x50]
cmp ecx, 0x10
jb 0x10001efd
mov edx, dword [eax]
jmp 0x10001eff
mov edx, eax
movzx edi, byte [edi]
movsx edx, byte [edx]
cmp edi, edx
jne 0x10001fd1
cmp ecx, 0x10
jb 0x10001f14
mov eax, dword [eax]
movsx eax, byte [eax + 1]
movzx ecx, byte [esi + 0x29]
cmp ecx, eax
jne 0x10001fd1
mov edx, dword [esi + 0x24]
push edx
push 4
lea eax, [esi + 0x2c]
push 1
push eax
call fcn.1003573c
add esp, 0x10
cmp eax, 4
jne 0x10001fd1
mov ecx, dword [esi + 0x24]
push ecx
push 2
lea edi, [esi + 0x30]
push 1
push edi
call fcn.1003573c
add esp, 0x10
cmp eax, 2
jne 0x10001fd1
cmp word [edi], 1
ja 0x10001fd1
mov edx, dword [esi + 0x24]
push edx
push 1
lea eax, [esi + 0x32]
push 1
push eax
call fcn.1003573c
add esp, 0x10
cmp eax, 1
jne 0x10001fd1
mov ecx, dword [esi + 0x24]
push ecx
push 4
push eax
lea edx, [esi + 0x34]
push edx
call fcn.1003573c
add esp, 0x10
cmp eax, 4
jne 0x10001fd1
mov eax, dword [esi + 0x24]
push eax
push 4
lea ecx, [esi + 0x38]
push 1
push ecx
call fcn.1003573c
add esp, 0x10
cmp eax, 4
jne 0x10001fd1
mov edx, dword [esi + 0x24]
push edx
push 0xf
lea eax, [esi + 0x3c]
push 1
push eax
call fcn.1003573c
add esp, 0x10
cmp eax, 0xf
jne 0x10001fd1
mov ecx, esi
call fcn.10002180
test al, al
setne al
pop edi
ret
xor al, al
pop edi
ret
Function at 0x10001fe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
mov eax, dword [edi + 0x24]
push eax
push 4
lea ecx, [ebp - 4]
push 1
push ecx
mov dword [ebp - 4], 0
call fcn.1003573c
add esp, 0x10
cmp eax, 4
jne 0x10002143
mov eax, dword [ebp - 4]
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x10002143
inc eax
push esi
push eax
call fcn.10034422
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push 0
push esi
call fcn.10037ff0
mov ecx, dword [edi + 0x24]
mov edx, dword [ebp - 4]
push ecx
push edx
push 1
push esi
call fcn.1003573c
mov ecx, dword [ebp - 4]
add esp, 0x20
cmp eax, ecx
je 0x1000205f
push esi
call fcn.10032f50
add esp, 4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
test ecx, ecx
jle 0x10002072
mov dl, byte [eax + esi]
not dl
mov byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x10002065
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002077
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.100028b0
push esi
call fcn.10032f50
xor eax, eax
lea esi, [ebx + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
push eax
push 0x14
push 1
push esi
call fcn.1003573c
add esp, 0x14
cmp eax, 0x14
jne 0x10002057
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esi + eax]
not cl
mov byte [esi + eax], cl
inc eax
cmp eax, 0x14
jl 0x100020c0
mov edx, dword [edi + 0x24]
push edx
push 4
lea eax, [ebx + 0x30]
push 1
push eax
call fcn.1003573c
add esp, 0x10
cmp eax, 4
jne 0x10002057
mov ecx, dword [edi + 0x24]
push ecx
push eax
lea edx, [ebx + 0x34]
push 1
push edx
call fcn.1003573c
add esp, 0x10
cmp eax, 4
jne 0x10002057
mov eax, dword [edi + 0x24]
push eax
push 1
lea ecx, [ebx + 0x38]
push 1
push ecx
call fcn.1003573c
add esp, 0x10
cmp eax, 1
jne 0x10002057
mov edx, dword [edi + 0x24]
push edx
push 4
push eax
add ebx, 0x3c
push ebx
call fcn.1003573c
add esp, 0x10
cmp eax, 4
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bc78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1005d500]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10005f31
cmp byte [edi + 0x49], bl
je 0x10005f31
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10005f25
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10005e85
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x10005e9d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10005ec6
dec eax
je 0x10005eca
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10005f20
jmp 0x10005f2c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x10005eda
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10005f03
cmp ebx, 0x10
jae 0x10005ee9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10035eae
add esp, 0x10
cmp esi, eax
jne 0x10005f1d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10005f29
test esi, esi
jne 0x10005e91
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10005a00
jmp 0x10005e8b
lea ecx, [ebp - 0x2c]
call fcn.10002e90
xor al, al
jmp 0x10005f33
lea ecx, [ebp - 0x2c]
call fcn.10002e90
mov al, 1
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.10034eea
mov esp, ebp
pop ebp
ret
Function at 0x100060b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b10b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10034623
push 4
mov dword [ebp - 4], 0
call fcn.10032f20
mov edi, eax
add esp, 4
test edi, edi
je 0x10006130
call fcn.100349d1
mov dword [edi], eax
call fcn.10034790
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100346c5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006126
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100346ed
jmp 0x10006132
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 0x100097e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cb28
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], edx
jb 0x10009825
mov eax, dword [eax]
push 0x10053428
push eax
call fcn.10035815
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x10009848
xor al, al
jmp 0x10009944
push esi
call fcn.10036694
add esp, 4
test eax, eax
jne 0x10009939
lea esp, [esp]
push esi
push 1
lea eax, [ebp - 0x7c]
push 4
push eax
mov byte [ebp - 0x76], bl
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x75], bl
mov dword [ebp - 0x80], ebx
call fcn.1003573c
push esi
push 1
lea ecx, [ebp - 0x75]
push 1
push ecx
call fcn.1003573c
push esi
push 1
lea edx, [ebp - 0x80]
push 2
push edx
call fcn.1003573c
push esi
push 1
lea eax, [ebp - 0x76]
push 1
push eax
call fcn.1003573c
mov edi, dword [ebp - 0x7c]
movzx ecx, byte [ebp - 0x76]
add esp, 0x40
cmp edi, ebx
jle 0x10009928
mov dl, byte [ebp - 0x75]
cmp dl, bl
je 0x100098be
cmp dl, 1
jne 0x10009928
movzx eax, word [ebp - 0x80]
movzx edx, dl
cmp edx, ebx
je 0x10009928
mov edx, dword [ebp - 0x84]
push edx
push ecx
push eax
mov eax, dword [ebp + 0xc]
push edi
push eax
mov eax, dword [ebp + 8]
call fcn.10009ab0
cmp al, bl
je 0x10009928
mov ecx, dword [ebp - 0x84]
lea ebx, [ebp - 0x7c]
call fcn.1000b0f0
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.10008750
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.10008840
lea esi, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.100086e0
mov esi, dword [ebp - 0x88]
xor ebx, ebx
push esi
call fcn.10036694
add esp, 4
test eax, eax
je 0x10009860
push esi
call fcn.1003547e
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000ba80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.10037ff0
push 0x17
lea ecx, [ebp - 0x404]
push 0x1005399c
push ecx
call fcn.10038100
add esp, 0x18
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000bad4
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [ebp + eax - 0x404]
sub cl, al
xor cl, byte [edx + str.3b7e555a765536a7]
inc eax
mov byte [ebp + eax - 0x405], cl
cmp eax, 0x17
jl 0x1000bac5
mov eax, dword [0x10061aa0]
test eax, eax
jne 0x1000bb31
lea edx, [ebp - 0x404]
push edx
push eax
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [0x10061aa0], eax
test eax, eax
jne 0x1000bb31
lea eax, [ebp - 0x404]
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x10061aa0], eax
cmp dword [0x10061aa4], 0
jne 0x1000bb4e
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10061aa4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
Function at 0x1000e510
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004b058
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x20]
push eax
call esi
mov dword [esp + 0xc], vtable.SysService.0
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.1002fe50
cmp eax, dword [0x100a1d9c]
je 0x1000e5d9
cmp dword [0x100a1d98], 0
jne 0x1000e5f7
mov eax, 1
cmp word [esp + 0x28], ax
jae 0x1000e5db
lea ecx, [esp + 0x10]
push ecx
call esi
movzx eax, word [esp + 0x18]
mov edx, eax
shl edx, 4
sub edx, eax
movzx eax, word [esp + 0x1a]
lea eax, [eax + edx*4]
movzx edx, word [esp + 0x1c]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea esi, [edx + ecx*4]
call fcn.10026390
call fcn.10037163
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3840
idiv ecx
cmp edx, 0xe10
jl 0x1000e5b7
add edx, esi
mov dword [0x100a1d98], edx
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
push edx
call esi
movzx eax, word [esp + 0x18]
movzx edx, word [esp + 0x1a]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
movzx edx, word [esp + 0x1c]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
cmp eax, dword [0x100a1d98]
jbe 0x1000e5d9
mov al, 1
jmp 0x1000e5db
Function at 0x1000ec80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b3ea
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], vtable.FileService.0
mov byte [ebp - 4], 1
mov eax, dword [0x100a1fd8]
mov esi, 0x10
cmp dword [0x100a1fec], esi
jae 0x1000eccf
mov eax, 0x100a1fd8
push eax
lea ecx, [ebp - 0x10]
call fcn.10020600
mov eax, dword [0x100a1fd8]
cmp dword [0x100a1fec], esi
jae 0x1000ecea
mov eax, 0x100a1fd8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10], vtable.FileService.0
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
push ecx
lea esi, [ebp - 0x14]
lea eax, [ebp + 8]
call fcn.10032730
mov eax, dword [ebp + 0xc]
push eax
call fcn.10032f50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000f070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
jne 0x1000f07e
xor al, al
pop ebp
ret 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f083
sub eax, edx
xor ecx, ecx
push esi
mov esi, eax
cmp dword [ebp + 8], ecx
jle 0x1000f0ad
mov eax, ecx
cdq
idiv esi
mov al, byte [ecx + edi]
sub al, cl
inc ecx
xor al, byte [edx + ebx]
mov byte [ecx + edi - 1], al
cmp ecx, dword [ebp + 8]
jl 0x1000f096
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x1000f850
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 0x5c], 0
jne 0x1000f9c9
mov ecx, dword [esi + 0x58]
lea eax, [ecx*8]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp eax, ecx
jae 0x1000f887
inc dword [esi + 0x14]
movzx ecx, byte [esi + 0x11]
movzx edx, byte [esi + 0x10]
mov byte [ebp - 0xb], cl
movzx ecx, byte [esi + 0x13]
mov byte [ebp - 0xc], dl
movzx edx, byte [esi + 0x12]
mov byte [ebp - 9], cl
movzx ecx, byte [esi + 0x15]
mov byte [ebp - 0xa], dl
movzx edx, byte [esi + 0x14]
mov byte [ebp - 7], cl
movzx ecx, byte [esi + 0x17]
shr eax, 3
mov byte [ebp - 8], dl
movzx edx, byte [esi + 0x16]
and eax, 0x3f
mov byte [ebp - 5], cl
mov byte [ebp - 6], dl
mov ecx, 0x38
cmp eax, 0x38
jb 0x1000f8d4
mov ecx, 0x78
sub ecx, eax
push ebx
push edi
test ecx, ecx
je 0x1000f901
mov ebx, ecx
mov edi, 0x1005eae0
mov al, byte [edi]
mov edx, dword [esi + 0x58]
mov byte [esi + edx + 0x18], al
inc dword [esi + 0x58]
dec ebx
inc edi
cmp dword [esi + 0x58], 0x40
jb 0x1000f8fd
push esi
call fcn.1000f0c0
test ebx, ebx
jne 0x1000f8e3
mov ebx, 8
lea edi, [ebp - 0xc]
lea esp, [esp]
mov ecx, dword [esi + 0x58]
mov dl, byte [edi]
mov byte [esi + ecx + 0x18], dl
inc dword [esi + 0x58]
dec ebx
inc edi
cmp dword [esi + 0x58], 0x40
jb 0x1000f92a
push esi
call fcn.1000f0c0
xor eax, eax
cmp ebx, eax
jne 0x1000f910
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
mov byte [esi + 0x5d], cl
movzx ecx, byte [esi + 2]
mov byte [esi + 0x5e], dl
movzx edx, byte [esi + 3]
mov byte [esi + 0x5f], cl
movzx ecx, byte [esi + 4]
mov byte [esi + 0x60], dl
movzx edx, byte [esi + 5]
mov byte [esi + 0x61], cl
movzx ecx, byte [esi + 6]
mov byte [esi + 0x62], dl
movzx edx, byte [esi + 7]
mov byte [esi + 0x63], cl
movzx ecx, byte [esi + 8]
mov byte [esi + 0x64], dl
movzx edx, byte [esi + 9]
mov byte [esi + 0x65], cl
movzx ecx, byte [esi + 0xa]
mov byte [esi + 0x66], dl
movzx edx, byte [esi + 0xb]
mov byte [esi + 0x67], cl
movzx ecx, byte [esi + 0xc]
mov byte [esi + 0x68], dl
movzx edx, byte [esi + 0xd]
mov byte [esi + 0x69], cl
movzx ecx, byte [esi + 0xe]
mov byte [esi + 0x6a], dl
movzx edx, byte [esi + 0xf]
mov byte [esi + 0x6b], cl
mov byte [esi + 0x6c], dl
pop edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x58], eax
mov byte [esi + 0x5c], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
Function at 0x1000faa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x70], ebx
mov byte [esp + 0x74], bl
mov esi, edx
cmp edi, ebx
je 0x1000fb2a
mov cl, byte [esi]
mov edx, dword [esp + 0x70]
mov byte [esp + edx + 0x30], cl
mov eax, dword [esp + 0x70]
inc eax
dec edi
inc esi
mov dword [esp + 0x70], eax
cmp eax, 0x40
jb 0x1000fb26
lea eax, [esp + 0x18]
push eax
call fcn.1000f0c0
cmp edi, ebx
jne 0x1000fb02
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.1000f9e0
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10034eea
mov esp, ebp
pop ebp
ret 4
Function at 0x10011280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
push ebx
push esi
push edi
mov esi, 0x1005eba4
mov dword [ebp - 4], 0x10
nop
xor ecx, dword [esi]
sub esi, 4
mov eax, ecx
mov dword [ebp - 8], ecx
movzx edi, cl
shr eax, 8
movzx ebx, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1005ebb0]
movzx eax, al
add ecx, dword [eax*4 + 0x1005efb0]
xor ecx, dword [ebx*4 + 0x1005f3b0]
add ecx, dword [edi*4 + 0x1005f7b0]
xor ecx, edx
dec dword [ebp - 4]
mov edx, dword [ebp - 8]
jne 0x100112a0
mov eax, dword [0x1005eb64]
xor eax, ecx
mov ecx, dword [0x1005eb60]
xor ecx, edx
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004edd6
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x10061c90]
xor ebx, ebx
cmp eax, ebx
je 0x10011454
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x11c]
mov eax, 0x1005fbb4
call fcn.10032620
mov edi, dword [eax]
cmp edi, ebx
je 0x10011454
cmp dword [edi + 0xc], 7
jne 0x10011383
call fcn.1000d4b0
lea eax, [ebx + 0x13]
jmp 0x10011459
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
mov dword [ebp - 4], ebx
cmp dword [0x100a1fec], 0x10
mov esi, dword [0x100a1fd8]
jae 0x100113a4
mov esi, 0x100a1fd8
mov eax, dword [0x10061c90]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea ecx, [ebp - 0x118]
push str._sd_x_x_
push ecx
call fcn.1003688d
add esp, 0x14
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x124]
call fcn.10020600
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100113f0
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
mov ecx, 0x10061d28
call fcn.100028b0
mov dword [ebp - method._7zService.virtual_0], vtable._7zService.0
mov dword [ebp - 0x11c], ebx
add edi, 0x8c
push edi
lea esi, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.100010d0
cmp al, bl
jne 0x10011475
push ebx
push 0x100534f8
mov ecx, 0x10061d28
call fcn.100028b0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret
push 0x10061d28
lea ecx, [ebp - 0x120]
call fcn.100011d0
cmp al, bl
jne 0x1001149a
push 0x10061d28
mov edx, 0x100534f8
call fcn.10002150
jmp 0x10011445
call fcn.1000d4b0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 0x13
jmp 0x10011459
Function at 0x10012400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10012413
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10012420
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x10012450
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x120]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x124], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x120], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x118]
mov ebx, eax
cmp ebx, edi
jne 0x100124e4
xor eax, eax
cmp ecx, edi
je 0x100124c6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x120]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], esi
cmp eax, edi
je 0x10012504
cmp ecx, edi
je 0x100124ef
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x130]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x10c]
push eax
push edi
push ecx
mov dword [ebp - 0x11c], 0x100
call esi
test eax, eax
jne 0x1001258c
jmp 0x10012540
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x118]
call fcn.10012450
mov ebx, eax
cmp ebx, edi
jne 0x100125e2
lea edx, [ebp - 0x130]
push edx
mov edx, dword [ebp - 0x118]
push edi
push edi
push edi
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push edi
push edx
mov dword [ebp - 0x11c], 0x100
call esi
test eax, eax
je 0x10012540
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x100125a3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x118], edi
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], edi
call fcn.10012260
mov esi, eax
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x100125cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x100125f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10034eea
mov esp, ebp
pop ebp
ret 4