joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100246a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.100ab600
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
jmp 0x100246cf
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x100246f6
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor edx, ecx
movzx eax, byte [ebp - 1]
or eax, edx
mov byte [ebp - 1], al
jmp 0x100246c6
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x10031900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.100ab600
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10031a00
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100319ab
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.1001a450
add esp, 0x14
push 0x100fd170
mov edx, dword [ebp + 0xc]
push edx
push 0x100fd16c
mov eax, dword [ebp + 8]
push eax
push str.fopen_
push 5
call fcn.1001af40
add esp, 0x18
call fcn.100aeac0
cmp dword [eax], 2
jne 0x1003198f
push 0xb2
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.1001a450
add esp, 0x14
jmp 0x100319a7
push 0xb4
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.1001a450
add esp, 0x14
xor eax, eax
jmp 0x100319f7
call fcn.10031b80
push eax
call fcn.1001b280
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100319d2
mov ecx, dword [ebp - 4]
push ecx
call fcn.100a8070
add esp, 4
xor eax, eax
jmp 0x100319f7
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.1001b4b0
add esp, 8
mov eax, dword [ebp - 4]
push eax
push 1
push 0x6a
mov ecx, dword [ebp - 8]
push ecx
call fcn.1001b9a0
add esp, 0x10
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10031d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.100ab600
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x10031dc4
cmp dword [ebp + 0xc], 0
je 0x10031dc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
and edx, 0
je 0x10031d9c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.100a6ee0
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x10031db8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100a6ee0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10031dc4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10034c40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.100ab600
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x10034c65
mov ecx, dword [ebp - 4]
sub ecx, 3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x10034dc5
cmp dword [ebp - 4], 3
jl 0x10034d10
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
shl eax, 0x10
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 1]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x1010bfb8]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0xc
and ecx, 0x3f
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x1010bfb8]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0xc]
shr edx, 6
and edx, 0x3f
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x1010bfb8]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x1010bfb8]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x10034dae
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
shl edx, 0x10
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 2
jne 0x10034d32
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 1]
shl ecx, 8
or ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x1010bfb8]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
and eax, 0x3f
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x1010bfb8]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 4], 1
jne 0x10034d7b
mov dword [ebp - 0x10], 0x3d
jmp 0x10034d8e
mov ecx, dword [ebp - 0xc]
shr ecx, 6
and ecx, 0x3f
movzx edx, byte [ecx + 0x1010bfb8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
mov byte [eax], 0x3d
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, 3
mov dword [ebp + 0xc], eax
jmp 0x10034c5c
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10044030
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.100ab600
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x14]
jne 0x10044068
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x6a
je 0x1004408b
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x6b
je 0x1004408b
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1001a450
add esp, 0x14
or eax, 0xffffffff
jmp 0x1004419d
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp ecx, 0x6b
jne 0x10044149
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x100440be
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x10044115
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0xd]
cmp eax, 0xba
jne 0x100440e4
jmp 0x10044115
movzx ecx, byte [ebp - 0xd]
cmp ecx, 0xbb
je 0x10044113
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1001a450
add esp, 0x14
or eax, 0xffffffff
jmp 0x1004419d
jmp 0x100440b5
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x10044147
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1001a450
add esp, 0x14
or eax, 0xffffffff
jmp 0x1004419d
jmp 0x10044152
mov eax, dword [ebp + 0x14]
sub eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x10044186
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1001a450
add esp, 0x14
or eax, 0xffffffff
jmp 0x1004419d
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100ab630
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10051320
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.100ab9a0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc1059ed8
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xf70e5939
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x64f98fa7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret
Function at 0x100513a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.100ab9a0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x6a09e667
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3c6ef372
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xa54ff53a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x9b05688c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x1f83d9ab
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret

