joyce8/EMBER2024-capa huggingface dataset:
Function at 0x108c045
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, 0x111024c
mov edi, 0x1008bf8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x108c0b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x20
jne 0x108c0e8
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x108c0a4
test byte [eax + 0x1c], 1
je 0x108c0a4
cmp byte [eax + 0x19], 3
jb 0x108c0a4
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010197e6
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jb 0x108c05c
cmp dword [ebp - 4], 5
jne 0x108c126
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x108c0e1
test byte [eax + 0x1c], 1
je 0x108c0e1
cmp byte [eax + 0x19], 2
jb 0x108c0e1
push edi
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, 0x80780163
jmp 0x108c128
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x108c112
test byte [eax + 0x1c], 1
je 0x108c112
cmp byte [eax + 0x19], 2
jb 0x108c112
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push 0x53
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010198ad
test esi, esi
jle 0x108c122
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
jmp 0x108c128
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x108c2cf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebp - 0x28], 0
push 8
pop ecx
xor eax, eax
push eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push 0x20
pop edi
push edi
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x108c355
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108c341
test byte [eax + 0x1c], 2
je 0x108c341
cmp byte [eax + 0x19], 2
jb 0x108c341
push esi
push 0x1008bf8
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
test esi, esi
jle 0x108c351
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
jmp 0x108c3a7
cmp dword [ebp - 0x28], edi
je 0x108c38a
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108c39b
test byte [eax + 0x1c], 2
je 0x108c39b
cmp byte [eax + 0x19], 2
jb 0x108c39b
push edi
push dword [ebp - 0x28]
push 0x1008bf8
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
jmp 0x108c39b
mov ecx, dword [esi + 8]
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.0107c800
test eax, eax
jge 0x108c3a7
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
add eax, 0x80780002
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0106f798
leave
ret 8
Function at 0x108c3bc
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
push esi
mov esi, dword [ebp + 8]
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 8]
push 0x20
lea eax, [ebp - 0x24]
push eax
call fcn.0107c708
mov edi, eax
test edi, edi
jl 0x108c46f
push 0
lea eax, [ebp - 0x28]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x108c455
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108c441
test byte [eax + 0x1c], 2
je 0x108c441
cmp byte [eax + 0x19], 2
jb 0x108c441
push esi
push 0x1008bf8
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
test esi, esi
jle 0x108c451
and esi, 0xffff
or esi, 0x80070000
mov edi, esi
jmp 0x108c46f
cmp dword [ebp - 0x28], 0x20
je 0x108c46f
push 0x1008c70
push 0xd2f
push 0x1008c24
call fcn.0107b644
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0106f798
leave
ret 4
Function at 0x108f208
Capabilities:
Delete file

