joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009140
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
lea edi, [ebp - 0x1c]
mov ecx, 7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100d3824]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100db1bf
call fcn.100ada70
cmp dword [ebp + 0x10], 5
jge 0x10009179
xor al, al
jmp 0x100091e7
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100ada40
mov eax, dword [ebp + 0x10]
push eax
push 0x90
mov ecx, dword [ebp + 8]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 1], ecx
mov esi, esp
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100ada40
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10009218]
call fcn.100ad9e0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100adab0
add esp, 0xdc
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret

Function at 0x10009240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100d3824]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100db1bf
call fcn.100ada70
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100ada40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100ada40
push edx
mov ecx, ebp
push eax
lea edx, [0x100092f0]
call fcn.100ad9e0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100adab0
add esp, 0xd0
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret
Function at 0x10009310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x100db1bf
call fcn.100ada70
cmp dword [ebp + 0x10], 5
jae 0x1000933f
xor eax, eax
jmp 0x100093ba
mov esi, esp
push 0x40
push 0x3000
mov eax, dword [ebp + 0x10]
add eax, 5
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100ada40
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 1], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10009140
add esp, 0xc
movzx eax, al
test eax, eax
je 0x100093b8
mov eax, dword [ebp - 8]
jmp 0x100093ba
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret
Function at 0x1001f5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x100db1d7
call fcn.100ada70
mov esi, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.100ada40
xor edx, edx
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret

Function at 0x1001f620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x100db1d7
call fcn.100ada70
mov esi, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.100ada40
xor edx, edx
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret

Function at 0x1001f9c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x100db1d7
call fcn.100ada70
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x100b3b90
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0xe8], 0
je 0x1001fa21
mov dword [ebp - 0xec], 1
jmp 0x1001fa2b
mov dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0
je 0x1001fa5f
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x1001f9fa
mov eax, dword [ebp - 8]
not eax
pop edi
pop esi
pop ebx
add esp, 0xec
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret
Function at 0x1001fa80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x100db1d7
call fcn.100ada70
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x100b3b90
cmp dword [ebp + 0xc], 0
je 0x1001fb77
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x100], 0
je 0x1001faf1
mov dword [ebp - 0x104], 1
jmp 0x1001fafb
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0
je 0x1001fb75
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 0x29], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
movzx eax, byte [ebp - 0x29]
cmp eax, 0x23
jne 0x1001fb52
cmp dword [ebp + 0xc], 2
jb 0x1001fb52
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1001fb52
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x1001fb52
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
movzx edx, byte [ebp - 0x29]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
jmp 0x1001faca
jmp 0x1001fbe7
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 0x35], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1001fbe7
movzx eax, byte [ebp - 0x35]
cmp eax, 0x23
jne 0x1001fbc7
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1001fbc7
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x1001fbc7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
movzx edx, byte [ebp - 0x35]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
jmp 0x1001fb77
mov eax, dword [ebp - 8]
not eax
pop edi
pop esi
pop ebx
add esp, 0x104
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret
Function at 0x10055f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b28b3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x28]
mov ecx, 7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x100d3824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x100db1f3
call fcn.100ada70
mov ecx, dword [ebp - 0x14]
call fcn.10009b50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.10009a30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.10055b80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.1000d100
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [eax + 0xc], xmm0
mov eax, 0x3f
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x42], ax
mov eax, 0xffff
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x44], ax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0xe4]
call fcn.100019f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3c], 0
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x58], 0
mov eax, dword [ebp - 0x14]
movss xmm0, dword [0x100b3380]
movss dword [eax + 0x48], xmm0
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [eax + 0x50], xmm0
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [ecx + 0x4c], xmm0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xe8
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret
Function at 0x100560b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2906
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x100d3824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x100db1f3
call fcn.100ada70
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.1000d100
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.1000d100
mov ecx, dword [ebp - 0x14]
add ecx, 0x34
call fcn.10009c10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.10055a00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.10055b20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0xf0]
call fcn.100019f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x100]
call fcn.100019f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [ebp - 0x20], 0
jmp 0x100561fd
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10056213
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0x58], 0xffffffff
jmp 0x100561f4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x104
cmp ebp, esp
call fcn.100ada40
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xb4735f3
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3313491e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xcbb72b9
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4f9b6ed4
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10003e79
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003ed3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003ed3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10003ec3
cmp esi, ecx
jae 0x10003ed3
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10003eb1
cmp esi, ecx
jae 0x10003ed3
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x10003ed5
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10006a0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xd4
mov eax, 0x1002a5ab
call fcn.1000c9b0
xor eax, eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x28]
push eax
call fcn.10003f7c
movzx eax, word [ebp + 0x24]
push eax
movzx eax, word [ebp + 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.10007030
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
call fcn.10007030
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
mov esi, eax
call fcn.10007030
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xe0]
push 0x40
push 0x20
push eax
call fcn.10005268
push 0
push ebx
push esi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.1000af25
lea ecx, [ebp - 0xe0]
call fcn.10008b28
lea ecx, [ebp - 0xe0]
call fcn.1000623b
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10006b15
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x10006b0c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10003ded
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.1000c94c
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000471e
lea ecx, [ebp + 0x28]
call fcn.1000471e
call fcn.1000c96e
ret
Function at 0x10006bd9
Capabilities:
Get common file path

