joyce8/EMBER2024-capa huggingface dataset:
Function at 0x876fe8
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push ebp
push esi
call fcn.00876ee8
push esi
mov ebx, eax
call fcn.00879738
add esp, 0xc
cmp eax, 0xffffffff
jne 0x877010
pop esi
pop ebp
or eax, eax
pop ebx
ret
push edi
lea edi, [ebp + 0x12]
lea eax, [esi + 0x2068]
push edi
push eax
call fcn.00879a28
add esp, 8
mov esi, eax
push dword [ebp + 0xc]
call fcn.0087d2c2
mov ebp, eax
test esi, esi
jne 0x87704f
push edi
push 0x4202e0
push 0x4202fc
call fcn.008774a8
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push 1
push ebp
push ebx
call fcn.00880386
add esp, 0x10
cmp eax, 1
je 0x877080
test ebp, ebp
je 0x877080
push edi
push 0x420304
push 0x420328
call fcn.008774a8
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.0087f544
push ebx
call fcn.0087f4be
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x877098
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x64
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x70]
push esi
push edi
mov edi, dword [esp + 0x74]
lea esi, [esp + 0x14]
push 0
add ebx, 0xffffffa0
push ebx
push dword [edi]
call fcn.0087fbd1
add esp, 0xc
test eax, eax
jne 0x877105
push dword [edi]
lea eax, [esp + 0x10]
push 1
push 0x60
push eax
call fcn.0087f7e6
add esp, 0x10
cmp eax, 1
jb 0x877105
nop dword [eax]
push 8
push esi
push 0x420330
call fcn.0087f168
add esp, 0xc
test eax, eax
je 0x87711a
dec esi
lea eax, [esp + 0xc]
cmp esi, eax
jae 0x8770e8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0087d2c8
add esp, 0x64
ret
movups xmm0, xmmword [esi]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x40], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [esi + 0x50]
movq qword [edi + 0x60], xmm0
push dword [edi + 0x18]
call fcn.0087d2c2
lea ecx, [esp + 0xc]
sub esi, ecx
mov ecx, dword [esp + 0x6c]
add esi, ebx
sub esi, eax
xor eax, eax
add esi, 0x58
mov dword [edi + 4], esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0087d2c8
add esp, 0x64
ret
Function at 0x877228
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
jne 0x877249
lea eax, [esi + 0x68]
push 0x420200
push eax
call fcn.008784e8
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x8772c7
push esi
call fcn.00876de8
add esp, 4
cmp eax, 1
jge 0x87726c
push 2
push 0
push dword [esi]
call fcn.0087fbd1
push dword [esi]
call fcn.00880143
add esp, 0x10
push eax
push esi
call fcn.00877098
add esp, 8
cmp eax, 0xffffffff
je 0x8772c7
push 0
push dword [esi + 0x1c]
mov dword [esi + 0x406c], 0
call fcn.0087d2c2
add eax, dword [esi + 4]
push eax
push dword [esi]
call fcn.0087fbd1
add esp, 0xc
push dword [esi + 0x20]
call fcn.0087d2c2
push eax
call fcn.0087f4c3
add esp, 4
mov dword [esi + 8], eax
test eax, eax
jne 0x8772cc
push 0x42033c
push 0x420360
call fcn.008774a8
add esp, 8
or eax, 0xffffffff
pop esi
ret
push dword [esi]
push 1
push dword [esi + 0x20]
call fcn.0087d2c2
push eax
push dword [esi + 8]
call fcn.0087f7e6
add esp, 0x10
cmp eax, 1
jae 0x877300
push 0x420368
push 0x420384
call fcn.008774a8
add esp, 8
or eax, 0xffffffff
pop esi
ret
push dword [esi + 0x20]
call fcn.0087d2c2
add eax, dword [esi + 8]
push dword [esi]
mov dword [esi + 0xc], eax
call fcn.0087f5ef
add esp, 4
test eax, eax
je 0x87732e
push 0x42038c
call fcn.008776c8
add esp, 4
or eax, 0xffffffff
pop esi
ret
push esi
call fcn.00876ec8
add esp, 4
xor eax, eax
pop esi
ret