Disassembly:
push 0x2a4
mov eax, 0x1106ea2
call fcn.0106f899
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push 0x286
push eax
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29a]
push eax
mov ebx, ecx
call sub.msvcrt.dll_memset
or dword [ebp - 0x2a8], 0xffffffff
and dword [ebp - 0x2a4], 0
add esp, 0xc
mov dword [ebp - 0x2ac], 0x1008ed0
and dword [ebp - 4], 0
test esi, esi
jne 0x108f271
push 0x1009430
push 0x599
push 0x1008c24
call fcn.0107b644
push edi
mov ecx, ebx
call fcn.0108d92c
push dword [ebp + 0x10]
lea eax, [ebp - 0x29c]
push 0x144
push eax
push edi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0108dc7c
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0108c486
lea eax, [ebp - 0x2ac]
push eax
mov ecx, esi
call fcn.010883ca
mov esi, eax
test esi, esi
jge 0x108f2fd
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108f3d6
test byte [eax + 0x1c], 1
je 0x108f3d6
cmp byte [eax + 0x19], 2
jb 0x108f3d6
push esi
push 0x1008bf8
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
jmp 0x108f3d6
lea eax, [ebp - 0x2ac]
push eax
call fcn.0108c134
mov esi, eax
test esi, esi
jge 0x108f33d
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108f3d6
test byte [eax + 0x1c], 1
je 0x108f3d6
cmp byte [eax + 0x19], 2
jb 0x108f3d6
push esi
push 0x1008bf8
push 0x37
jmp 0x108f2ed
lea eax, [ebp - 0x2ac]
push eax
call fcn.0108c4d6
lea eax, [ebp - 0x2a0]
push eax
push 1
push edi
mov ecx, ebx
call fcn.0108e070
mov esi, eax
test esi, esi
jge 0x108f38e
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108f3d6
test byte [eax + 0x1c], 1
je 0x108f3d6
cmp byte [eax + 0x19], 2
jb 0x108f3d6
push esi
push edi
push 0x1008bf8
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x108f3d6
lea eax, [ebp - 0x29c]
push eax
push edi
mov ecx, ebx
call fcn.0108e6be
mov esi, eax
test esi, esi
jge 0x108f408
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x108f3d6
test byte [eax + 0x1c], 1
je 0x108f3d6
cmp byte [eax + 0x19], 2
jb 0x108f3d6
push esi
lea ecx, [ebp - 0x29c]
push ecx
push edi
push 0x1008bf8
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010198ad
cmp word [ebp - 0x29c], 0
je 0x108f3f9
lea eax, [ebp - 0x2ac]
push eax
call fcn.0108c4d6
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2ac]
call fcn.0108d396
mov eax, esi
jmp 0x108f447
xor eax, eax
mov word [ebp - 0x29c], ax
cmp dword [ebp - 0x2a0], eax
jne 0x108f421
push edi
mov ecx, ebx
call fcn.0108e3f4
lea ecx, [ebp - 0x2ac]
call fcn.0108d396
xor eax, eax
jmp 0x108f447
call fcn.0106f904
ret 0xc
Function at 0x1093f34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
movzx eax, dx
test dx, dx
je 0x1093f5d
add ecx, 2
jmp 0x1093f55
movzx edx, dx
rol eax, 1
xor eax, edx
inc ecx
inc ecx
movzx edx, word [ecx]
test dx, dx
jne 0x1093f4c
pop ebp
ret 4

Function at 0x1093f66
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0xc], eax
jbe 0x1093f85
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
rol eax, 1
xor eax, edx
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x1093f74
pop ebp
ret 8

