joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100567e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x10056813
push 0x2e
push edi
call fcn.100804c0
add esp, 8
test eax, eax
je 0x10056811
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x10058f10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x101d9020]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10058f3d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x10058f84
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x10058f8a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10058feb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x10058fb0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x10059017
mov eax, dword [esi + 4]
push 1
push 0x10180c5e
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10180c5f
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10058ff0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10059140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170683
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101d9154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x101e5400
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x101e5400
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x10174781
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1005cca0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1005f8c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x101e92e0], ecx
inc eax
cmp eax, 0x100
jb 0x1005f8c2
cmp eax, 0x800
jae 0x1005f993
nop
mov edx, dword [eax*4 + 0x101e8ee0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101e92e0]
mov dword [eax*4 + 0x101e92e0], edx
inc eax
cmp eax, 0x800
jb 0x1005f970
mov dword [0x101e540c], 0x10060730
call fcn.10060560
mov ecx, dword [0x101e540c]
test eax, eax
mov edx, 0x100607d0
cmove ecx, edx
mov dword [0x101e540c], ecx
ret
Function at 0x10060ab0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x10060ad0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x10060b02
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x10060aff
inc esi
cmp esi, edx
jb 0x10060af0
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x10060c2c
cmp ecx, 3
jbe 0x10060b42
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x10060b80
cmp cl, 0xff
je 0x10060b80
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x10060ae4
dec ecx
shl eax, cl
and eax, 7
je 0x10060b1a
movzx ecx, byte [eax + 0x10181508]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x10181500], 0
mov cl, byte [edx + 4]
je 0x10060b6a
test cl, cl
je 0x10060b6a
cmp cl, 0xff
jne 0x10060b1a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x10060ae4
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x10060bae
lea edx, [edi + ebx]
add edx, esi
jmp 0x10060bb4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x10060bf2
movzx edi, byte [eax + 0x10181508]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x10060bde
cmp cl, 0xff
jne 0x10060bf2
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x10060ba1
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x10060ae4
pop edi
pop esi
cmp ecx, 3
jbe 0x10060c41
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10066bec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x10066ce0
call fcn.10064fa6
test al, al
je 0x10066c42
pop ecx
pop esi
push edx
push ebx
push edx
pop ebp
push ecx
push eax
pop ebp
pop edx
push eax
push ebx
pop ebx
push esi
push ecx
push edx
pop edx
push ecx
push eax
push ecx
pop ecx
pop edx
push ebp
push eax
pop esi
mov esi, dword [ebp - 8]
call fcn.10064e92
test al, al
je 0x10066c65
push esp
push esp
push ecx
pop edi
push ebp
push edx
pop edx
push esp
push edi
push esp
pop ebp
pop ebx
pop ecx
pop edx
pop ebp
push eax
push edx
push esp
pop ecx
push esp
pop esp
push ecx
push esi
push esi
push esi
push ebx
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push 0
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10064cf4
test al, al
je 0x10066caa
pop eax
push edx
push ebx
pop edx
pop ebp
pop ebx
push edx
pop esp
pop eax
push ecx
push edx
pop ecx
push esp
push ebp
push eax
push eax
pop ebp
push ebp
push eax
push edi
push ebp
push edi
push ebx
pop edx
push eax
push edx
call fcn.10064c6a
test al, al
je 0x10066cd0
pop esp
push esi
pop ebp
pop eax
push eax
push ebx
pop ebp
pop ebx
pop esp
pop esi
pop edx
push esi
pop ebp
push edx
pop ebx
pop edi
pop ebx
push ebx
push eax
pop edx
push eax
push eax
pop esp
pop esi
push edx
pop ecx
mov edi, dword [ebp + 0x10]
cmp dword [ebp - 8], 0
je 0x10066ce0
cmp edi, dword [ebp - 4]
jne 0x10066ce0
xor eax, eax
inc eax
jmp 0x10066ce2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10069b0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10069b8b
push ebx
push edi
xor edi, edi
push str.958a208fcb7062e5cb0b4133fd0e8da3
mov dword [ebp + 8], edi
call fcn.10093860
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x10069b48
mov cl, byte [edi + str.958a208fcb7062e5cb0b4133fd0e8da3]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x10069b32
cmp ebx, 1
jle 0x10069b7f
cmp byte [esi], 0x37
jne 0x10069b7f
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x10069b5d
cmp al, 0x5a
jne 0x10069b7f
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.1005ced0
test eax, eax
je 0x10069b7f
mov edx, dword [ebp + 8]
test edx, edx
je 0x10069b7f
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x10069b89
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10069e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10080190
push str.ConchPicture
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.10006d80
add esp, 0x18
call fcn.1006492e
test al, al
je 0x10069e93
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret
Function at 0x1006aeb7
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.10093843
mov dword [ebp - 0xc], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10062f2d
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.10093821
add esp, 0x10
call fcn.10064be0
test al, al
je 0x1006af11
push eax
push esp
push edx
push edi
pop edx
pop esp
pop edi
push eax
push ebx
push esp
pop esi
pop ecx
pop ebx
push esp
push edi
push ebp
push edx
pop ebp
push esp
push ecx
pop edi
push edi
pop ecx
push ecx
pop ebx
call fcn.10064c6a
test al, al
je 0x1006af30
pop eax
pop edx
push esi
pop ebp
pop ebp
pop ebp
push eax
pop ebp
push edi
pop eax
pop ecx
push edx
push ebp
pop esp
pop eax
pop ecx
pop ebp
pop ecx
pop ebp
pop esi
pop ebp
push eax
call fcn.10064e92
test al, al
je 0x1006af4c
push esi
push ecx
push esi
push edi
push esp
pop edx
push esi
push ebp
pop ecx
pop eax
pop ebx
pop edi
push ebx
push esi
push esp
pop esi
pop edx
push esp
pop edx
mov eax, dword [ebp - 0xc]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 8], ebx
test eax, eax
js 0x1006aff4
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x1006afe5
call fcn.10064e08
test al, al
je 0x1006af90
push ecx
push esp
push esi
push ebx
push edx
pop esi
pop ebx
pop esp
pop edi
pop eax
pop esi
pop edx
pop esp
pop esi
pop esp
pop ebp
push ebx
pop edi
pop edx
pop ebx
pop esi
push eax
pop ecx
push ebx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
call fcn.10064e08
test al, al
je 0x1006afbd
push edi
pop ecx
push ecx
pop esi
push ebx
pop ebp
push edx
pop esp
pop esi
push edx
pop ebx
push ecx
push esp
pop ebp
pop edi
pop edi
pop ebp
pop edi
pop esp
pop ecx
push edx
pop edx
push ecx
push esp
pop eax
pop ebp
push esp
push eax
push esp
pop edi
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
movzx edi, word [esi + ebx*2]
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006afde
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1006b006
mov eax, dword [ebp - 0xc]
mov word [esi + ebx*2], di
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, eax
jle 0x1006af62
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.10062f36
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x1006aff4
Function at 0x1006b00a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.1006bd51
lea eax, [ebp - 0x20c]
push eax
call fcn.10093843
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.10064be0
test al, al
je 0x1006b078
push esp
pop eax
pop edi
push ebx
push ecx
pop esi
pop eax
pop edx
pop edx
push esp
pop eax
pop esp
pop ebx
push edx
pop ecx
pop edi
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x1006b1a2
mov esi, 0x101734d4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10093dd2
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10093dd2
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10093dd2
add esp, 0x18
call fcn.10064acc
test al, al
je 0x1006b0d4
pop edx
push ebx
push edx
push ecx
push esi
push ebp
pop esi
push edx
push esp
push ecx
pop esi
pop eax
pop ebx
push eax
pop ebp
push edx
pop edx
push eax
pop ebp
push ebx
push ecx
pop ebx
push ebx
call fcn.10064973
test al, al
je 0x1006b0f3
pop ebp
pop esp
push edi
push eax
push ebp
push edx
pop edi
push edx
pop ebp
push esi
push ecx
pop edi
pop esp
pop edi
pop eax
pop esi
pop ebx
pop esi
pop esi
pop esi
push edx
pop esi
call fcn.10064c6a
test al, al
je 0x1006b11c
push edi
pop edx
push edi
pop esi
pop ecx
push esi
pop esi
push eax
push ecx
pop esp
pop ecx
pop eax
pop ebp
pop ecx
push ebx
pop ebp
pop ecx
push eax
pop edi
push ebp
push ecx
pop ecx
push ebx
push esi
pop esi
push esi
push ecx
pop esi
pop edi
pop eax
pop esi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006b13a
lea eax, [ebp - 0x20c]
push eax
call fcn.1006aeb7
pop ecx
call fcn.10064cf4
test al, al
je 0x1006b154
pop ebx
pop esi
pop esi
push esi
pop eax
push esi
push eax
pop edx
push ecx
pop ecx
pop ebx
push edi
push ebx
pop ebx
push esi
pop esp
pop ebp
call fcn.10065078
test al, al
je 0x1006b174
pop edi
pop ecx
pop ebx
pop edx
pop esi
pop ebp
push esi
push edi
pop edi
push edi
pop edx
push ebx
push esi
pop eax
pop ebp
push ebp
push edi
push ebx
pop esi
pop edi
push ecx
push eax
pop ebx
cmp word [ebp - 0x20c], 0
jne 0x1006b182
xor eax, eax
jmp 0x1006b18f
lea eax, [ebp - 0x20c]
push eax
call fcn.10093843
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10006830
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret
Function at 0x1006b329
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101e5a7c], 0
push ebx
push esi
push edi
je 0x1006b38b
call fcn.10064cf4
test al, al
je 0x1006b362
pop ebx
pop esi
pop esi
push esi
pop eax
push esi
push eax
pop edx
push ecx
pop ecx
pop ebx
push edi
push ebx
pop ebx
push esi
pop esp
pop ebp
call fcn.10065078
test al, al
je 0x1006b4d0
pop edi
pop ecx
pop ebx
pop edx
pop esi
pop ebp
push esi
push edi
pop edi
push edi
pop edx
push ebx
push esi
pop eax
pop ebp
push ebp
push edi
push ebx
pop esi
pop edi
push ecx
push eax
pop ebx
jmp 0x1006b4d0
call fcn.10064d39
test al, al
je 0x1006b3b2
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.10064f61
test al, al
je 0x1006b3cf
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.10064ed7
test al, al
je 0x1006b3f7
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1006b467
lea eax, [ebp - 0x20c]
push eax
call fcn.1008332e
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.100823bb
pop ecx
pop ecx
test eax, eax
jne 0x1006b460
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.100823bb
pop ecx
pop ecx
test eax, eax
je 0x1006b467
mov byte [0x101e5a7c], 1
call fcn.10064a87
test al, al
je 0x1006b48e
push ebp
pop ebp
pop edi
push edx
pop ebx
push esi
pop ecx
pop edi
pop edi
pop esp
pop eax
push ecx
push ecx
pop esi
push edi
push edx
push esi
pop esp
push eax
pop ebp
push edi
push esi
pop ecx
pop ebp
pop eax
push esp
pop ecx
pop edi
pop eax
pop esp
call fcn.100649b8
test al, al
je 0x1006b4ab
pop esi
pop ebx
pop ecx
pop edx
pop edx
push eax
pop ebp
pop ebp
push esi
push ebp
push ebx
pop edx
push edx
push esp
pop edx
push edi
pop ebx
pop edx
pop ecx
push ecx
call fcn.10065033
test al, al
je 0x1006b4d0
push eax
pop edi
pop edi
pop ecx
push edx
pop edx
push eax
push esi
pop esi
pop eax
push esi
push edx
push edi
push ebp
pop esi
push esi
pop ecx
push ebp
pop esp
push edx
push ecx
pop edi
pop esp
pop edi
pop ebp
push ebp
push ecx
push esi
mov ecx, dword [ebp - 4]
mov al, byte [0x101e5a7c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret
Function at 0x1006c793
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10181ea4
call fcn.10093843
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1008c404
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.10080190
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.10080190
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.10080190
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1006c891
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.1000eca0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.1000be10
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret 4
Function at 0x10073b98
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x10171ee8
call fcn.1016d0d6
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.10077af1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.10077b25
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x10073bd8
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10073c38
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10073c13
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10073c38
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.10077b04
call fcn.1016d0b0
ret 0xc
Function at 0x100740c0
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x10171f83
call fcn.1016d10a
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x100741b7
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x1007413c
lea eax, [ebp - 0x218]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10006830
and dword [ebp - 4], 0
push 0x101734d4
call fcn.10093843
pop ecx
push eax
push 0x101734d4
lea ecx, [ebp - 0x230]
call fcn.100065e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.10073d23
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x100741a8
call fcn.10006390
mov eax, edi
jmp 0x10074269
or dword [ebp - 4], 0xffffffff
call fcn.10006390
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x10074267
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x100741fe
lea eax, [ebp - 0x218]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.10006830
mov esi, 0x101734d4
mov dword [ebp - 4], 1
push esi
call fcn.10093843
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.100065e0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.10073d23
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.10006390
test esi, esi
je 0x10074267
mov eax, esi
jmp 0x10074269
xor eax, eax
call fcn.1016d0c5
ret 4