joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x100272b8
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10025fd0
mov edi, dword [ebx + 4]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x10027290
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jb 0x100271ab
mov esi, dword [edx]
mov dword [ebp - 4], esi
mov edx, dword [edx + 0x10]
mov ebx, 0x811c9dc5
add edx, edx
mov dword [ebp - 0x10], edx
mov edx, 0
je 0x100271dc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx esi, byte [edx + eax]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, ecx
jb 0x100271c5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
and esi, ebx
lea ebx, [edx + esi*8]
mov dword [ebp - 4], ebx
cmp dword [ebx], ecx
jne 0x100271fb
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x10027283
mov esi, dword [ebx + 4]
lea ecx, [edi + 8]
lea edx, [esi + 8]
call fcn.1001f5b0
test al, al
je 0x1002723c
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp ecx, edi
je 0x10027237
mov esi, dword [edi + 4]
mov ebx, dword [ebp - 0x10]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov dword [ebx + 4], edi
jmp 0x10027280
mov eax, dword [ebp - 4]
mov ebx, esi
cmp dword [eax], esi
je 0x10027260
mov esi, dword [esi + 4]
lea ecx, [edi + 8]
mov ebx, esi
lea edx, [ebx + 8]
call fcn.1001f5b0
test al, al
jne 0x10027299
mov eax, dword [ebp - 4]
cmp dword [eax], esi
jne 0x10027245
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp eax, ecx
jne 0x10027195
nop dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x10027280
push str.invalid_hash_bucket_count
call fcn.10046581
int3
Function at 0x1002e8c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push esi
push edi
test eax, eax
je 0x1002eaac
test edx, edx
je 0x1002eaac
cmp dword [ebp + 0xc], 0x7fffffff
ja 0x1002eaac
jb 0x1002e8fa
cmp dword [ebp + 8], 0xffffffff
ja 0x1002eaac
cmp dword [eax], 0
mov ebx, dword [ebp + 0x14]
jne 0x1002e91b
push ebx
mov edx, 0x100
call fcn.1002e800
add esp, 4
test al, al
je 0x1002eac0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
xor esi, esi
mov dl, byte [edx]
mov edi, 0x1505
test dl, dl
je 0x1002e953
mov ebx, dword [ebp - 0xc]
nop
mov eax, edi
lea ebx, [ebx + 1]
mov ecx, esi
shld esi, edi, 5
shl edi, 5
add edi, eax
movzx eax, dl
cdq
adc esi, ecx
add edi, eax
adc esi, edx
mov dl, byte [ebx]
test dl, dl
jne 0x1002e930
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, edi
div dword [ecx]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1002e9b0
nop dword [eax]
cmp dword [esi + 0x1c], edi
jne 0x1002e9a9
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002e9a0
test dl, dl
je 0x1002e99c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002e9a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002e980
xor eax, eax
jmp 0x1002e9a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002e9da
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x1002e970
push 0x20
call fcn.100695b1
mov esi, eax
add esp, 4
test esi, esi
jne 0x1002ea12
test ebx, ebx
je 0x1002eac0
mov dword [ebx + 4], eax
xor al, al
mov dword [ebx], 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
and eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x1002e9f4
mov eax, dword [esi + 0x10]
and eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x1002ea91
test ebx, ebx
je 0x1002eac0
mov dword [ebx], 0xa
xor al, al
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edx*4]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x10]
mov dword [eax + edx*4], esi
mov dword [esi + 0x1c], edi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
add dword [ecx + 8], 1
mov edi, dword [ecx]
adc dword [ecx + 0xc], 0
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
call fcn.1005c4e0
movd xmm1, edi
mov eax, edi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x1009b740]
mulsd xmm1, qword [0x1009b720]
comisd xmm0, xmm1
jbe 0x1002ea91
cmp edi, 0x80000000
jae 0x1002ea91
mov ecx, dword [ebp - 8]
lea edx, [edi + edi]
push ebx
call fcn.1002e800
add esp, 4
test al, al
je 0x1002eac0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov al, 1
mov dword [esi + 8], ecx
mov dword [esi + 0x10], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1002eac0
mov dword [eax], 0x12
mov dword [eax + 4], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100349b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae edx, edi
test eax, eax
js 0x100349fa
lea ebx, [ebp + 0xc]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x100349d8
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10035380
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1003538b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100353a0
Function at 0x10035b40
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
lea edx, [ebp - 0x50]
push edi
mov edi, ecx
call fcn.10034f50
test eax, eax
je 0x10035b8b
add esi, 0x18
je 0x10035c12
mov eax, dword [edi + 0xc]
mov dword [esi], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], ecx
call fcn.1006b97f
add esp, 4
test eax, eax
jne 0x10035bab
xor ebx, ebx
jmp 0x10035bd2
cmp dword [eax + 0x14], 0x50
jge 0x10035bb8
mov dword [eax + 0x14], 0x50
mov cx, word [eax + 8]
shl cx, 6
add cx, word [eax + 4]
mov eax, dword [eax]
shl cx, 5
sar eax, 1
add cx, ax
movzx ebx, cx
push 0xc
call fcn.100695b1
mov edi, eax
add esp, 4
test edi, edi
je 0x10035bf9
push 0x18
call fcn.100695b1
add esp, 4
test eax, eax
jne 0x10035c26
push edi
call fcn.10068cb5
add esp, 4
mov dword [esi + 0x10], 0
add esi, 0x18
je 0x10035c12
mov dword [esi], 0xe
mov dword [esi + 4], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
push 2
push 0xb
push edi
push 0
mov word [eax], 0x101
mov dword [eax + 4], edi
mov dword [eax + 8], 0xc
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jns 0x10035cae
lea eax, [esi + 0x18]
test eax, eax
je 0x10035c72
mov dword [eax], 0x14
mov dword [eax + 4], 0
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10035c93
cmp byte [edi + 1], 0
je 0x10035c8a
push dword [edi + 4]
call fcn.10068cb5
add esp, 4
push edi
call fcn.10068cb5
add esp, 4
mov dword [esi + 0x10], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
push 0
push 0xc
shr ebx, 8
lea ecx, [esi + 4]
push edi
mov edx, edi
mov byte [edi + 0xb], bl
call fcn.1003c090
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.1005b901
mov esp, ebp
pop ebp
ret
Function at 0x1003c090
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
movlpd qword [ebp - 0x24], xmm0
jb 0x1003c196
mov ebx, dword [ebp + 0xc]
ja 0x1003c0c3
test ebx, ebx
je 0x1003c196
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
nop dword [eax]
cmp dword [ebp - 0x10], 0
mov dl, byte [esi + ecx]
mov ecx, dword [edi]
mov byte [ebp - 9], dl
not ecx
mov byte [ebp - 8], dl
lea edx, [ebp - 8]
push 1
je 0x1003c13e
movzx eax, word [edi + 8]
or eax, 2
mov ebx, eax
xor ebx, 1
imul ebx, eax
shr ebx, 8
call fcn.100353a0
mov ecx, dword [edi + 8]
lea edx, [ebp - 8]
not eax
not ecx
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
mov byte [ebp - 8], al
call fcn.100353a0
not eax
add esp, 8
xor bl, byte [ebp - 9]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x10]
mov byte [esi + eax], bl
mov ebx, dword [ebp + 0xc]
jmp 0x1003c174
call fcn.100353a0
mov ecx, dword [edi + 8]
lea edx, [ebp - 8]
not eax
not ecx
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
mov byte [ebp - 8], al
call fcn.100353a0
not eax
add esp, 8
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
add esi, 1
mov ecx, dword [ebp - 0x18]
adc eax, 0
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0x10]
jb 0x1003c0d0
ja 0x1003c196
cmp esi, ebx
jb 0x1003c0d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003c1a0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], eax
mov ebx, ecx
movlpd qword [ebp - 0x1c], xmm0
jb 0x1003c25d
ja 0x1003c1d1
cmp dword [ebp + 0xc], 0
jbe 0x1003c25d
mov edx, dword [ebp - 0x18]
movzx ecx, word [ebx + 8]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
nop
mov al, byte [esi + eax]
test edi, edi
je 0x1003c1fd
movzx edx, cx
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor al, cl
mov byte [esi + edi], al
mov ecx, dword [ebx]
lea edx, [ebp - 8]
not ecx
mov byte [ebp - 8], al
push 1
call fcn.100353a0
mov ecx, dword [ebx + 8]
lea edx, [ebp - 8]
not eax
not ecx
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
mov byte [ebp - 8], al
call fcn.100353a0
mov edx, dword [ebp - 0xc]
add esp, 8
add esi, 1
not eax
mov dword [ebx + 8], eax
adc edx, 0
movzx ecx, ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edx, dword [ebp + 0x10]
jb 0x1003c1e0
ja 0x1003c25d
cmp esi, dword [ebp + 0xc]
jb 0x1003c1e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003c610
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov esi, ecx
movlpd qword [ebp - 0x10], xmm0
jb 0x1003c6d1
mov ebx, dword [ebp + 8]
ja 0x1003c647
test ebx, ebx
je 0x1003c6d1
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x28]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp eax, 0x10
jne 0x1003c6b0
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add byte [eax + esi + 8], 1
jne 0x1003c67a
add eax, 1
adc ecx, 0
jne 0x1003c67a
cmp eax, 8
jb 0x1003c666
mov ecx, dword [esi]
lea eax, [ebp - 0xc]
push 0
push eax
push 0x10
lea eax, [esi + 0x18]
push eax
push 0
push 0
push 0
push 0x10
lea eax, [esi + 8]
push eax
push dword [ecx + 4]
call dword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
js 0x1003c6e4
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x28], 0
mov al, byte [eax + esi + 0x18]
xor byte [edi + edx], al
inc dword [esi + 0x28]
add edi, 1
mov eax, dword [esi + 0x28]
adc ecx, 0
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp + 0xc]
ja 0x1003c6d1
jb 0x1003c653
cmp edi, ebx
jb 0x1003c653
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005b901
mov esp, ebp
pop ebp
ret
Function at 0x10046ef3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x10046f18
xor eax, eax
jmp 0x10046f74
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x10046f45
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x10046f45
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x10046ffb
cmp dword [edi + 0x4c], 0
je 0x10046f6e
mov ecx, edi
call fcn.10046e2e
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10046f84
push dword [edi + 0x4c]
push ebx
call fcn.10046a4d
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x10046f73
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1005b901
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x10088298]
mov ecx, dword [ebp - 0x2c]
call esi
sub eax, 0
je 0x10046fce
sub eax, 1
je 0x10046fce
dec eax
sub eax, 1
jne 0x10046f6e
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x10046f60
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10046feb
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.100687cc
add esp, 0x10
cmp esi, eax
jne 0x10046f6e
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x10046f6e
mov ax, bx
jmp 0x10046f73