Disassembly:
push 0x10
mov eax, 0x1002a624
call fcn.1000c97d
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov edi, 0x1003e488
mov dword [ebp - 4], ecx
push edi
push ecx
push ecx
push 0x1c
push ecx
add ebx, 0xfffffff0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10006c7a
push str..tmp
push ecx
mov esi, esp
push ebx
mov dword [ebp - 0x18], esi
call fcn.10002b7c
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x18]
pop ecx
push eax
call fcn.1000704e
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str.Temp_
push eax
call fcn.10005fb3
add esp, 0x14
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.10005f57
add esp, 0xc
push dword [eax]
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10003c75
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10003c75
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.10003c75
cmp byte [0x10056c38], 0
jne 0x10006cea
sub esp, 0x18
mov byte [0x10056c38], 1
mov edx, esp
mov dword [ebp - 0x18], esp
mov ecx, edi
and dword [edx], 0
and dword [edx + 0x10], 0
lea esi, [ecx + 1]
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ca5
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.100048ba
push 0x65
push 0x66
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 3
and dword [ecx], 0
and dword [ecx + 0x10], 0
push 0x1002d9cc
mov dword [ecx + 0x14], 0xf
call fcn.100048ba
mov byte [ebp - 4], 0
call fcn.10006a0f
add esp, 0x38
mov esi, dword [ebp + 8]
xor eax, eax
mov edx, edi
mov dword [esi], eax
mov dword [esi + 0x10], eax
lea edi, [edx + 1]
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov al, byte [edx]
inc edx
test al, al
jne 0x10006d02
sub edx, edi
mov ecx, esi
push edx
push 0x1003e488
call fcn.100048ba
mov ecx, ebx
call fcn.10003c75
mov eax, esi
call fcn.1000c95a
ret

Function at 0x10006dfb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x418
mov eax, 0x1002a680
call fcn.1000c9b0
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x414], esi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x418]
push str.SOFTWAREAmsPlugins_
push eax
call fcn.10005fb3
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
push 1
push edi
push dword [eax]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.10003c75
mov eax, dword [0x1002da90]
mov dword [ebp - 0x410], eax
mov ax, word [0x1002da94]
push 0x3fa
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x40a]
push edi
push eax
call fcn.1000d880
add esp, 0xc
mov dword [ebp - 0x41c], 0x400
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], edi
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x420]
push eax
push edi
push 0x1002da84
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.1000276d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003c75
mov eax, esi
call fcn.1000c96e
ret
Function at 0x100073a1
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x1002a7ec
call fcn.1000c97d
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push str.SOFTWAREAmsPlugins_
push eax
call fcn.10005fb3
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov esi, dword [eax]
lea ecx, [ecx - 0x10]
call fcn.10003c75
xor edi, edi
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push 0xf023f
push edi
push edi
push edi
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0x190
cmovae eax, dword [ebp + 0xc]
push eax
push 1
push edi
push 0x1002da84
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10003c75
lea ecx, [ebp + 0xc]
call fcn.1000471e
call fcn.1000c95a
ret
Function at 0x10008a0f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jb 0x10008a61
ja 0x10008a2a
cmp dword [ebp + 0xc], 0
jbe 0x10008a61
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [ebp + 0x18]
and ecx, 7
shl ecx, 3
call fcn.1000cfc0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0x10]
jb 0x10008a36
ja 0x10008a5e
cmp esi, dword [ebp + 0xc]
jb 0x10008a36
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10009d80
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push 4
mov eax, 0x1002ab51
call fcn.1000c97d
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002fb4
push eax
lea ecx, [ebp - 0x10]
call fcn.10002734
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push str._sHelp.chm
push eax
call fcn.10006b3a
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10009dde
push 1
push ebx
push ebx
push esi
push str.open
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.10003c75
mov al, bl
call fcn.1000c95a
ret

Function at 0x10009df0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push 4
mov eax, 0x1002ab51
call fcn.1000c97d
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002fb4
push eax
lea ecx, [ebp - 0x10]
call fcn.10002734
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push str._sHelp.chm
push eax
call fcn.10006b3a
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10009e4e
push 1
push ebx
push ebx
push esi
push str.open
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.10003c75
mov al, bl
call fcn.1000c95a
ret