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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100ef032
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x100ef024
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x100ef01c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x100eefe5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x100f1ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x100f1b01
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x100f1b5b
inc edi
cmp edi, esi
jl 0x100f1af5
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x100f1b90
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x100f1b4a
cmp byte [eax], bl
je 0x100f1b65
cmp byte [eax + 1], bl
je 0x100f1b6e
cmp byte [eax + 2], bl
je 0x100f1b78
cmp byte [eax + 3], bl
je 0x100f1b84
add eax, 4
cmp eax, edi
jb 0x100f1b21
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x100fe7f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x3c]
cmp dword [eax], 0
jne 0x100fe821
mov ecx, dword [esi + 0x78]
push ecx
push eax
push esi
call fcn.100fe930
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100fe923
mov ebx, eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jbe 0x100fe85d
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.10146660
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c]
push edx
push 5
push eax
call fcn.100fdc00
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], ecx
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x100fe919
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0x18]
cmp edi, eax
ja 0x100fe90e
test byte [ebp + 0x18], 0x20
jne 0x100fe90e
mov eax, dword [esi + 0x80]
lea ecx, [edi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.10146660
cmp edi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x100fe8ab
push ebp
call fcn.100fe420
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x80]
mov ebx, dword [ebp + 4]
push edx
mov edx, dword [esi + 0x3c]
push eax
push ecx
push ebx
push edx
call fcn.100fcf10
add esp, 0x14
cmp edi, 1
mov dword [esp + 0x1c], eax
jne 0x100fe8f1
add ebx, 0x18
lea eax, [esi + 0x64]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
cmp edi, dword [esi + 0x20]
jbe 0x100fe8f9
mov dword [esi + 0x20], edi
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x58]
push eax
push edi
push ecx
call fcn.10105580
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x100fe861
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10101db0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebp, dword [esi + 0x60]
cmp ebx, ebp
jle 0x10101eb1
mov al, byte [esi + 6]
test al, al
je 0x10101eb1
mov ecx, dword [esi + 0x5c]
lea eax, [ebx + ebx*2]
shl eax, 4
push eax
push ecx
call fcn.100f7940
mov edx, eax
add esp, 8
test edx, edx
jne 0x10101df5
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
lea eax, [ebp + ebp*2]
shl eax, 4
lea edi, [eax + edx]
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x14], edi
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 4
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
mov dword [esi + 0x5c], edx
jge 0x10101eb1
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x18]
mov edx, dword [esi + 0x18]
mov dword [edi - 4], edx
mov eax, dword [esi + 0x40]
cmp dword [eax], 0
je 0x10101e59
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x10101e59
jg 0x10101e51
test ecx, ecx
jbe 0x10101e59
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x10101e66
mov ecx, dword [esi + 0x7c]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], 0
mov edx, dword [esi + 0x34]
mov dword [edi], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.100fd220
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x10101deb
push esi
call fcn.100fd5e0
add esp, 4
test eax, eax
je 0x10101ea2
mov edx, dword [esi + 0xb4]
lea ecx, [edi + 4]
push ecx
push edx
call fcn.10101f30
add esp, 8
lea eax, [ebp + 1]
add edi, 0x30
mov ebp, eax
mov dword [esi + 0x60], eax
cmp ebp, ebx
jl 0x10101e33
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x10112640
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
test ecx, ecx
jne 0x101126f9
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [ebx + 0x40]
mov ebp, dword [ebx + 0x38]
lea edi, [ecx + edx*2]
xor ecx, ecx
mov cl, byte [ebx + 5]
xor edx, edx
mov ah, byte [edi]
mov esi, ecx
mov al, byte [edi + 1]
mov dword [esp + 0x14], esi
mov dh, byte [esi + ebp + 5]
mov dl, byte [esi + ebp + 6]
cmp eax, edx
jb 0x101126e6
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [ebx + 0x34]
cmp edx, dword [ecx + 0x24]
ja 0x101126e6
mov edx, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.10112700
add esp, 0xc
test eax, eax
jne 0x101126f3
mov eax, dword [ebx + 0x40]
xor edx, edx
mov dx, word [ebx + 0x10]
lea ecx, [eax + edx*2 - 2]
cmp edi, ecx
jae 0x101126c5
sub ecx, edi
lea esi, [edi + 2]
inc ecx
shr ecx, 1
rep movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x14]
dec word [ebx + 0x10]
mov ax, word [ebx + 0x10]
xor ecx, ecx
pop edi
mov cl, ah
mov byte [esi + ebp + 3], cl
mov dl, byte [ebx + 0x10]
mov byte [esi + ebp + 4], dl
add word [ebx + 0xe], 2
pop esi
pop ebp
pop ebx
ret
push 0xd648
call fcn.10143200
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10112ca0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
push ecx
call fcn.10112e60
mov ebp, dword [esi + 0x38]
xor ecx, ecx
mov cx, word [esi + 0x10]
mov ebx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x34]
xor edx, edx
xor eax, eax
mov dl, byte [esi + 5]
mov ax, word [esi + 0xc]
mov esi, dword [ecx + 0x24]
xor ecx, ecx
mov ch, byte [edx + ebp + 5]
mov dword [esp + 0x14], esi
mov cl, byte [edx + ebp + 6]
mov dword [esp + 0x28], ebx
mov edi, ecx
mov ecx, esi
sub ecx, edi
add esp, 4
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
mov dword [esp + 0x2c], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
mov dword [esp + 0x18], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
lea edi, [eax + ecx*2]
mov dword [esp + 0x20], edi
jle 0x10112dd5
add eax, ebp
mov dword [esp + 0x14], eax
jmp 0x10112d37
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
mov esi, edx
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x10112e3f
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
cmp esi, eax
jg 0x10112e3f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
add esi, ecx
push esi
push edx
call fcn.10111d60
and eax, 0xffff
add esp, 8
sub ebx, eax
cmp ebx, edi
jl 0x10112e2a
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jg 0x10112e2a
mov ecx, eax
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov byte [eax - 1], bl
sar ecx, 8
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x10112d2f
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov eax, ebx
sar eax, 8
mov byte [edx + ebp + 5], al
mov byte [edx + ebp + 6], bl
sub ebx, edi
mov byte [edx + ebp + 1], 0
mov byte [edx + ebp + 2], 0
mov ecx, ebx
mov byte [edx + ebp + 7], 0
mov edx, ecx
xor eax, eax
add edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x34]
xor eax, eax
mov ax, word [ecx + 0xe]
cmp ebx, eax
je 0x10112e54
push 0xc542
call fcn.10143200
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0xc531
call fcn.10143200
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0xc525
call fcn.10143200
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x10118530
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x48]
mov edi, dword [eax + 0x34]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10118557
mov ecx, dword [esp + 0x20]
push edi
push eax
push ecx
push esi
call fcn.10116410
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10118588
mov cx, word [esi + 6]
xor eax, eax
mov word [edi + 4], cx
and ecx, 0xffff
jle 0x10118584
mov edx, dword [edi + 0x10]
add edx, 0x1c
test byte [edx], 1
jne 0x101185a4
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x10118577
or byte [edi + 6], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push eax
push ecx
call fcn.10116530
mov edx, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
mov dword [edx], eax
ret
mov edx, dword [esp + 0x24]
pop edi
pop esi
mov dword [edx], 0xffffffff
ret

