joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10829c7
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1082a10
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1082a10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1082a00
test esi, eax
je 0x1082a3e
not esi
and esi, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1082a3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov edi, eax
jmp 0x1082a15
mov edi, 0x80070057
test edi, edi
jge 0x1082a3e
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x1082a3e
test byte [eax + 0x3c], 2
je 0x1082a3e
push edi
push 0x1005680
push 0x34
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x1082a66
Capabilities:
Generate random numbers via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x14284d8], 1
je 0x1082a7e
mov esi, 0x8000ffff
jmp 0x1082aa6
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x1427fa4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1082acb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov esi, eax
test esi, esi
jge 0x1082acb
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x1082acb
test byte [eax + 0x3c], 2
je 0x1082acb
push esi
push 0x1005408
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1082c89
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1082cb4
test al, 0x10
je 0x1082caa
xor eax, eax
cmp dword [ebp + 0xc], eax
setne al
jmp 0x1082cb6
xor eax, eax
cmp dword [ebp + 0xc], eax
sete al
jmp 0x1082cb6
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop ebp
ret 0xc
Function at 0x108356a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x1426ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x62c]
push eax
push 0x104
push esi
call fcn.01045265
mov edi, eax
test edi, edi
jl 0x1083765
push esi
mov ebx, 0x105
push ebx
lea eax, [ebp - 0x41c]
push eax
call fcn.01050bf6
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x1083765
lea eax, [ebp - 0x62c]
push eax
push 1
push dword [ebp - 0x62c]
call fcn.01082b34
mov edi, eax
cmp edi, esi
jl 0x1083765
mov eax, dword [ebp - 0x62c]
lea eax, [ebp + eax*2 - 0x41c]
cmp word [eax], 0x5c
jne 0x10835fd
mov word [eax], si
cmp word [ebp - 0x41c], 0x5c
lea eax, [ebp - 0x41c]
mov word [ebp - 0x210], si
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x630], esi
jne 0x108362c
lea eax, [ebp - 0x41a]
mov dword [ebp - 0x62c], eax
push 0x5c
push dword [ebp - 0x62c]
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x634], esi
lea eax, [ebp - 0x628]
jne 0x1083671
push dword [ebp - 0x62c]
push ebx
push eax
call fcn.01050bf6
mov edi, eax
test edi, edi
jl 0x1083765
mov dword [ebp - 0x630], 1
jmp 0x10836ac
sub esi, dword [ebp - 0x62c]
sar esi, 1
push esi
push dword [ebp - 0x62c]
push ebx
push eax
call fcn.01082cc1
mov edi, eax
test edi, edi
jl 0x1083765
mov eax, dword [ebp - 0x62c]
cmp dword [ebp - 0x634], eax
jb 0x108374c
and word [ebp + esi*2 - 0x628], 0
lea eax, [ebp - 0x628]
push eax
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.01082d0c
mov edi, eax
test edi, edi
jl 0x1083765
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x10836e2
test al, 0x10
jne 0x1083712
mov eax, dword [ebp - 0x630]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x638]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1083753
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x1083753
mov eax, dword [ebp - 0x634]
test eax, eax
je 0x108373d
add eax, 2
push 0x1002194
mov dword [ebp - 0x62c], eax
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.01082d0c
mov edi, eax
test edi, edi
jl 0x1083765
cmp dword [ebp - 0x630], 0
je 0x108362c
jmp 0x1083761
mov edi, 0x80070216
jmp 0x1083765
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov edi, eax
test edi, edi
jge 0x108378a
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x108378a
test byte [eax + 0x3c], 2
je 0x108378a
push edi
push 0x1005680
push 0x1c
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01043035
leave
ret 8
Function at 0x1083f15
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
jne 0x1083f2f
mov ebx, 0x80070057
jmp 0x1083fa0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 4]
call fcn.01081f68
cmp dword [ebp - 4], 0xffffffff
jne 0x1083f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov ebx, eax
jmp 0x1083f9c
push dword [ebp - 4]
call fcn.01081f1c
mov edi, dword [ebp + 0xc]
neg al
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push dword [ebp + 0x10]
sbb eax, eax
not eax
and eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1083f59
cmp dword [ebp + 8], edi
je 0x1083fc5
mov ebx, 0x8000ffff
test ebx, ebx
jge 0x1083fc5
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x1083fc5
test byte [eax + 0x3c], 2
je 0x1083fc5
push ebx
push 0x1005680
push 0x33
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 4]
call fcn.01081f49
pop edi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x1084570
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.01083525
mov ebx, eax
test ebx, ebx
jl 0x108460e
cmp dword [ebp - 8], 0
je 0x108460a
mov esi, dword [esi + 0x44]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 4]
call fcn.01081f68
cmp dword [ebp - 4], 0xffffffff
jne 0x10845d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov ebx, eax
jmp 0x108460a
push dword [ebp - 4]
call fcn.01081f1c
neg al
lea ecx, [ebp - 0x10]
push ecx
sbb eax, eax
not eax
and eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10845c4
cmp dword [ebp - 0xc], 0
jl 0x108460a
jg 0x1084605
cmp dword [ebp - 0x10], 0x200000
jbe 0x108460a
mov ebx, 0x8007000d
test ebx, ebx
jge 0x1084633
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x1084633
test byte [eax + 0x3c], 2
je 0x1084633
push ebx
push 0x1005418
push 0x1b
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 4]
call fcn.01081f49
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10853a7
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
jne 0x10853cf
mov dword [ebp - 4], 0x80070057
jmp 0x10854b2
cmp dword [ebp + 0xc], edi
je 0x10853c3
cmp dword [ebp + 0x10], edi
je 0x10853c3
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 8]
call fcn.01081f68
cmp dword [ebp - 8], 0xffffffff
jne 0x1085415
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov dword [ebp - 4], eax
jmp 0x10854ad
push dword [ebp - 8]
call fcn.01081f1c
mov bl, al
neg al
lea ecx, [ebp + 8]
push ecx
sbb eax, eax
not eax
and eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x1085401
cmp dword [ebp + 8], edi
jne 0x10853c3
push esi
call fcn.0104309c
lea ecx, [ebp - 0xc]
mov edi, eax
call fcn.0108349d
test edi, edi
jne 0x108545f
and dword [ebp - 0xc], edi
mov dword [ebp - 4], 0x8007000e
jmp 0x10854b2
neg bl
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push edi
mov dword [ebp - 0xc], edi
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x108548f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov dword [ebp - 4], eax
jmp 0x10854ab
cmp dword [ebp - 0x10], esi
je 0x108549d
mov dword [ebp - 4], 0x8000ffff
jmp 0x10854b2
mov eax, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
xor edi, edi
cmp dword [ebp - 4], edi
jge 0x10854d9
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x10854d9
test byte [eax + 0x3c], 2
je 0x10854d9
push dword [ebp - 4]
push 0x1005680
push 0x32
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 0xc]
call fcn.0108349d
lea ecx, [ebp - 8]
call fcn.01081f49
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x108583e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 8], 0x80000001
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jne 0x108585f
mov dword [ebp - 0xc], esi
lea eax, [ebp - 4]
push eax
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01084c8d
mov edi, eax
cmp edi, esi
jl 0x10858a3
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 8], esi
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call fcn.01044c5f
mov edi, dword [ebp + 8]
cmp edi, esi
jge 0x10858c8
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x10858c8
test byte [eax + 0x3c], 2
je 0x10858c8
push edi
push 0x10056c0
push 0x24
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 8]
call fcn.01050f44
lea ecx, [ebp - 0xc]
call fcn.01045411
lea ecx, [ebp - 4]
call fcn.01045411
mov eax, edi
pop edi
pop esi
leave
ret 0x14
Function at 0x1086602
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push 0x1005c88
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x108665e
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x1005c70
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x108665e
cmp dword [ebp - 0xc], 4
jne 0x108665e
cmp dword [ebp - 0x10], edi
je 0x108665e
inc edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
mov dword [eax], edi
call fcn.01045411
xor eax, eax
pop edi
leave
ret 4