Function at 0x879608
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.0087d2e8
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebx
push esi
mov esi, dword [esp + 0x1018]
push edi
mov edi, dword [esp + 0x1018]
push 0x420200
push eax
call fcn.008784e8
push esi
push edi
mov ebx, eax
call fcn.00879a28
add esp, 0x10
xor edi, edi
mov esi, eax
test ebx, ebx
je 0x879704
push ebx
test esi, esi
je 0x879709
call fcn.0087f5c4
add esp, 4
test eax, eax
jne 0x8796db
push ebx
push 1
lea eax, [esp + 0x14]
push 0x1000
push eax
call fcn.0087f7e6
add esp, 0x10
cmp eax, 0xffffffff
jne 0x87969a
push ebx
call fcn.0087f5ef
add esp, 4
test eax, eax
je 0x8796c0
push ebx
jmp 0x8796d0
push esi
push 1
lea eax, [esp + 0x14]
push 0x1000
push eax
call fcn.00880386
add esp, 0x10
test eax, eax
jle 0x8796cf
push esi
call fcn.0087f5ef
add esp, 4
test eax, eax
jne 0x8796cf
push ebx
call fcn.0087f5c4
add esp, 4
test eax, eax
je 0x879670
jmp 0x8796db
push esi
call fcn.0088500e
add esp, 4
or edi, 0xffffffff
push ebx
call fcn.0087f544
push esi
call fcn.0087f544
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0087d2c8
add esp, 0x1004
ret
test esi, esi
je 0x879711
push esi
call fcn.0087f544
add esp, 4
mov ecx, dword [esp + 0x100c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0087d2c8
add esp, 0x1004
ret
Function at 0x879788
Capabilities:
Create directory

Disassembly:
mov eax, 0x302c
call fcn.0087d2e8
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x3028], eax
mov eax, dword [esp + 0x3030]
push ebx
push ebp
mov ebp, dword [esp + 0x303c]
mov dword [esp + 8], eax
push esi
push edi
test ebp, ebp
je 0x87980e
push 0x421544
call fcn.00879978
push ebp
mov ebx, eax
lea eax, [esp + 0x3c]
push 0x1000
push eax
call fcn.00878558
push 0
push 0x421544
push 0
call fcn.0087a708
mov edi, eax
lea eax, [esp + 0x50]
push 0
push eax
push 0
call fcn.0087a708
mov esi, eax
push esi
push edi
call fcn.00883e7d
push edi
call fcn.0087f4be
push esi
call fcn.0087f4be
add esp, 0x38
jmp 0x879812
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x1038]
push eax
push 0x1000
call dword [0x420028]
call fcn.0088284c
push eax
push 0x421548
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.0087a248
add esp, 0x10
xor esi, esi
nop dword [eax]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x103c]
push eax
call fcn.00884ff3
mov edi, eax
push edi
call fcn.00883eb9
add esp, 0xc
test eax, eax
je 0x8798da
push edi
call fcn.0087f4be
inc esi
add esp, 4
cmp esi, 5
jl 0x879848
test ebp, ebp
je 0x8798d6
push 0
push 0x421544
push 0
call fcn.0087a708
test ebx, ebx
je 0x8798bf
push 0
push ebx
push 0
mov edi, eax
call fcn.0087a708
mov esi, eax
push esi
push edi
call fcn.00883e7d
push edi
call fcn.0087f4be
push esi
call fcn.0087f4be
push ebx
call fcn.0087f4be
add esp, 0x2c
xor eax, eax
jmp 0x879950
add esp, 0xc
mov esi, eax
push 0
push esi
call dword [fcn.00420020]
push esi
call fcn.0087f4be
add esp, 4
xor eax, eax
jmp 0x879950
push 0x1000
push edi
push dword [esp + 0x18]
call fcn.0087a798
push edi
call fcn.0087f4be
add esp, 0x10
test ebp, ebp
je 0x87994b
push 0
push 0x421544
push 0
call fcn.0087a708
test ebx, ebx
je 0x879934
push 0
push ebx
push 0
mov edi, eax
call fcn.0087a708
mov esi, eax
push esi
push edi
call fcn.00883e7d
push edi
call fcn.0087f4be
push esi
call fcn.0087f4be
push ebx
call fcn.0087f4be
add esp, 0x2c
jmp 0x87994b
add esp, 0xc
mov esi, eax
push 0
push esi
call dword [fcn.00420020]
push esi
call fcn.0087f4be
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x3038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0087d2c8
add esp, 0x302c
ret
Function at 0x879a28
Capabilities:
Create directory