Function at 0x10051960
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x3070dd17
mov dword [edx + 0x14], 0x9159015a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x68581511
mov dword [edx + 0x2c], 0x8eb44a87
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x10051a30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xfe94f82b
mov dword [edx + 0x14], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x2b3e6c1f
mov dword [edx + 0x2c], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x1005f450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.100ab600
mov dword [ebp - 4], 0
jmp 0x1005f46f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x1005f4bd
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
shl eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp - 4], edx
jge 0x1005f4bb
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
and ecx, 0x80
je 0x1005f4bb
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
or eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x1005f466
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
and eax, 0x80
je 0x1005f4f2
mov ecx, dword [ebp + 0x10]
sub ecx, 0x10
neg ecx
sbb ecx, ecx
and ecx, 0xffffff94
add ecx, 0x87
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0x10]
movzx eax, byte [edx - 1]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x10]
mov byte [ecx - 1], al
mov esp, ebp
pop ebp
ret
Function at 0x100812c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101401a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov esi, ecx
call fcn.1007f160
mov eax, dword [esi + 0xd4]
sub eax, 0
mov dword [ebp - 4], 0
je 0x1008135a
dec eax
je 0x10081349
dec eax
jne 0x10081365
mov eax, dword [ebp + 8]
or esi, 0xffffffff
sub eax, 2
je 0x10081331
sub eax, 2
je 0x1008132a
sub eax, 4
jne 0x10081333
lea esi, [eax + 2]
jmp 0x10081333
mov esi, 1
jmp 0x10081333
xor esi, esi
lea ecx, [ebp - 0x30]
call fcn.10082ce0
push eax
push 0
push esi
call fcn.1008f990
add esp, 0xc
jmp 0x10081365
lea ecx, [ebp - 0x30]
call fcn.10082ce0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10081365
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.100811a0
cmp dword [ebp - 0x18], 8
jb 0x10081377
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100a1c40
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], eax
je 0x100813d8
push 3
lea ecx, [ebp - 0x34]
call fcn.1007c350
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x100813c6
lea ebx, [ebx]
mov ecx, dword [eax + 4]
mov dword [ecx], 0
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
test ecx, ecx
jne 0x100813b0
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
mov dword [edx + 4], 0
call fcn.1007c390
mov eax, dword [ebp - 0x30]
push eax
call fcn.100a1c40
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a1c30
mov esp, ebp
pop ebp
ret 8
Function at 0x1008b640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x101401a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov dword [ebp - 0x64c], 0
mov word [ebp - 0x628], ax
call fcn.100ab9a0
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp esi, 0x3c
je 0x1008b6f2
cmp esi, 0x3d
je 0x1008b6f2
or esi, dword [ebp + 0x10]
lea edx, [ebp - 0x628]
push edx
push 0
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1008b6e7
cmp eax, 0x80070057
jne 0x1008b6cb
push 0x32
jmp 0x1008b6d0
push 0x490
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x10144830
mov ecx, edi
call fcn.1007f0a0
jmp 0x1008b7e7
lea eax, [ebp - 0x628]
jmp 0x1008b7df
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.100ab9a0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1008b6d6
cmp esi, 0x3c
jne 0x1008b737
lea ecx, [ebp - 0x420]
push ecx
jmp 0x1008b7e0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.100ab9a0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x1011a4a8
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1008b6d6
push 0x103
lea eax, [ebp - 0x218]
push 0x1011a020
push eax
call fcn.100b68f0
add esp, 0xc
cmp dword [ebp + 0x10], 0x8000
jne 0x1008b7d9
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x648]
call fcn.10005438
lea edx, [ebp - 0x648]
push edx
mov dword [ebp - 4], 0
call fcn.1008f330
add esp, 4
lea ecx, [ebp - 0x648]
mov dword [ebp - 4], 0xffffffff
call fcn.100030e5
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.10005438
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a1c30
mov esp, ebp
pop ebp
ret
Function at 0x1008d6d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.100b6970
add esp, 4
test eax, eax
jne 0x1008d6e9
mov al, 1
pop esi
pop ebp
ret
call fcn.100aeac0
mov eax, dword [eax]
cmp eax, 2
je 0x1008d6e4
cmp eax, 0xd
jne 0x1008d714
cmp byte [ebp + 0xc], 0
je 0x1008d714
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
dec eax
neg eax
sbb eax, eax
inc eax
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x1008f330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.100842f0
test al, al
jne 0x1008f36f
cmp dword [esi + 0x18], 8
jb 0x1008f350
mov eax, dword [esi + 4]
jmp 0x1008f353
lea eax, [esi + 4]
push 0
push eax
call fcn.100b69c0
add esp, 8
cmp eax, 0xffffffff
setne al
test al, al
je 0x1008f36f
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xc
jb 0x1008f38f
mov esi, dword [esi + 4]
jmp 0x1008f392
add esi, 4
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
dec eax
neg eax
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10090de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea67b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x101401a0]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], 0
call fcn.1008eaa0
test edi, edi
je 0x10090ed6
cmp word [edi], 0
je 0x10090ed6
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
mov dword [ebp - 0x244], 0x208
mov dword [ebp - 0x240], 1
call fcn.100ab9a0
add esp, 0xc
lea edx, [ebp - 0x244]
push edx
mov edx, dword [esi + 0x2c]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 4], eax
test eax, eax
je 0x10090ecd
push 2
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 8]
push eax
mov dword [ebp - 4], 0
call fcn.1000304d
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call fcn.100030e5
jmp 0x10090ee2
lea ecx, [ebp - 0x218]
push ecx
jmp 0x10090eec
push 0x1010169c
mov ecx, esi
call fcn.1008f1b0
test ebx, ebx
jne 0x10090eeb
mov ebx, 0x1012b904
push ebx
mov esi, dword [ebp - 0x23c]
mov ecx, esi
call fcn.10005438
mov eax, esi
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.100a1c30
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10090f20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101401a0]
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, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
call fcn.1008eaa0
test edi, edi
je 0x10090fd9
cmp word [edi], 0
je 0x10090fd9
test ebx, ebx
jne 0x10090f6d
push str.data
jmp 0x10090fde
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10090f72
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi + 0x2c]
push ebx
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esi + 4], eax
test eax, eax
je 0x10090fcf
push 2
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 8]
push eax
mov dword [ebp - 4], 0
call fcn.1000304d
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.100030e5
xor eax, eax
cmp dword [esi + 4], eax
sete al
jmp 0x10090fe7
push 0x1010169c
mov ecx, esi
call fcn.1008f1b0
xor al, al
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.100a1c30
mov esp, ebp
pop ebp
ret 8