Function at 0x109c2b2
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 4]
add eax, 0x1f
shr eax, 5
test eax, eax
jbe 0x109c2de
push esi
mov esi, dword [edx]
xor dword [ecx], esi
add edx, 4
add ecx, 4
dec eax
jne 0x109c2d0
pop esi
pop ebp
ret 8
Function at 0x109c91c
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x111024c]
mov ebx, 0x111024c
cmp eax, ebx
je 0x109c9b6
test byte [eax + 0x1c], 4
je 0x109c989
cmp byte [eax + 0x19], 4
jb 0x109c989
push 0x100ab50
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x109c9b6
test byte [eax + 0x1c], 4
je 0x109c9b6
cmp byte [eax + 0x19], 5
jb 0x109c9b6
movzx ecx, byte [ebp + 0x10]
push ecx
movzx ecx, byte [ebp + 0xc]
push ecx
push edi
push 0x100ab50
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019c0f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x109c9bb
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, edi
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x109c9d0
sub eax, edx
sar eax, 1
lea edi, [eax + ecx]
mov dword [ebp - 0x21c], eax
lea eax, [edi + 1]
cmp eax, 0x104
jbe 0x109ca05
mov eax, dword [ebp - 0x210]
mov dword [eax], 0x57
push 2
pop eax
jmp 0x109cb2c
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x21c]
add eax, eax
push eax
push dword [ebp - 0x214]
lea eax, [ebp + esi - 0x20c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x18
xor eax, eax
push eax
push 0x2000080
push 3
push eax
push 7
push eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x109cab9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x109ca78
xor eax, eax
jmp 0x109cb2c
call esi
mov ecx, dword [ebp - 0x210]
mov dword [ecx], eax
mov ecx, dword [0x111024c]
cmp ecx, ebx
je 0x109cab2
test byte [ecx + 0x1c], 4
je 0x109cab2
cmp byte [ecx + 0x19], 2
jb 0x109cab2
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x100ab50
push 0x5b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
push 6
jmp 0x109c9ff
movzx eax, byte [ebp + 0xc]
push dword [ebp - 0x210]
mov dword [ebp - 0x22c], eax
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x22c]
push eax
push 0x109c3a9
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push esi
call fcn.0109c499
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x109cb2a
test byte [eax + 0x1c], 4
je 0x109cb2a
cmp byte [eax + 0x19], 4
jb 0x109cb2a
push 0x100ab50
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x24
Function at 0x109f55e
Capabilities:
Get volume information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x109f59b
test byte [eax + 0x1c], 4
je 0x109f59b
cmp byte [eax + 0x19], 4
jb 0x109f59b
push 0x100ab50
push 0x1c6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
push ebx
push 0x80
push 3
push ebx
push 3
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0x80000000
push dword [ebp + 8]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x109f617
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x109f60f
test byte [ecx + 0x1c], 4
je 0x109f60f
cmp byte [ecx + 0x19], 2
jb 0x109f60f
push eax
push dword [ebp + 8]
push 0x100ab50
push 0x1c7
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
push 0xd
pop eax
jmp 0x109f710
push ebx
lea ecx, [ebp - 4]
push ecx
push 0x60
lea ecx, [ebp - 0x7c]
push ecx
push ebx
push ebx
push 0x90064
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x109f64a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x24]
push dword [ebp + 0x1c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x109f60f
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
push eax
push ebx
push 0
push 0
push dword [ebp + 0x18]
mov dword [ebp - 8], eax
call dword [ebp + 0x14]
mov byte [ebp + 0x27], al
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
cmp byte [ebp + 0x27], 0
jne 0x109f6b5
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x109f6b0
test byte [eax + 0x1c], 4
je 0x109f6b0
cmp byte [eax + 0x19], 2
jb 0x109f6b0
push 0x100ab50
push 0x1c8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor eax, eax
inc eax
jmp 0x109f710
push dword [ebp - 8]
push ebx
push dword [ebp - 8]
push ebx
push dword [ebp + 0x18]
call dword [ebp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [edi], ebx
mov dword [edi + 4], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x109f70e
test byte [eax + 0x1c], 4
je 0x109f70e
cmp byte [eax + 0x19], 4
jb 0x109f70e
push 0x100ab50
push 0x1ca
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x109fadb
Capabilities:
Unmount volume via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x111024c]
mov esi, 0x111024c
cmp eax, esi
je 0x109fb45
test byte [eax + 0x1c], 4
je 0x109fb1d
cmp byte [eax + 0x19], 4
jb 0x109fb1d
push 0x100ab50
push 0x1d0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
cmp eax, esi
je 0x109fb45
test byte [eax + 0x1c], 4
je 0x109fb45
cmp byte [eax + 0x19], 5
jb 0x109fb45
push dword [ebp + 8]
push 0x100ab50
push 0x1d1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
push edi
push 0x80
push 3
push edi
push 7
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x109fba8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [0x111024c]
cmp ecx, esi
je 0x109fba0
test byte [ecx + 0x1c], 4
je 0x109fba0
cmp byte [ecx + 0x19], 2
jb 0x109fba0
push eax
push dword [ebp + 8]
push 0x100ab50
push 0x1d2
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
push 0x12
pop eax
jmp 0x109fcac
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push edi
push edi
push 0x90018
push eax
call ebx
push edi
lea eax, [ebp - 4]
push eax
push edi
push edi
push edi
push edi
push 0x90020
push dword [ebp - 8]
mov dword [ebp - 4], edi
call ebx
test eax, eax
jne 0x109fc14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp + 0xc]
push dword [ebp - 8]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x111024c]
cmp eax, esi
je 0x109fc71
test byte [eax + 0x1c], 4
je 0x109fc71
cmp byte [eax + 0x19], 2
jb 0x109fc71
push dword [edi]
push dword [ebp + 8]
push 0x100ab50
push 0x1d3
jmp 0x109fc66
push edi
lea eax, [ebp - 4]
push eax
push edi
push edi
push edi
push edi
push 0x42c190
push dword [ebp - 8]
mov dword [ebp - 4], edi
call ebx
test eax, eax
jne 0x109fc76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp + 0xc]
push dword [ebp - 8]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x111024c]
cmp eax, esi
je 0x109fc71
test byte [eax + 0x1c], 4
je 0x109fc71
cmp byte [eax + 0x19], 2
jb 0x109fc71
push dword [edi]
push dword [ebp + 8]
push 0x100ab50
push 0x1d4
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
push 0x12
pop eax
jmp 0x109fcab
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x111024c]
cmp eax, esi
je 0x109fca9
test byte [eax + 0x1c], 4
je 0x109fca9
cmp byte [eax + 0x19], 4
jb 0x109fca9
push 0x100ab50
push 0x1d5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x10a00b7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.010b66d8
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.010b6b6e
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.010b6c11
mov ecx, esi
push 0x10
mov eax, edi
sub ecx, edi
pop edx
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0x10a00fe
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10a017a
test byte [eax + 0x1c], 4
mov ebx, 0x100ab50
je 0x10a0148
cmp byte [eax + 0x19], 5
jb 0x10a0148
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [ebp + 0x10]
push ebx
push 0x1db
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bef9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10a017a
test byte [eax + 0x1c], 4
je 0x10a017a
cmp byte [eax + 0x19], 5
jb 0x10a017a
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0x10]
push ebx
push 0x1dc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bef9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x10

