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

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [esp + 0x18], esi
jne 0x452137
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x452143
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x452256
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x452188
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x4521a9
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x4521ff
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x4521e0
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x4521e0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x4521c6
cmp dword [esp + 0x10], 0
je 0x45223d
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x452220
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x452180
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x458870
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
push eax
push 0x1000
push 1
push ecx
call fcn.004294bd
add esp, 0x10
test eax, eax
ja 0x4588d5
cmp byte [esi + 0x24], 0
je 0x4588ad
mov edx, dword [edi]
mov dword [edx + 0x14], 0x2b
mov eax, dword [edi]
mov ecx, dword [eax]
push edi
call ecx
add esp, 4
mov edx, dword [edi]
mov dword [edx + 0x14], 0x7b
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push 0xffffffffffffffff
push edi
call ecx
mov edx, dword [esi + 0x20]
mov byte [edx], 0xff
mov eax, dword [esi + 0x20]
mov byte [eax + 1], 0xd9
add esp, 8
mov eax, 2
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], eax
pop edi
mov dword [esi], ecx
mov byte [esi + 0x24], 0
mov al, 1
pop esi
ret
Function at 0x458b30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x458b81
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push 0x1c
push 1
push esi
call ecx
mov dword [esi + 0x190], eax
mov dword [eax], 0x457b20
mov dword [eax + 4], 0x457af0
mov byte [eax + 8], 0
add esp, 0xc
mov eax, esi
call fcn.00457fb0
cmp byte [esi + 0x40], 0
je 0x458b7a
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x458bfb
mov edx, dword [esi + 0x1a0]
cmp byte [edx + 0x10], 0
je 0x458beb
mov eax, dword [esi + 8]
test eax, eax
je 0x458ba6
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov ecx, dword [esi + 0x1a0]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
test eax, eax
je 0x458be7
cmp eax, 2
je 0x458beb
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x458b97
cmp eax, 3
je 0x458bce
cmp eax, 1
jne 0x458b97
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x458b97
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x458b97
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00458a60
pop esi
ret
cmp eax, 0xcc
je 0x458c1d
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00458a60
pop esi
ret
Function at 0x412efd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x412f32
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x412f2f
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x412f3b
add edx, 0x28
cmp edx, esi
jne 0x412f1d
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x412f38

Function at 0x413398
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4133d7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4133d7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4133d7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4133d7
cmp dword [ecx + 0x74], 0xe
jbe 0x4133d7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41cf9e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41d03b
push ebx
push esi
call fcn.0041cf65
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041cefb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41cfe8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d03a
push edi
push eax
call fcn.00419d90
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41d008
call fcn.004193a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d039
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cefb
add esp, 0x20
test eax, eax
jne 0x41d027
push edi
call fcn.004193a0
jmp 0x41d02f
push ebx
call fcn.004193a0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42163b
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x421655
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x42166c
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x4216c4
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0041d6e9
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x4216c4
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4216c4
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4216c4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x4216be
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x4216c0
xor bl, bl
mov al, bl
jmp 0x4216c6
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x425440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42546d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42546d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.100db650
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.1000f950
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x10001d51
cmp cl, 0xe9
je 0x10001d51
add esi, eax
cmp esi, 0x1000
jb 0x10001d12
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071de7
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071de7
mov esp, ebp
pop ebp
ret

Function at 0x100027b1
Capabilities:
Encode data using base64
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
clc
sal ah, 0xd4
mov ebp, esp
shl al, 0xee
sbb ah, bh
and esp, 0xfffffff8
ror ah, 0x56
lahf
push 0xffffffffffffffff
xchg ah, ah
push 0x100e8a3b
mov eax, dword fs:[0]
jmp fcn.103dedbf
Function at 0x10003190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10169048], 0
jne 0x10003240
mov byte [0x10169048], 1
call fcn.100028f0
call fcn.10003250
call fcn.10003690
mov dword [0x10169044], eax
mov al, 0x73
mov cl, 0x65
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x20]
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0x15], cl
mov dl, 0x6f
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x12], 0
push esi
call fcn.1003a8be
push eax
call dword [0x100ec3e4]
mov dword [0x10169040], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071de7
mov esp, ebp
pop ebp
ret