Function at 0x10119bf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x10119c1c
mov ecx, dword [esp + 8]
push ebx
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edx + 0x10161cf4]
lea edx, [eax*8]
xor ebx, edx
xor eax, ebx
inc ecx
dec esi
jne 0x10119c00
pop ebx
pop esi
ret
Function at 0x101589ce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10158a10
call fcn.1015b493
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10158a10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10158a07
xor eax, eax
jmp 0x10158a18
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10158a1e
pop edi
pop esi
pop ebx
ret 4
Function at 0x10005625
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebx + 0x318b0441], 1
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x1000561e
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x1000560f
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.100053ca
inc edi
cmpsd dword [esi], dword es:[edi]
cdq
lea eax, cs:[ebp - 0x58]
push eax
call fcn.100053da
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000538f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100056b8
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100053ca
mov dl, dl
cmpsd dword [esi], dword es:[edi]
lcall 0xc5e8, 0x50c0458d
cld
invalid
Function at 0x10005ae5
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10005aa1
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10005abf
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
invalid
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10005b1d
mov edx, edi
mov dword [ebp + 8], edi
jge 0x10005aea
and dword [ebp + 8], 0x40000000
add byte [eax], al
add byte [eax - 0x77], al
jge 0x10005afc
add byte [eax], al
add byte [eax - 0x77], al
jge 0x10005afc
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10005b04
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10005b0d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10005b17
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
invalid
jbe 0x10005af9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10005a83
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10005b6a
dec eax
je 0x10005b61
sub eax, 3
je 0x10005b58
mov dword [ebp - 4], 0x40
jmp 0x10005b87
mov dword [ebp - 4], 4
jmp 0x10005b6d
mov dword [ebp - 4], 0x20
jmp 0x10005b6d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
mov ch, 0x54
invalid
invalid
invalid
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10005bb9
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10005b39
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100053ca
mov ah, 0x82
sbb al, 0xf9
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x10005bc5

Function at 0x10005b1a
Capabilities:
Inspect section memory permissions

Disassembly:
mov esp, 0x45ffdc76
or al, 0x8b
test dword [eax - 1], edi
invalid

Function at 0x10005cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
inc dword [edx]