Function at 0x10074cee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007499f

Function at 0x10074cf9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10074b29

Function at 0x1007b83c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007b4b9
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x8f541b7
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x6fca260b
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10273ea
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x103f058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push eax
push 1
xor esi, esi
push esi
push 0x1001e58
mov edi, 0x80000002
push edi
xor ebx, ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], 0x14
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102747a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push 0x1001e38
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102746d
cmp dword [ebp - 0x34], 1
jne 0x102746d
lea eax, [ebp - 0x2c]
push eax
push 0x1001e30
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov ebx, eax
neg ebx
pop ecx
sbb ebx, ebx
pop ecx
inc ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x10274a3
cmp dword [ebp + 8], esi
je 0x10274a3
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push 3
jmp 0x10493f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0102df7d
leave
ret 4

Function at 0x10274bb
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 3
push 0
xor esi, esi
push 0x1001ea8
inc esi
push 0x80000001
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102750d
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x1001c10
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x1027938
Capabilities:
Delete file
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x103f058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea ecx, [ebp - 0x624]
push ecx
xor eax, eax
mov ebx, 0x2001f
push ebx
push eax
push 0x1002340
mov edi, 0x80000001
push edi
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], eax
call esi
test eax, eax
je 0x102798a
and dword [ebp - 0x624], 0
lea eax, [ebp - 0x628]
push eax
push ebx
push 0
push 0x10022c8
push edi
call esi
test eax, eax
jne 0x1027ad6
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x62c]
push ecx
push eax
lea ecx, [ebp - 0x630]
push ecx
lea ecx, [ebp - 0x414]
mov ebx, 0x104
mov esi, 0x208
push ecx
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x62c], 1
push eax
jmp 0x1027aba
inc dword [ebp - 0x620]
cmp dword [ebp - 0x620], 0x3e8
jae 0x1027aca
cmp dword [ebp - 0x624], 0
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x634], esi
je 0x1027a59
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x624]
mov dword [ebp - 0x638], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1027a8f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e8b9
test eax, eax
jne 0x1027a8f
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
dec dword [ebp - 0x620]
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x620]
push dword [ebp - 0x628]
call edi
test eax, eax
je 0x10279fa
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x624], 0
pop edi
pop esi
pop ebx
je 0x1027aee
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
jmp 0x10485e0
Function at 0x1027fdb
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x103f058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], ebx
cmp eax, ebx
jne 0x10280ad
mov esi, 0x104
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010302a3
test eax, eax
je 0x10281c6
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e61a
push 0x1002790
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01027edd
test eax, eax
jl 0x10281c6
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e8b9
test eax, eax
je 0x10281c6
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
call fcn.0102ec42
test eax, eax
jl 0x10281c6
cmp edi, ebx
je 0x10281bc
mov eax, dword [ebp - 0x210]
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
mov eax, dword [ebp - 0x214]
jmp 0x10281a3
cmp eax, 3
jne 0x10280e0
mov esi, 0x104
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010302a3
test eax, eax
je 0x10281c6
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e61a
push 0x1002774
jmp 0x1028140
cmp eax, 2
jne 0x1028117
push 0x103
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10281c6
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e61a
push 0x100275c
push 0x104
jmp 0x1028141
cmp eax, 1
jne 0x10281c6
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x10489c8
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01027edd
test eax, eax
jl 0x10281c6
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e8b9
test eax, eax
je 0x10281c6
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.0102ec42
test eax, eax
jl 0x10281c6
cmp edi, ebx
je 0x10281bc
mov eax, dword [ebp - 0x214]
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
mov eax, dword [ebp - 0x210]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push 0x1002724
push dword [ebp + 0x10]
push edi
call fcn.01027f64
add esp, 0x1c
mov dword [ebp - 0x218], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102df7d
leave
ret 0xc