Disassembly:
mov eax, 0x4034
call fcn.0087d2e8
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x4030], eax
mov eax, dword [esp + 0x4038]
push esi
mov esi, dword [esp + 0x4040]
push 0x1000
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00882728
push 0x1000
lea eax, [esp + 0x1044]
push esi
push eax
call fcn.00882728
add esp, 0x18
cmp byte [esp + 0x1033], 0
jne 0x879bf2
cmp byte [esp + 0x2033], 0
jne 0x879bf2
push ebp
lea ebp, [esp + 0x38]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x879a99
push ebx
push edi
lea eax, [esp + 0x1040]
sub ebp, ecx
push 0x42041c
push eax
call fcn.00882852
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x879b9c
nop dword [eax]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x879acd
sub ecx, edx
inc ebp
add ebp, ecx
cmp ebp, 0xfff
jae 0x879b81
lea edi, [esp + 0x40]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x879aea
mov ax, word [0x42041c]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x879aff
lea edi, [esp + 0x40]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x879b0d
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0x42041c
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.00882852
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x879b9c
push 0x1000
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2048]
push eax
call fcn.0087a708
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2050]
push eax
call fcn.008830bb
add esp, 0x14
test eax, eax
jns 0x879ac8
lea eax, [esp + 0x2040]
push eax
call fcn.00883eb9
add esp, 4
jmp 0x879ac8
xor eax, eax
pop edi
pop ebx
pop ebp
pop esi
mov ecx, dword [esp + 0x4030]
xor ecx, esp
call fcn.0087d2c8
add esp, 0x4034
ret
push 0x1000
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2048]
push eax
call fcn.0087a708
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2050]
push eax
call fcn.008830bb
add esp, 0x14
test eax, eax
jne 0x879bde
lea eax, [esp + 0x40]
push eax
push 0x4215b4
call fcn.00877738
add esp, 8
lea eax, [esp + 0x40]
push 0x4215e8
push eax
call fcn.008784e8
add esp, 8
jmp 0x879b83
mov ecx, dword [esp + 0x4034]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0087d2c8
add esp, 0x4034
ret