Function at 0x100060c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
invalid
test dword [ecx + edi*8 - 1], ecx
Function at 0x10006276
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push 0
call dword [ebp - 0x538]
call fcn.100053ca
cwde
cmp ebx, dword [eax - 0x1f]
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
lodsd eax, dword [esi]

Function at 0x10009982
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [edi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x10009ad3
mov eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov esi, 0x3ff
mov ecx, eax
cmp dword [edi], edx
je 0x10009ad3
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp - 1], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x10009a01
lea eax, [ecx + 0x2400]
cmp ax, si
ja 0x10009ae4
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp - 1]
cmp ebx, 0x80
jae 0x10009a1e
mov dl, bl
xor eax, eax
jmp 0x10009a4e
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, si
ja 0x100099f0
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp - 1], cl
jmp 0x100099f3
mov edx, ebx
cmp ebx, 0x800
jae 0x10009a33
shr edx, 6
xor eax, eax
or dl, 0xc0
inc eax
jmp 0x10009a4e
cmp ebx, 0x10000
jae 0x10009a45
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x10009a4d
shr edx, 0x12
or dl, 0xf0
push 3
pop eax
movzx esi, cl
mov ecx, dword [ebp - 0xc]
xor esi, 1
add esi, esi
mov dword [ebp - 8], eax
cmp eax, 3
cmovb esi, eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [edi]
inc esi
cmp eax, esi
jl 0x10009ad3
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp - 1], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
jne 0x10009a84
cmp ecx, 3
jae 0x10009a8b
mov eax, dword [edi]
mov byte [eax], dl
inc dword [edi]
dec esi
test esi, esi
jle 0x10009aaa
imul ecx, ecx, 6
mov eax, dword [edi]
sub ecx, 6
mov edx, ebx
dec esi
shr edx, cl
and dl, 0x3f
or dl, 0x80
mov byte [eax], dl
inc dword [edi]
test esi, esi
jg 0x10009a92
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp - 1], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 0xc], eax
cmp ecx, dword [ebp + 0x10]
jne 0x100099ab
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 2
pop eax
jmp 0x10009adb

Function at 0x1000baf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + edi]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x1000baff
mov eax, dword [ecx + 0x18]
pop edi
and eax, esi
pop esi
pop ebp
ret 4
Function at 0x1000bf88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10022008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x10], 0
mov eax, 0x20006
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, 0x102
push esi
mov esi, dword [ebp + 8]
cmovne eax, ecx
cmp dword [edx + 0x14], 8
push edi
jb 0x1000bfb9
mov edx, dword [edx]
xor edi, edi
lea ecx, [ebp - 8]
push edi
push ecx
push edi
push eax
push edi
push edi
push edi
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x1000c004
cmp dword [esi + 0x10], eax
jne 0x1000bfe0
xor esi, esi
jmp 0x1000bfe8
cmp dword [esi + 0x14], 8
jb 0x1000bfe8
mov esi, dword [esi]
push 4
push ebx
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10014430
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000e11c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10022008]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
and dword [ebp - 0x10c], 0
push ebx
mov ebx, dword [ebp + 0x10]
shl eax, 8
push esi
add eax, 0x20019
mov dword [ebp - 0x110], 0x104
cmp dword [edx + 0x14], 8
push edi
mov edi, dword [ebp + 8]
jb 0x1000e15d
mov edx, dword [edx]
lea esi, [ebp - 0x114]
push esi
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x1000e1fa
cmp dword [edi + 0x14], 8
jb 0x1000e189
mov edi, dword [edi]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push edi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x114]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
js 0x1000e1fa
mov eax, dword [ebp - 0x10c]
sub eax, 1
je 0x1000e1ea
sub eax, 3
je 0x1000e1e2
mov esi, 0x8007065d
jmp 0x1000e1fa
mov eax, dword [ebp - 0x108]
jmp 0x1000e1f8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
pop ecx
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10014430
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410ff0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x455e78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.004040c0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411044
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00403ff0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.004040c0
cmp dword [esp + 0x24], 8
jb 0x41108a
mov eax, dword [esp + 0x10]
push eax
call fcn.0043e965
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x4265c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4265e7
xor eax, eax
pop edi
pop ecx
ret
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0x989680
jbe 0x426608
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
xor eax, eax
pop edi
pop ecx
ret
push ebx
push esi
lea ebx, [ebp + 2]
push ebx
call fcn.0043ce31
push ebx
mov esi, eax
push 0
push esi
call fcn.00448fa0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x426640
mov ecx, dword [esp + 0x18]
sub eax, edx
push eax
push esi
call fcn.004069d0
push esi
call fcn.0043ed74
add esp, 4
pop esi
pop ebx
pop ebp
mov eax, 1
pop edi
pop ecx
ret