Function at 0x1086672
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1005d18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10866d5
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x1005cec
push eax
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10866d5
cmp dword [ebp - 8], 1
sete al
mov dword [edi], eax
lea ecx, [ebp - 4]
call fcn.01045411
xor eax, eax
pop edi
leave
ret 4

Function at 0x10866e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1005d18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1086747
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x1005d34
push eax
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1086747
cmp dword [ebp - 8], 1
sete al
mov dword [edi], eax
lea ecx, [ebp - 4]
call fcn.01045411
xor eax, eax
pop edi
leave
ret 4
Function at 0x1089b05
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 8], 0x80000001
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jne 0x1089b26
mov dword [ebp - 0xc], esi
lea eax, [ebp - 4]
push eax
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0104614f
mov edi, eax
cmp edi, esi
jl 0x1089b6b
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
push ecx
push 4
push esi
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
push eax
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call fcn.01044c5f
mov edi, dword [ebp + 8]
cmp edi, esi
jge 0x1089b90
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x1089b90
test byte [eax + 0x3c], 2
je 0x1089b90
push edi
push 0x10056c0
push 0x24
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 8]
call fcn.01050f44
lea ecx, [ebp - 0xc]
call fcn.01045411
lea ecx, [ebp - 4]
call fcn.01045411
mov eax, edi
pop edi
pop esi
leave
ret 0x14
Function at 0x10900a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1426ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
and word [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0x73
pop ecx
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
mov word [ebp - 0x34], 0x6d
mov word [ebp - 0x32], cx
mov word [ebp - 0x30], 0x66
mov word [ebp - 0x2e], 0x74
mov word [ebp - 0x2c], 0x3a
mov word [ebp - 0x2a], cx
mov word [ebp - 0x28], 0x70
mov word [ebp - 0x26], 0x70
mov word [ebp - 0x24], 0x2f
mov word [ebp - 0x22], 0x63
mov word [ebp - 0x20], 0x61
mov word [ebp - 0x1e], 0x63
mov word [ebp - 0x1c], 0x68
mov word [ebp - 0x1a], 0x65
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], 0x74
mov word [ebp - 0x14], 0x6f
mov word [ebp - 0x12], 0x72
mov word [ebp - 0x10], 0x65
mov word [ebp - 0xe], 0x2f
mov word [ebp - 0xc], 0x25
mov word [ebp - 0xa], cx
call fcn.01046b10
mov ebx, eax
add esp, 0xc
test ebx, ebx
jl 0x1090167
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x38], 0
mov dword [esi], eax
jmp 0x109018c
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x109018c
test byte [eax + 0x3c], 2
je 0x109018c
push ebx
push 0x1005418
push 0x26
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 0x38]
call fcn.010454cc
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01043035
leave
ret 8
Function at 0x109043a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1426ed0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x73
pop eax
mov esi, ecx
cmp dword [esi + 0x4c], ebx
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x44], 0x6d
mov word [ebp - 0x42], ax
mov word [ebp - 0x40], 0x66
mov word [ebp - 0x3e], 0x74
mov word [ebp - 0x3c], 0x3a
mov word [ebp - 0x3a], ax
mov word [ebp - 0x38], 0x70
mov word [ebp - 0x36], 0x70
mov word [ebp - 0x34], 0x2f
mov word [ebp - 0x32], 0x63
mov word [ebp - 0x30], 0x61
mov word [ebp - 0x2e], 0x63
mov word [ebp - 0x2c], 0x68
mov word [ebp - 0x2a], 0x65
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], 0x74
mov word [ebp - 0x24], 0x6f
mov word [ebp - 0x22], 0x72
mov word [ebp - 0x20], 0x65
mov word [ebp - 0x1e], 0x2f
mov word [ebp - 0x1c], 0x25
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], bx
mov word [ebp - 0x14], 0x48
mov word [ebp - 0x12], 0x6d
mov word [ebp - 0x10], 0x61
mov word [ebp - 0xe], 0x63
mov word [ebp - 0xc], 0x4b
mov word [ebp - 0xa], 0x65
mov word [ebp - 8], 0x79
mov word [ebp - 6], bx
mov dword [ebp - 0x88], ebx
jne 0x109051f
xor edi, edi
jmp 0x1090634
push 0x40
lea eax, [ebp - 0x84]
push eax
call fcn.01082a66
mov edi, eax
cmp edi, ebx
jl 0x109060f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.01046b10
mov edi, eax
add esp, 0xc
cmp edi, ebx
jl 0x109060f
mov ecx, dword [ebp - 0x8c]
mov eax, dword [0x14285ec]
push 1
push ebx
push 0x40
lea edi, [ebp - 0x84]
push edi
push ecx
lea ecx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x94], 0x10055d8
mov dword [ebp - 0x90], ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x109060f
mov eax, dword [0x14285e8]
mov ecx, dword [eax]
lea edx, [ebp - 0x88]
push edx
push 0x40
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x109060f
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
push 0x40
lea edx, [ebp - 0x84]
push edx
push ebx
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x109060f
push 0x40
pop ecx
lea eax, [ebp - 0x84]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10905d2
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.01082ff1
mov eax, dword [ebp - 0x88]
push eax
mov ecx, edi
mov dword [ebp - 0x88], ebx
call fcn.01083cfe
mov ecx, esi
mov dword [esi + 0x4c], ebx
call fcn.01084002
mov edi, eax
cmp edi, ebx
jl 0x109060f
mov dword [esi + 0x50], 1
jmp 0x1090634
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x1090634
test byte [eax + 0x3c], 2
je 0x1090634
push edi
push 0x1005418
push 0x19
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
lea ecx, [ebp - 0x88]
call fcn.01082ff1
lea ecx, [ebp - 0x8c]
call fcn.010454cc
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01043035
leave
ret
Function at 0x10924ef
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [0x14285fc]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push esi
mov esi, dword [0x14285f8]
add byte [esi - 0x75], dl
xor eax, 0x14285f8
push edi
add ecx, 4
call fcn.0106b704
call fcn.011f8030
add eax, 0x54c02191
add dword [ecx], 0x80418158
push cs
add byte [eax], al
adc al, ch
sub bl, dl
add eax, dword [eax]
call 0xf9c9a793
inc ecx
rcl byte [edi - 0x48b00000], 0x67
sub eax, esi
call fcn.010cff6b
rol byte [edx - 0x7e], 0xc0
and dword fs:[ecx - 0x70], eax
inc byte [ecx]
add al, dh
je 0x1092516
sub dword [eax + 0x1619d1e8], edx
add ah, bl
cmovno esp, dword [eax - 0x28]
cmovno esi, dword [eax - 0x71]
jnp 0x10925a0
mov al, 0x21
add byte [eax], al
adc al, ch
mov dword [esi - 0x486ffd3], 0x7e4702a
inc ecx
mov al, byte [0x4107e0]
or byte [eax], al
add al, al
mov ecx, dword [esi]
lea edx, [ebp - 4]
push edx
push 0x100262c
push dword [ebx + 8]
push eax
push esi
call dword [ecx + 0x14]
call fcn.010d1973
push ss
add byte [eax], al
xor byte [eax - 0x73cfbdb5], dl
dec ebx
inc edx
mov al, 0xf9
or byte cs:[eax], dl
call fcn.01042486
movsb byte es:[edi], byte [esi]
fld qword [ecx + 0x60]
or al, 0x53
push fs
pop ss
add byte [eax], al
invalid