Function at 0x10a0190
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov eax, dword [0x111024c]
mov esi, dword [ebp + 0x14]
mov edi, 0x111024c
mov ebx, 0x100ab50
cmp eax, edi
je 0x10a01df
test byte [eax + 0x1c], 4
je 0x10a01df
cmp byte [eax + 0x19], 5
jb 0x10a01df
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push 0x1dd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bef9
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10a0229
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10a0221
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a025e
test byte [eax + 0x1c], 4
je 0x10a025e
cmp byte [eax + 0x19], 5
jb 0x10a025e
push ebx
push 0x1de
jmp 0x10a0253
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a025e
test byte [eax + 0x1c], 4
je 0x10a025e
cmp byte [eax + 0x19], 5
jb 0x10a025e
push ebx
push 0x1df
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10a0293
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov eax, dword [0x111024c]
mov esi, dword [ebp + 0x14]
mov edi, 0x111024c
mov ebx, 0x100ab50
cmp eax, edi
je 0x10a02e2
test byte [eax + 0x1c], 4
je 0x10a02e2
cmp byte [eax + 0x19], 5
jb 0x10a02e2
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push 0x1e0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bef9
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10a0324
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10a0324
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a0359
test byte [eax + 0x1c], 4
je 0x10a0359
cmp byte [eax + 0x19], 5
jb 0x10a0359
push ebx
push 0x1e1
jmp 0x10a034e
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a0359
test byte [eax + 0x1c], 4
je 0x10a0359
cmp byte [eax + 0x19], 5
jb 0x10a0359
push ebx
push 0x1e2
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10b66d8
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x10c0fb3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], 0x100d598
cmp byte [ebp + 8], bl
jne 0x10c0ffa
mov dword [ebp - 0x210], 0x100d510
mov esi, 0x2000
push esi
call fcn.010c39d4
pop ecx
mov dword [ebp - 0x21c], eax
cmp eax, ebx
jne 0x10c104c
mov ecx, dword [0x1110a4c]
mov eax, 0x8007000e
push 0x100ce98
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], 0x1fa
mov dword [ebp - 0x228], edi
push 0x100cc54
jmp 0x10c11b6
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x111024c]
mov edi, 0x111024c
mov ebx, 0x100cedc
cmp eax, edi
je 0x10c108a
test byte [eax + 0x1c], 8
je 0x10c108a
cmp byte [eax + 0x19], 4
jb 0x10c108a
push dword [ebp - 0x210]
push ebx
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push dword [ebp - 0x210]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10c10e9
mov ecx, dword [0x111024c]
cmp ecx, edi
je 0x10c11d4
test byte [ecx + 0x1c], 1
je 0x10c11d4
cmp byte [ecx + 0x19], 3
jb 0x10c11d4
push eax
push dword [ebp - 0x210]
push ebx
push 0xf
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
jmp 0x10c11d4
xor edi, edi
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
push 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x218]
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x220], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc edi
test eax, eax
jne 0x10c1164
cmp dword [ebp - 0x210], 7
jne 0x10c10eb
push dword [ebp + 8]
mov ecx, dword [ebp - 0x224]
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call fcn.010c0d10
and dword [ebp - 0x214], 0
jmp 0x10c10eb
cmp eax, 0x103
je 0x10c11d4
test eax, eax
jle 0x10c1179
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x214], eax
mov eax, dword [0x1110a4c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x224]
push 0x100d504
mov dword [ebp - 0x22c], 0x22d
mov dword [ebp - 0x228], eax
push 0x100d4c0
lea eax, [ebp - 0x238]
push 0x100cc1c
push eax
mov dword [ebp - 0x230], 0x100cf80
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const__
add esp, 0x10
cmp dword [ebp - 0x218], 0
pop edi
pop esi
pop ebx
je 0x10c11ec
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x21c]
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebp - 0x214]
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0106f798
leave
ret 4