Function at 0x10003690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
push eax
call 0x10358a7a
push eax
call dword [0x100ec3e4]
test eax, eax
je 0x10003772
xor ecx, ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
call eax
mov eax, dword [ebp - 0x48]
cmp ax, 6
je 0x1000375f
cmp ax, 9
jne 0x10003772
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071de7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.10071de7
mov esp, ebp
pop ebp
ret

Function at 0x10004386
Capabilities:
Authenticate hmac
Execute anti-debugging instructions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
movzx ax, dh
not ah
push 0xffffffffffffffff
jmp loc.10311063
Function at 0x10008320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x74
push ebx
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x15], al
mov al, 0x6c
mov cl, 0x64
push esi
mov byte [ebp - 8], al
mov byte [ebp - 7], al
lea eax, [ebp - 0x28]
mov dl, 0x69
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x10], cl
mov byte [ebp - 9], cl
mov bl, 0x77
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x28], 0x44
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], 0x6d
mov byte [ebp - 0x25], 0x53
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x22], 0x57
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x17], 0x62
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], 0x6d
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 6], 0
call fcn.100db650
mov esi, eax
test esi, esi
je 0x100083e5
push 4
lea edx, [ebp - 0x30]
push edx
push 2
mov ebx, 1
push edi
mov dword [ebp - 0x30], ebx
call esi
push 4
lea eax, [ebp - 0x2c]
push eax
push 3
push edi
mov dword [ebp - 0x2c], ebx
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10071de7
mov esp, ebp
pop ebp
ret

Function at 0x1000b3b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101691d4], 0
jne 0x1000b76b
push ebx
push 0x10113694
mov dword [0x101691d4], 1
jmp loc.10327067
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.10071de7
mov esp, ebp
pop ebp
ret

Function at 0x1000b780
Capabilities:
Authenticate hmac
Check http status code
Encode data using base64
Execute anti-debugging instructions
Hash data with crc32
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e28
call fcn.1007a7e0
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, edx
push 0x101136a8
mov edi, ecx
mov dword [ebp - 0x1e18], eax
mov dword [ebp - 0x1e0c], esi
jmp loc.1047de04

Function at 0x1001d640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x1001d66f
push ebx
push edi
jmp 0x1001d650
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x1014fe58]
inc ecx
cmp ecx, edx
jb 0x1001d650
pop edi
pop ebx
not eax
ret
Function at 0x1001eb10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0xbdc744
call fcn.10071ee2
mov esi, eax
shl esi, 0x10
call fcn.10071ee2
or eax, esi
mov dword [0xbdc74c], eax
xor esi, esi
call fcn.10071ee2
mov ebx, eax
shl ebx, 0x10
call fcn.10071ee2
mov ecx, dword [0xbdc748]
or eax, ebx
mov dword [esi + ecx], eax
call fcn.10071ee2
mov ecx, dword [0xbdc748]
shl eax, 4
cdq
and edx, 0x7fff
add eax, edx
mov edx, dword [0xbdc74c]
xor edx, dword [ebp + 8]
sar eax, 0xf
mov dword [edi], eax
mov dword [ecx + eax*4], edx
xor dword [edi], 0xc0017921
add esi, 4
cmp esi, 0x40
jl 0x1001eb33
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10037340
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test esi, esi
jbe 0x10037358
mov dl, byte [eax + ecx]
xor dl, 0xd1
shr dl, 1
dec dl
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jb 0x10037346
ret

Function at 0x10049440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e910b
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1014ade0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x1014ade0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
push 0x10114f04
jmp loc.1039d4f3

Function at 0x10049960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1014ade0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x6c
mov dl, 0x72
mov byte [ebp - 8], cl
mov byte [ebp - 7], cl
mov cl, 0x74
mov byte [ebp - 0xe], al
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x30]
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x15], cl
mov byte [ebp - 0xd], dl
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x21], dl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 6], 0
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1d], 0x73
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x14], 0
call fcn.100db650
test eax, eax
je 0x10049a2c
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071de7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.10071de7
mov esp, ebp
pop ebp
ret