Function at 0x100a1c30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101401a0]
jne 0x100a1c3a
repz ret
jmp fcn.100b7ba0
Function at 0x100a4260
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100a4298
push str._path___NULL_
push 0
push 0x50
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push 2
call fcn.100a25a0
add esp, 0x14
cmp eax, 1
jne 0x100a4298
int3
cmp dword [ebp - 8], 0
jne 0x100a42d9
call fcn.100aeaf0
mov dword [eax], 0
call fcn.100aeac0
mov dword [eax], 0x16
push 0
push 0x50
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push str._access_s
push str._path___NULL_
call fcn.100a2a90
add esp, 0x14
mov eax, 0x16
jmp 0x100a43b1
mov edx, dword [ebp + 0xc]
and edx, 0xfffffff9
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0xc], edx
jne 0x100a4309
push str.__amode___6____0_
push 0
push 0x51
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push 2
call fcn.100a25a0
add esp, 0x14
cmp eax, 1
jne 0x100a4309
int3
cmp dword [ebp - 0xc], 0
jne 0x100a4347
call fcn.100aeaf0
mov dword [eax], 0
call fcn.100aeac0
mov dword [eax], 0x16
push 0
push 0x51
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push str._access_s
push str.__amode___6____0_
call fcn.100a2a90
add esp, 0x14
mov eax, 0x16
jmp 0x100a43b1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100a4372
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100ae990
add esp, 4
call fcn.100aeac0
mov eax, dword [eax]
jmp 0x100a43b1
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x100a437e
xor eax, eax
jmp 0x100a43b1
mov eax, dword [ebp - 4]
and eax, 1
je 0x100a43af
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x100a43af
call fcn.100aeaf0
mov dword [eax], 5
call fcn.100aeac0
mov dword [eax], 0xd
call fcn.100aeac0
mov eax, dword [eax]
jmp 0x100a43b1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100a43c0
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100a43e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100a43e8
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x100a43ff
mov ecx, dword [ebp - 4]
push ecx
call fcn.100ae990
add esp, 4
or eax, 0xffffffff
jmp 0x100a4401
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100a4410
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x100a442f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100a4436
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x100a444d
mov ecx, dword [ebp - 4]
push ecx
call fcn.100ae990
add esp, 4
or eax, 0xffffffff
jmp 0x100a444f
xor eax, eax
mov esp, ebp
pop ebp
ret