Function at 0x10a35ac
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 0x24], 0
push esi
mov esi, dword [ebp + 8]
push edi
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
xor edi, edi
test esi, esi
jne 0x10a35ff
mov edi, 0x80070057
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x10a35f7
test byte [eax + 0x3c], 2
je 0x10a35f7
push edi
push 0x1006d30
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
mov eax, edi
pop edi
pop esi
leave
ret 4
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
test eax, eax
je 0x10a362b
cmp eax, 6
je 0x10a3626
cmp eax, 9
je 0x10a3622
mov edi, 0x80004005
jmp 0x10a35d2
push 2
jmp 0x10a3628
push 3
pop eax
jmp 0x10a362e
xor eax, eax
inc eax
mov dword [esi], eax
jmp 0x10a35f7
Function at 0x10a3bec
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1426ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x10
pop ecx
mov esi, 0x1006f10
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
test eax, eax
movsw word es:[edi], word [esi]
jne 0x10a3c20
mov ebx, 0x80070057
jmp 0x10a3c50
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10a3c3e
cmp dword [ebp + 8], eax
jae 0x10a3c75
mov ebx, 0x8007007a
jmp 0x10a3c50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0104499a
mov ebx, eax
test ebx, ebx
jge 0x10a3c75
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x10a3c75
test byte [eax + 0x3c], 2
je 0x10a3c75
push ebx
push 0x1006d30
push 0xb
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01043035
leave
ret 8

Function at 0x10a4d65
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1426ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
test ecx, ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
jne 0x10a4f8e
call fcn.01042486
dec eax
and al, byte [ecx - 0x30]
in al, 0x9c
sub dword [eax - 0x2fffffb3], edx
inc esp
and al, byte [ecx + 0x30]
mov ebx, 0x80070057
call fcn.010d1973
push esp
add al, 0
xor ah, bl
dec ebp
inc edx
jo 0x10a4d8c
dec ebp
inc edx
and dh, ah
std
pop es
push eax
call fcn.010d1973
ja 0x10a4dc2
add byte [eax], al
sub byte [edx], dh
inc edx
add byte [edx + esi], ah
inc edx
pushal
rcl byte [eax + 9]
mov al, byte [0x2cf64ae8]
add byte [ebp + 0x69], al
sbb al, 0x60
dec eax
cli
inc ecx
pushal
push esi
add byte [eax], al
adc byte [edx + edi*8 + 0x41], al
add byte [ecx + 0x1426c54], ah
cmp eax, 0x1426c54
je 0x10a4e8c
call fcn.011f8030
invalid