Function at 0x888117
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00887f96
Function at 0xd52700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x192000]
push edi
or ebp, 0xffffffff
jmp 0xd52722
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd52729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd52718
mov eax, 1
add ebx, ebx
jne 0xd5273b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd5274c
jne 0xd5276b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd5276b
dec eax
add ebx, ebx
jne 0xd52758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd52730
add ebx, ebx
jne 0xd52767
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd527bd
xor ecx, ecx
sub eax, 3
jb 0xd52783
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd527f2
sar eax, 1
mov ebp, eax
jmp 0xd5278e
add ebx, ebx
jne 0xd5278e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd5275c
inc ecx
add ebx, ebx
jne 0xd5279c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd5275c
add ebx, ebx
jne 0xd527a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd5279e
jne 0xd527ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd5279e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd527dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd527ce
jmp 0xd5271e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd527dc
add edi, ecx
jmp 0xd5271e
pop esi
mov edi, esi
mov ecx, 0x4d24
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd527fa
cmp byte [edi], 0x13
jne 0xd527fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xd527ff
lea edi, [esi + 0x8f0000]
mov eax, dword [edi]
or eax, eax
je 0xd5286e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x95a958]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x95ab10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd5282c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x95ab14]
or eax, eax
je 0xd52868
mov dword [ebx], eax
add ebx, 4
jmp 0xd52849
call dword [esi + 0x95ab24]
mov ebp, dword [esi + 0x95ab18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd528a2
sub esp, 0xffffff80
jmp 0x48f888

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xbb9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bb91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbb907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbb906a
add dl, dl
jne 0xbb9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbb90dc
xor eax, eax
add dl, dl
jne 0xbb9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbb917d
add dl, dl
jne 0xbb90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbb90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbb9075
mov eax, 1
add dl, dl
jne 0xbb90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbb90e1
sub eax, ebx
mov ebx, 1
jne 0xbb9128
mov ecx, 1
add dl, dl
jne 0xbb910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbb9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbb9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbb9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbb913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbb914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbb9136
cmp eax, 0x7d00
jae 0xbb916d
cmp eax, 0x500
jb 0xbb9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbb9075
cmp eax, 0x7f
ja 0xbb9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbb9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbb919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbb9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x79d47c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d482
pop ebp
sub ebp, 6
sub ebp, 0x39d47c
jmp 0x79d4e0
jmp 0x79d4e9
mov eax, 0x39d47c
add eax, ebp
add eax, 0x93
mov ecx, 0x630
mov edx, 0xbfca8639
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d500
jmp 0x79d513
push ebx
jns 0x79d567
cmp dword [ecx], ebp
cmp dword [ecx], edi
push ecx
cmp ebp, esi
adc eax, 0x73c9b839
xchg ebp, eax
dec edi
imul edi, dword [eax + 0x4f9573c9], 0x69f90a69
invalid
adc eax, 0x3939511d
cmp dword [ecx], edi
sar dword [ecx + edi], 1
cmp dword [ecx], edi
rcl byte [ecx]
cmp dword [ecx], edi
cmp dword [ebp + ebp*2 + 0x64], ebp
mov dl, 0xbc
xor dword [ecx], edi
cmp dword [ecx], edi
mov dl, 0xac
xor eax, 0xb2393939
mov ah, 0x29
cmp dword [ecx], edi
cmp eax, edi
sar byte [ebx], 1
or byte [ebx], bh
mov edx, 0x36703dfb
mov esp, 0xc6c6c6cd
sti
xor eax, 0x1db5b239
cmp eax, 0x51393939
cmp dword [ebx], ecx
xor byte [ecx], bh
push ecx
inc edx
wait
or dword [ecx], edi
cmp byte [0x3cd1681d], dl
cmp dword [ecx], edi
cmp eax, edx
push es
cmp edi, dword [ecx]
cmp dword [ebp + ebp*2 + 0x64], ebp
invalid
Function at 0x100012f1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x1000efb8
call fcn.1000eecd
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [edi], ebx
cmp dword [ebp + 0xc], ebx
je 0x1000131f
mov eax, 0x80040110
jmp 0x100014e8
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.10005669
test eax, eax
je 0x1000134d
mov eax, 0x80040112
jmp 0x100014e8
mov edx, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [edx + ecx*4 + 8]
mov esi, 0x10010874
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x10001499
inc ecx
cmp ecx, 4
jne 0x10001352
call fcn.10005669
test eax, eax
je 0x100014e3
push 4
mov ecx, ebx
pop edx
mov eax, dword [esi + ecx*4]
mov esi, 0x10010884
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x100013f1
inc ecx
cmp ecx, edx
jne 0x10001382
mov ecx, dword [0x1001640c]
test ecx, ecx
jne 0x100013e5
push 0x10
pop ecx
call fcn.10001222
mov ecx, eax
mov dword [ebp - 0x220], ecx
test ecx, ecx
je 0x100013cf
inc dword [0x10016410]
mov dword [ecx], vtable.CShellExtension.0
mov byte [ecx + 4], bl
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
jmp 0x100013d1
mov ecx, ebx
mov dword [0x1001640c], ecx
test ecx, ecx
jne 0x100013e5
mov eax, 0x8007000e
jmp 0x100014e8
mov eax, dword [ecx]
push edi
push esi
push ecx
call dword [eax]
jmp 0x100014e8
mov ecx, ebx
mov eax, dword [esi + ecx*4]
mov esi, 0x1001034c
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x100014e3
inc ecx
cmp ecx, edx
jne 0x100013f3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], ebx
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x224], edx
push eax
lea eax, [ebp - 0x228]
mov esi, ebx
push eax
push str.ShowCacheFolder
push str.SoftwareMicrosoftOffice16.0MS_Project
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1000145a
cmp dword [ebp - 0x22c], eax
sete al
mov dword [ebp - 0x220], eax
mov esi, eax
push 0x58
pop ecx
call fcn.10001222
mov dword [ebp - 0x220], eax
test eax, eax
je 0x10001479
lea ecx, [esi + 1]
push ecx
mov ecx, eax
call fcn.10005669
mov ebx, eax
test ebx, ebx
je 0x100013db
push edi
push dword [ebp - 0x21c]
mov eax, dword [ebx]
push ebx
call dword [eax]
mov ecx, dword [ebx]
mov esi, eax
push ebx
call dword [ecx + 8]
mov eax, esi
jmp 0x100014e8
mov ecx, ebx
mov eax, dword [edx + ecx*4 + 8]
mov esi, 0x10010b2c
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x100014e3
inc ecx
cmp ecx, 4
jne 0x1000149b
push 0x4c
pop ecx
call fcn.10001222
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x100014d3
mov ecx, eax
call fcn.10007cce
mov ebx, eax
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100013db
push edi
push esi
jmp 0x10001488
mov eax, 0x80004002
call fcn.1000ee8c
ret 0x10
Function at 0x10005669
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10005678
pop dword [ebp - 0x1c]
mov eax, 0x7a2b09f4
add eax, 0x95d54c84
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x94edc08
sub dword [ebp - 0x2c], 0xbafc96bd
mov dword [ebp - 0x28], 0x4368e33b
add dword [ebp - 0x28], 0xeeca690a
mov dword [ebp - 0x24], 0xeab596ac
sub dword [ebp - 0x24], 0x9e69527e
mov dword [ebp - 0x20], 0x3f760614
sub dword [ebp - 0x20], 0x3f760614
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xe58bffaf
sub dword [ebp - 0x2c], 0x71199659
mov dword [ebp - 0x28], 0xb9db56d8
add dword [ebp - 0x28], 0x87910a9d
mov dword [ebp - 0x24], 0x6095adcb
add dword [ebp - 0x24], 0x2d9bea1
mov dword [ebp - 0x20], 0x72ce8bb4
sub dword [ebp - 0x20], 0x72ce8bb4
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xa85a02d0
sub eax, 0x985902b4
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c151
push 0
call eax
mov ecx, 0x5589
xor edx, edx
add edx, eax
mov esi, 0x6088d4de
sub esi, 0x50848ede
add esi, dword [ebp - 0x1c]
mov ebx, 0xbf9ab28e
add ebx, 0x362b35b1
xor dword [ebp - 8], edx
mov edi, dword [esi]
add dword [ebp - 4], 0xc1987c34
xor edi, ebx
mov dword [ebp - 8], 0xf9825d17
mov dword [edx], edi
xor dword [ebp - 0x18], esi
add edx, 0x586ce08e
sub edx, 0x586ce08a
add esi, 4
loop 0x10005791
add eax, 0x9af5c017
sub eax, 0x9af47720
xor ebx, ebx
add ebx, eax
add eax, 0x65632e57
add eax, 0x9a9cd1ae
mov ecx, 0x6e5c3fe4
add ecx, 0xa1a3c01c
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10009a7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x100150e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0xdc], eax
or edi, 0xffffffff
mov eax, dword [ecx + 0x20]
xor ebx, ebx
mov dword [ebp - 0xd4], 0x64
test eax, eax
je 0x10009ab8
mov edx, dword [eax]
jmp 0x10009aba
mov edx, ebx
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.10005669
mov esi, eax
test esi, esi
js 0x10009b9a
lea eax, [ebp - 0xd8]
push eax
push 0x20019
push ebx
push str.MSProject.ApplicationCurVer
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009b93
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10009b93
push 0x16
lea eax, [ebp - 0xd0]
push str.MSProject.Application.
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10009b93
mov eax, dword [ebp - 0xa4]
push 0x30
pop ecx
cmp ax, cx
jbe 0x10009b93
cmp ax, 0x39
ja 0x10009b93
movzx edi, ax
mov eax, dword [ebp - 0xa2]
sub edi, ecx
push 0x17
pop ebx
test ax, ax
je 0x10009b7f
movzx edx, ax
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x10009b7f
imul ecx, edi, 0xa
movzx edi, dx
movzx edx, word [ebp + ebx*2 - 0xce]
add edi, 0xffffffd0
add edi, ecx
inc ebx
test dx, dx
jne 0x10009b5d
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp + ebx*2 - 0xd0], cx
cmovne esi, eax
jmp 0x10009b98
mov esi, 0x80004005
test esi, esi
mov eax, dword [ebp - 0xdc]
cmovns esi, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
call fcn.10001171
leave
ret 8

Function at 0x1000bc9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.1000ee3e
mov eax, dword [0x100150e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, 0x1048
mov esi, dword [eax]
lea eax, [ebp - 0x104c]
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1050], edi
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push str.Path
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
pop edi
pop esi
test ecx, ecx
jne 0x1000bd10
lea eax, [ebp - 0x104c]
push eax
call fcn.10007b7d
jmp 0x1000bd1d
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001171
leave
ret 4