joyce8/EMBER2024-capa huggingface dataset:
Function at 0x183110
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x183218
mov esi, edx
test edx, edx
je 0x183218
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x183218
push esi
call fcn.001895d0
add esp, 4
test eax, eax
je 0x18316a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x183171
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x183150
jmp 0x183173
mov ebp, 0x1505
jmp 0x183173
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x183220
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x1831da
call fcn.00183310
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x183218
push ecx
call fcn.001895d0
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x18328f
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*4], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x183238
inc ebx
dec esi
je 0x18318f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x183194
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x183230
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.001895d0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x183230
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.001895f0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x183230
mov eax, 0xffffffff
jmp 0x183218
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x1832a8
inc ebx
dec esi
je 0x1831d5
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x1831da
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x1832a0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.001895d0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x1832a0
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.001895f0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x1832a0
jmp 0x1831da
Function at 0x183a30
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x183ba6
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x183b9f
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
sub edx, eax
jmp 0x183abb
add ebp, dword [esp + 8]
mov eax, edi
mov esi, 0x80078071
mul esi
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mul esi
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov ebx, dword [esp + 0xc]
sub ebx, dword [esp]
mov edx, 0x15b0
je 0x183b9f
xor eax, eax
cmp edx, 8
mov dword [esp + 0xc], ebx
jb 0x183b2a
mov eax, edx
and eax, 0x1ff8
xor esi, esi
nop
mov ebx, edx
mov edx, esi
movzx esi, byte [ebp + esi]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + edx + 3]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + edx + 4]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + edx + 5]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + edx + 6]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + edx + 7]
add edi, esi
add ecx, edi
lea esi, [edx + 8]
add edx, 0xf
cmp edx, ebx
mov edx, ebx
jb 0x183ad0
add ebp, esi
mov esi, edx
sub esi, eax
mov dword [esp], edx
jbe 0x183a84
mov dword [esp + 8], esi
mov esi, eax
not esi
add esi, edx
mov dword [esp + 4], esi
mov esi, edx
mov ebx, ebp
and esi, 3
je 0x183b5c
nop
nop
movzx edx, byte [ebx]
add edi, edx
inc eax
add ecx, edi
inc ebx
dec esi
jne 0x183b50
cmp dword [esp + 4], 3
jb 0x183a80
mov edx, dword [esp]
sub edx, eax
xor eax, eax
nop
nop
movzx esi, byte [ebx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp edx, eax
jne 0x183b70
jmp 0x183a80
shl ecx, 0x10
or ecx, edi
jmp 0x183bab
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x183bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x183c26
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x183c28
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
mov eax, dword [eax*4 + 0x1bda18]
mov ebp, eax
and ebp, ebx
add ebx, eax
add ebp, ebp
sub ebx, ebp
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
mov edi, dword [edi*4 + 0x1bda18]
mov ebx, eax
and ebx, edi
add eax, edi
add ebx, ebx
sub eax, ebx
inc esi
cmp edx, esi
jne 0x183be0
not eax
jmp 0x183c28
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x189d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x189e5b
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x189d6d
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x189d91
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x189d60
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x189d60
lea esi, [ebx + 1]
push esi
call fcn.00189390
add esp, 4
test ebx, ebx
jle 0x189e65
add ebx, eax
add esi, eax
mov dword [esp + 8], esi
mov ebp, eax
jmp 0x189dd5
mov byte [ebp], dl
mov esi, 1
add edi, 2
add ebp, esi
cmp ebp, ebx
jae 0x189e67
movzx edx, word [edi]
test dx, dx
je 0x189e67
cmp dx, 0x7f
jbe 0x189dc0
mov ecx, ebp
not ecx
add ecx, dword [esp + 8]
movzx esi, dx
cmp esi, 0x7ff
ja 0x189e20
xor esi, esi
cmp ecx, 2
jb 0x189dc8
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [ebp], cl
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 1], dl
mov esi, 2
jmp 0x189dc8
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x189dc8
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [ebp], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [ebp + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 2], dl
mov esi, 3
jmp 0x189dc8
push 1
call fcn.00189390
add esp, 4
mov ebp, eax
mov edi, dword [esp + 0x228]
mov esi, dword [esp + 0x224]
mov byte [ebp], 0
movzx edx, byte [eax]
lea ecx, [esp + 0xc]
mov ebx, ecx
test dl, dl
je 0x189ea6
inc eax
lea ebx, [esp + 0xc]
jmp 0x189e9b
mov byte [ebx], dh
inc ebx
movzx edx, byte [eax]
inc eax
test dl, dl
je 0x189ea6
mov dh, 0x2f
cmp dl, 0x5c
je 0x189e90
mov dh, dl
jmp 0x189e90
mov byte [ebx], 0
push 0
push 0
push 0
mov eax, dword [esp + 0xc]
push dword [eax + 8]
add eax, 0x10
push 0
push 0
push edi
push esi
push ecx
push eax
call fcn.00185ea0
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x197c90
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
xor eax, eax
cmp dword [ebp + 0x10], 0
setne al
xor ebx, ebx
mov dword [esp], 0
mov dword [esp + 4], 0
jmp dword [eax*4 + 0x1c2ac8]