Function at 0x10054d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ea691
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x1014ade0]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x1014ade0]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov esi, ecx
call fcn.100dc6e0
mov ecx, esi
call fcn.1006c77c
mov eax, dword [esi + 0x44]
mov dword [0x10168f90], eax
call fcn.10058da0
xor ebx, ebx
mov esi, eax
mov dword [esp + 0x24], ebx
call fcn.100541e0
push 0x10114fb8
jmp fcn.10418432
Function at 0x1005971d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ebp + 0x10]
cdq
mov ecx, dword [esp + 0xc]
mov dh, ah
cdq
push edi
cmovno edx, esi
push eax
mov edx, esp
mov dl, 0xb3
jmp 0x1037acdb
mov byte [esp + 0x2c], 0x63
jmp 0x103608a0
mov byte [esp + 0x32], bl
jmp 0x103b8b3a
jbe 0x10402a2d
push 0x103
mov dx, dx
cdq
movzx edx, ax
lea edx, [esp + 0x5d]
jmp 0x103ab9ea
push eax
jmp 0x103679c1
push 0x4d
jmp 0x103d3dbb
mov byte [esp + 0x31], 0x64
jmp 0x101d787c
mov byte [esp + 0x3a], 0x68
mov byte [esp + 0x3b], 0x61
mov byte [esp + 0x3c], 0x63
jmp 0x10364dbd
mov byte [esp + 0x64], bl
jmp 0x10325ced
mov byte [esp + 0x2f], 0x73
jmp 0x1044105f
push 0x104
jmp 0x10272447
call eax
test eax, eax
jmp 0x1025f21f
push ecx
jmp 0x102f7f7f
call fcn.10078950
add esp, 0xc
cbw
mov ch, 0x24
lea eax, [esp + 0x160]
movzx cx, ah
push eax
lea ecx, [esp + 0x5c]
jmp 0x10385a66
call fcn.10074a9f
add esp, 0xc
lahf
lea edx, [esp + 0x24]
cbw
push edx
mov eax, 0x327a3705
lea eax, [esp + 0x5c]
jmp 0x102f2284
mov byte [esp + 0x2d], 0x64
jmp 0x10425a99
mov byte [esp + 0x3d], 0x6b
jmp 0x1041aec1
call fcn.10074f65
add esp, 0xc
lahf
cbw
movsx eax, cx
lea eax, [esp + 0x58]
jmp 0x10376dc7
call fcn.10028030
test al, al
jmp 0x103dcf58
push 0x104
push ecx
jmp 0x10359255
push ebx
push edx
jmp 0x102d23e8
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x70
jmp 0x10430a00
push edx
jmp 0x101cf5e4
je 0x10402a2d
push 0xffffffffffffffff
movzx ecx, si
cwd
push 0x10112d76
push 0x10112d76
not ch
lea ecx, [esp + 0x24]
cwd
push ecx
seta dh
cmovle edx, esi
push 0x39
lea edx, [esp + 0x24]
jmp 0x1027c2ab
call fcn.103be6e4
add esp, 0x1c
call fcn.10021390
mov dword [0x10169da8], eax
mov ebx, dword [ebp + 0xc]
rcl edi, 0xf8
mov edi, dword [ebp + 0x14]
cmp ebx, 0x201
jne 0x10059708
mov ecx, dword [0x10169e24]
jmp 0x104a5d5f
mov byte [esp + 0x3e], bl
jmp 0x10402a25
mov byte [esp + 0x2e], 0x73
jmp 0x102e893f
mov byte [esp + 0x36], 0x65
jmp 0x10443af8
mov byte [esp + 0x30], 0x73
jmp 0x10297b97
mov byte [esp + 0x37], 0x65
jmp 0x104b0546
je 0x10402a2d
push 0x104
lea ecx, [esp + 0x164]
jmp 0x1031ba64
call fcn.10354377
mov ecx, dword [0x10169e28]
jmp 0x100596c2
mov byte [esp + 0x38], 0x64
mov byte [esp + 0x39], 0x20
jmp 0x102b0a9f

Function at 0x10094550
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100942c0
Function at 0x1009b2b0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x1009b393
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x1009b32e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x1009b380
shl edx, 0x10
cmp edi, 2
jne 0x1009b33f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x1009b36d
lea edx, [edi + 0x3c]
jmp 0x1009b37a
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x1009b2d0
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret

Function at 0x1009bec0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x1009bf07
mov al, byte [edx]
test al, al
je 0x1009bf07
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x1009bed7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret