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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ba28
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
mov esi, edx
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x54], cl
push eax
push esi
lea ebx, [ebp - 0x54]
mov dword [ebp - 4], ecx
call fcn.10001df0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov dword [edi], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], ecx
mov dword [edx], ecx
cmp eax, ecx
je 0x10001d05
push eax
call fcn.10034282
mov ecx, dword [ebp - 0x24]
mov ebx, eax
mov eax, dword [esi + 0x24]
push eax
push ecx
push 1
push ebx
call fcn.1003559c
add esp, 0x14
cmp eax, dword [ebp - 0x24]
je 0x10001cb7
push ebx
call fcn.10032db0
add esp, 4
cmp dword [ebp - 0x40], 0x10
jb 0x10001cb3
mov edx, dword [ebp - 0x54]
push edx
call fcn.10032db0
add esp, 4
xor al, al
jmp 0x10001d19
mov esi, dword [esi + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push ebx
mov ecx, esi
call edx
push ebx
test al, al
jne 0x10001cf0
call fcn.10032db0
add esp, 4
cmp dword [ebp - 0x40], 0x10
jb 0x10001cb3
mov eax, dword [ebp - 0x54]
push eax
call fcn.10032db0
add esp, 4
xor al, al
jmp 0x10001d19
call fcn.10032db0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov dword [edi], ecx
add esp, 4
mov dword [eax], edx
cmp dword [ebp - 0x40], 0x10
jb 0x10001d17
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.10032db0
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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.10034282
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push 0
push esi
call fcn.10037e50
mov ecx, dword [edi + 0x24]
mov edx, dword [ebp - 4]
push ecx
push edx
push 1
push esi
call fcn.1003559c
mov ecx, dword [ebp - 4]
add esp, 0x20
cmp eax, ecx
je 0x1000205f
push esi
call fcn.10032db0
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.10032db0
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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.1003559c
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 0x10005e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c6d8
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 0x10005fa1
cmp byte [edi + 0x49], bl
je 0x10005fa1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10005f95
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 0x10005ef5
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 0x10005f0d
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 0x10005f36
dec eax
je 0x10005f3a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10005f90
jmp 0x10005f9c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x10005f4a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10005f73
cmp ebx, 0x10
jae 0x10005f59
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10035d0e
add esp, 0x10
cmp esi, eax
jne 0x10005f8d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10005f99
test esi, esi
jne 0x10005f01
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10005a40
jmp 0x10005efb
lea ecx, [ebp - 0x2c]
call fcn.10002e90
xor al, al
jmp 0x10005fa3
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.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x10006150
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004af6b
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.10034483
push 4
mov dword [ebp - 4], 0
call fcn.10032d80
mov edi, eax
add esp, 4
test edi, edi
je 0x100061d0
call fcn.10034831
mov dword [edi], eax
call fcn.100345f0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10034525
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100061c6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1003454d
jmp 0x100061d2
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 0x10009a90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c9c8
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 0x10009ad5
mov eax, dword [eax]
push 0x10053450
push eax
call fcn.10035675
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x10009af8
xor al, al
jmp 0x10009bf4
push esi
call fcn.100364f4
add esp, 4
test eax, eax
jne 0x10009be9
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.1003559c
push esi
push 1
lea ecx, [ebp - 0x75]
push 1
push ecx
call fcn.1003559c
push esi
push 1
lea edx, [ebp - 0x80]
push 2
push edx
call fcn.1003559c
push esi
push 1
lea eax, [ebp - 0x76]
push 1
push eax
call fcn.1003559c
mov edi, dword [ebp - 0x7c]
movzx ecx, byte [ebp - 0x76]
add esp, 0x40
cmp edi, ebx
jle 0x10009bd8
mov dl, byte [ebp - 0x75]
cmp dl, bl
je 0x10009b6e
cmp dl, 1
jne 0x10009bd8
movzx eax, word [ebp - 0x80]
movzx edx, dl
cmp edx, ebx
je 0x10009bd8
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.10009d60
cmp al, bl
je 0x10009bd8
mov ecx, dword [ebp - 0x84]
lea ebx, [ebp - 0x7c]
call fcn.1000b3a0
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.10008b40
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.10008c60
lea esi, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.10008ad0
mov esi, dword [ebp - 0x88]
xor ebx, ebx
push esi
call fcn.100364f4
add esp, 4
test eax, eax
je 0x10009b10
push esi
call fcn.100352de
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.10034d4a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000bd30
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.10037e50
push 0x17
lea ecx, [ebp - 0x404]
push 0x100539c4
push ecx
call fcn.10037f60
add esp, 0x18
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000bd84
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 0x1000bd75
mov eax, dword [0x10061aa0]
test eax, eax
jne 0x1000bde1
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 0x1000bde1
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 0x1000bdfe
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.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x1000e7d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004aeb8
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.1002ff80
cmp eax, dword [0x100a1d9c]
je 0x1000e899
cmp dword [0x100a1d98], 0
jne 0x1000e8b7
mov eax, 1
cmp word [esp + 0x28], ax
jae 0x1000e89b
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.100264d0
call fcn.10036fc3
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3840
idiv ecx
cmp edx, 0xe10
jl 0x1000e877
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.10034d4a
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 0x1000e899
mov al, 1
jmp 0x1000e89b
Function at 0x1000f050
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b28a
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 0x1000f09f
mov eax, 0x100a1fd8
push eax
lea ecx, [ebp - 0x10]
call fcn.100206d0
mov eax, dword [0x100a1fd8]
cmp dword [0x100a1fec], esi
jae 0x1000f0ba
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.10006380
mov eax, dword [ebp + 0xc]
push eax
call fcn.10032db0
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 0x1000f440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
jne 0x1000f44e
xor al, al
pop ebp
ret 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f453
sub eax, edx
xor ecx, ecx
push esi
mov esi, eax
cmp dword [ebp + 8], ecx
jle 0x1000f47d
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 0x1000f466
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x1000fc20
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 0x1000fd99
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 0x1000fc57
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 0x1000fca4
mov ecx, 0x78
sub ecx, eax
push ebx
push edi
test ecx, ecx
je 0x1000fcd1
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 0x1000fccd
push esi
call fcn.1000f490
test ebx, ebx
jne 0x1000fcb3
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 0x1000fcfa
push esi
call fcn.1000f490
xor eax, eax
cmp ebx, eax
jne 0x1000fce0
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.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x1000fe70
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 0x1000fefa
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 0x1000fef6
lea eax, [esp + 0x18]
push eax
call fcn.1000f490
cmp edi, ebx
jne 0x1000fed2
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.1000fdb0
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x10011650
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 0x10011670
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 0x100116e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ec46
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 0x10011824
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x11c]
mov eax, 0x1005fbb4
call fcn.10032850
mov edi, dword [eax]
cmp edi, ebx
je 0x10011824
cmp dword [edi + 0xc], 7
jne 0x10011753
call fcn.1000d770
lea eax, [ebx + 0x13]
jmp 0x10011829
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
mov dword [ebp - 4], ebx
cmp dword [0x100a1fec], 0x10
mov esi, dword [0x100a1fd8]
jae 0x10011774
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.100366ed
add esp, 0x14
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x124]
call fcn.100206d0
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 0x100117c0
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 0x10011845
push ebx
push 0x10053520
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.10034d4a
mov esp, ebp
pop ebp
ret
push 0x10061d28
lea ecx, [ebp - 0x120]
call fcn.100011d0
cmp al, bl
jne 0x1001186a
push 0x10061d28
mov edx, 0x10053520
call fcn.10002150
jmp 0x10011815
call fcn.1000d770
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 0x13
jmp 0x10011829