Function at 0x198c50
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], 0x4b1e4d28
mov dword [esp + 0x14], 0x5739493b
mov dword [esp + 0x18], 0x53265535
mov dword [esp + 0x1c], 0x5f135170
mov dword [esp + 0x20], 0x5b265d24
mov dword [esp + 0x24], 0x67145935
mov dword [esp + 0x28], 0x630b651b
mov dword [esp + 0x2c], 0x6f1c6113
mov dword [esp + 0x30], 0x6b356d4c
mov dword [esp + 0x34], 0x770a6905
mov dword [esp + 0x38], 0x731b7508
mov dword [esp + 0x3c], 0x7f157102
mov dword [esp + 0x40], 0x7b1e7d03
lea eax, [esp + 0x44]
mov word [esp + 0x44], 0x7978
mov dword [esp + 0x46], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
cmp ecx, 0x39
ja 0x198d44
nop
nop
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
movzx edi, byte [esp + ecx + 0x10]
lea ecx, [esi - 0x514f9536]
lea edx, [esi + edi]
add edx, 0xaeb06aca
add esi, 0xca
and esi, edi
and ecx, edi
add ecx, esi
mov esi, edx
not esi
and esi, ecx
not ecx
and ecx, edx
sub ecx, esi
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x6c]
add cl, 0x7a
mov edx, dword [esp + 0x50]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
cmp ecx, 0x3a
jb 0x198cf0
lea edi, [esp + 0x6c]
lea edx, [esp + 0x10]
mov ecx, 0xd
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xa0]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov esi, dword [ebx + 4]
mov eax, 0xfffffffe
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x198d70
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x198d90
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x198db0
mov eax, 0xffffffff
jmp 0x198db7
add eax, ecx
add eax, eax
add eax, 0x36
push eax
call fcn.00189390
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 8], eax
test cx, cx
test ecx, ecx
Function at 0x1a2290
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
lea edi, [esp + 0x58]
mov eax, 0x20219
mov ecx, 1
mov dword [esp + 0xc], 0
jmp dword [ecx*4 + 0x1c4230]
Function at 0x1ae590
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [ebp + 8]
mov byte [esp + 0xf], 0
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
cmp eax, 0
je 0x1ae752
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp + 0x50], eax
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
sub esp, 4
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
setne al
test al, 1
jne 0x1ae602
jmp 0x1ae748
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.001895d0
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x1ae732
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
jmp 0x1ae63a
mov ebx, dword [esp + 0x40]
jmp 0x1ae640
call fcn.0018ff30
mov al, byte [esp + 0x14]
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], 0xcb
mov byte [esp + 0x21], 0x21
mov byte [esp + 0x22], 0x5b
mov byte [esp + 0x23], 0x63
mov byte [esp + 0x24], 0x56
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x57
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], 0xa7
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], 0xf9
mov dword [esp + 0x2e], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x12
jae 0x1ae711
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
jmp 0x1ae6b6
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x20]
mov edx, edi
add edx, 0x685338be
mov eax, edi
add eax, 0xbe
and eax, ecx
mov esi, eax
and esi, edx
lea ecx, [edi + ecx + 0x685338be]
add eax, esi
sub ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
add al, 0xce
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x20], al
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x12
jb 0x1ae6b6
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
jmp 0x1ae711
lea eax, [esp + 0x20]
mov ecx, edi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00189ee0
sub esp, 0xc
and al, 1
mov byte [esp + 0xf], al
jmp 0x1ae732
jmp 0x1ae734
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
jmp 0x1ae746
jmp 0x1ae748
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1ae750
jmp 0x1ae752
mov al, byte [esp + 0xf]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1ae63b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [ebp + 8]
mov byte [esp + 0xf], 0
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
cmp eax, 0
je 0x1ae752
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp + 0x50], eax
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
sub esp, 4
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
setne al
test al, 1
jne 0x1ae602
jmp 0x1ae748
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.001895d0
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x1ae732
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
jmp 0x1ae63a
mov ebx, dword [esp + 0x40]
jmp 0x1ae640
call fcn.0018ff30
mov al, byte [esp + 0x14]
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], 0xcb
mov byte [esp + 0x21], 0x21
mov byte [esp + 0x22], 0x5b
mov byte [esp + 0x23], 0x63
mov byte [esp + 0x24], 0x56
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x57
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], 0xa7
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], 0xf9
mov dword [esp + 0x2e], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x12
jae 0x1ae711
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
jmp 0x1ae6b6
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x20]
mov edx, edi
add edx, 0x685338be
mov eax, edi
add eax, 0xbe
and eax, ecx
mov esi, eax
and esi, edx
lea ecx, [edi + ecx + 0x685338be]
add eax, esi
sub ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
add al, 0xce
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x20], al
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x12
jb 0x1ae6b6
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
jmp 0x1ae711
lea eax, [esp + 0x20]
mov ecx, edi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00189ee0
sub esp, 0xc
and al, 1
mov byte [esp + 0xf], al
jmp 0x1ae732
jmp 0x1ae734
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
jmp 0x1ae746
jmp 0x1ae748
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1ae750
jmp 0x1ae752
mov al, byte [esp + 0xf]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1b3980
Capabilities:
Encode data using xor
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], 0xc3d2e1f0
mov dword [esp + 0x10], 0x10325476
mov dword [esp + 0xc], 0x98badcfe
mov dword [esp + 8], 0xefcdab89
mov dword [esp + 4], 0x67452301
cmp ebp, 0x40
jb 0x1b3a3d
mov edi, ebp
shr edi, 6
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebp + esi]
mov dword [esp + esi + 0x1c], eax
movzx ecx, byte [ebp + esi + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + esi + 0x1c], ecx
movzx eax, byte [ebp + esi + 2]
shl eax, 0x10
or eax, ecx
mov dword [esp + esi + 0x1c], eax
movzx ecx, byte [ebp + esi + 3]
shl ecx, 0x18
or ecx, eax
mov dword [esp + esi + 0x1c], ecx
add esi, 4
cmp esi, 0x40
jne 0x1b39e0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 8]
push eax
call fcn.001b48a0
add esp, 8
inc ebx
lea eax, [esi + ebp]
cmp ebx, edi
jne 0x1b39d0
add ebp, esi
mov eax, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov ecx, ebp
and ecx, 0x3f
mov dword [esp], ecx
je 0x1b3b34
mov ecx, ebp
and ecx, 1
xor edi, edi
cmp dword [esp], 1
je 0x1b3b1d
mov dword [esp + 0x18], ecx
sub dword [esp], ecx
xor ebx, ebx
xor edi, edi
nop
movzx ebp, byte [eax + edi]
mov ecx, ebx
and cl, 0x10
shl ebp, cl
mov edx, edi
and edx, 0xfffffffc
xor ebp, dword [esp + edx + 0x1c]
mov dword [esp + edx + 0x1c], ebp
movzx esi, byte [eax + edi + 1]
or cl, 8
shl esi, cl
xor esi, ebp
mov dword [esp + edx + 0x1c], esi
add edi, 2
add ebx, 0x10
cmp dword [esp], edi
jne 0x1b3ae0
add eax, edi
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1b3b34
movzx eax, byte [eax]
lea ecx, [edi*8]
shl eax, cl
and edi, 0xfffffffc
xor dword [esp + edi + 0x1c], eax
lea ebx, [ebp*8]
mov ecx, ebx
and cl, 0x18
or cl, 7
mov eax, 1
shl eax, cl
mov ecx, ebp
and ecx, 0x3c
xor dword [esp + ecx + 0x1c], eax
mov esi, dword [esp + 0x78]
mov eax, ebp
not eax
test al, 0x38
jne 0x1b3b85
lea edi, [esp + 0x1c]
lea eax, [esp + 4]
push edi
push eax
call fcn.001b48a0
add esp, 8
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea edi, [esp + 0x5c]
xor eax, eax
xor ecx, ecx
rep stosw word es:[edi], ax
mov dword [esp + 0x54], ebx
shr ebp, 0x1d
mov dword [esp + 0x58], ebp
lea eax, [esp + 0x1c]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.001b48a0
add esp, 8
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1b9010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edi, dword [ebp + 8]
movzx eax, word [edi]
mov dword [esp + 0x30], 0x5b5af30d
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 8
ja 0x1b909c
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
lea esi, [ecx + edx]
add esi, 0x1ef6c3f4
add ecx, 0x1ef6c3f4
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, esi
not ecx
and ecx, esi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
add cl, 0x54
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 9
jb 0x1b9050
xor ecx, ecx
cmp dword [esp + 0x30], eax
setne cl
mov eax, dword [ecx*4 + 0x1c71f8]
mov ecx, 0x35f6bc02
xor ecx, dword [0x1c7200]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx
Function at 0x1ba090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [esp + 8], 0x333493e5
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xb
ja 0x1ba112
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, ecx
and esi, 0x28a1b659
xor ecx, 0xa8a1b659
lea ecx, [ecx + esi*2]
lea esi, [ecx + edx]
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 4], esi
mov ecx, dword [esp + 4]
add cl, 0x91
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xc
jb 0x1ba0d0
xor ecx, ecx
cmp dword [esp + 8], eax
setne cl
xor edi, edi
jmp dword [ecx*4 + 0x1c7ce0]
jmp dword [0x1c7ce8]
mov edx, dword [eax + edx + 0x78]
xor ecx, ecx
test edx, edx
sete cl
jmp dword [ecx*4 + 0x1c7d08]
mov dword [esp + 0x20], esi
mov ecx, dword [eax + edx + 0x20]
add ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + edx + 0x24]
add ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + edx + 0x1c]
add ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + edx + 0x18]
xor esi, esi
xor eax, eax
mov dword [esp + 0x38], ecx
cmp esi, ecx
setb al
mov ecx, dword [0x1c7d40]
mov dword [esp + 0x34], ecx
mov edx, 1
jmp dword [eax*4 + 0x1c7d20]
mov eax, dword [ebp + 8]
mov esi, dword [eax + edx + 0x7c]
xor ecx, ecx
test esi, esi
sete cl
jmp dword [ecx*4 + 0x1c7d00]
jmp dword [0x1c7d18]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 8]
setne cl
xor edi, edi
jmp dword [ecx*4 + 0x1c7cf8]
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + edx]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], 0x63622410
mov dword [esp + 0xc], 0
mov dword [esp + 0xf], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xa
ja 0x1ba3f7
nop
nop
nop
nop
nop
nop
mov edi, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea ebx, [edi + 0x1c172d70]
lea esi, [edi + 0x70]
mov eax, esi
and eax, ebx
and eax, ecx
xor esi, ebx
and esi, ecx
add ecx, edi
add ecx, 0x1c172d70
lea eax, [esi + eax*2]
sub ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
add al, 0xf0
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x1ba3b0
jmp dword [0x1c7cf4]
mov dword [esp + 8], 0x63622410
mov dword [esp + 0xc], 0
mov dword [esp + 0xf], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja case.0x1ba11d.2
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
lea ecx, [edx + 0x1c172d70]
lea esi, [edx + 0x70]
mov edi, esi
and edi, ecx
and edi, eax
xor esi, ecx
and esi, eax
add eax, edx
add eax, 0x1c172d70
lea ecx, [esi + edi*2]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xf0
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x1ba430
jmp case.0x1ba11d.2