joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18ed000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
mov byte [ebp - 0x18], 0x42
push 0
push esi
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x4b
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x51
mov byte [ebp - 0xd], 0x52
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x57
mov byte [ebp - 9], 0x58
mov byte [ebp - 8], 0x59
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x34
mov byte [ebp - 4], 0x36
mov byte [ebp - 3], 0x37
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], 0x39
call fcn.018facfd
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
jle 0x18ed0c1
mov eax, dword [ebp + 8]
mov al, byte [edi + eax]
cmp al, 0x2d
je 0x18ed0bb
xor edx, edx
cmp al, byte [ebp + edx - 0x18]
je 0x18ed098
inc edx
cmp edx, 0x17
jl 0x18ed08c
cmp edx, 0x18
je 0x18ed0c7
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jle 0x18ed0bb
movzx eax, byte [ecx + esi]
imul eax, eax, 0x18
add eax, edx
mov byte [ecx + esi], al
sar eax, 8
inc ecx
cmp ecx, dword [ebp + 0x14]
mov edx, eax
jl 0x18ed0a4
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x18ed080
mov eax, esi
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x18ed0c3

Function at 0x18ed0cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
dec edi
mov byte [ebp - 0x1c], 0x42
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0x19], 0x46
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x4a
mov byte [ebp - 0x15], 0x4b
mov byte [ebp - 0x14], 0x4d
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x51
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x58
mov byte [ebp - 0xc], 0x59
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x34
mov byte [ebp - 8], 0x36
mov byte [ebp - 7], 0x37
mov byte [ebp - 6], 0x38
mov byte [ebp - 5], 0x39
mov dword [ebp - 4], edi
js 0x18ed193
mov dword [ebp + 0x14], 1
push ebx
add edi, eax
sub dword [ebp + 0x14], eax
push esi
mov eax, dword [ebp + 0x14]
add eax, edi
push 6
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x18ed160
mov byte [edi], 0x2d
jmp 0x18ed187
mov esi, dword [ebp + 0xc]
xor eax, eax
jmp 0x18ed184
mov ecx, dword [ebp + 8]
add ecx, esi
movzx edx, byte [ecx]
shl eax, 8
or eax, edx
cdq
push 0x18
pop ebx
idiv ebx
mov byte [ecx], al
mov eax, edx
mov cl, byte [ebp + eax - 0x1c]
mov byte [edi], cl
dec esi
jns 0x18ed167
dec dword [ebp - 4]
dec edi
cmp dword [ebp - 4], 0
jge 0x18ed14c
pop esi
pop ebx
mov eax, dword [ebp + 0x10]
pop edi
leave
ret
Function at 0x18eef1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa4
push ebx
mov byte [esi + 8], al
and al, 0x80
push edi
mov edi, ecx
mov bl, dl
mov byte [ebp + 0x5c], 0xaa
mov byte [ebp + 0x5d], 0xbb
mov byte [ebp + 0x5e], 0xcc
mov byte [ebp + 0x5f], 0xdd
mov byte [ebp + 0x60], 0xee
mov byte [ebp + 0x61], 0xff
mov byte [ebp + 0x62], 0x11
mov byte [ebp + 0x63], 0x22
mov byte [ebp + 0x64], 0x33
mov byte [ebp + 0x65], 0x44
mov byte [ebp + 0x66], 0x55
mov byte [ebp + 0x67], 0x66
mov byte [ebp + 0x68], 0x77
mov byte [ebp + 0x69], 0x88
mov byte [ebp + 0x6a], 0x99
mov byte [ebp + 0x6b], 0x99
mov byte [esi + 5], al
call fcn.018f27c3
mov dword [esi + 1], eax
test bl, bl
jne 0x18eef89
mov byte [esi + 9], bl
jmp 0x18ef003
test byte [esi + 5], 0x80
movzx eax, bl
je 0x18eeff0
mov ecx, eax
and ecx, 0x8000000f
mov dword [ebp + 0x6c], eax
jns 0x18eefa4
dec ecx
or ecx, 0xfffffff0
inc ecx
je 0x18eefae
shr bl, 4
inc bl
shl bl, 4
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x34]
push eax
mov byte [esi + 9], bl
call fcn.018facd8
movzx ecx, byte [esi + 9]
mov eax, dword [ebp + 0x6c]
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x34]
push eax
call fcn.018f27a9
lea eax, [ebp + 0x5c]
push eax
movzx eax, byte [esi + 9]
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x7c]
call fcn.018ef7f6
add esp, 0x28
jmp 0x18ef003
push eax
push dword [ebp + 0x78]
lea eax, [esi + 0xa]
push eax
mov byte [esi + 9], bl
call fcn.018facd8
add esp, 0xc
movzx eax, byte [esi + 9]
sub edi, eax
lea eax, [eax + esi + 0xa]
push edi
push eax
call fcn.018f27a9
movzx edi, byte [esi + 9]
xor eax, eax
pop ecx
mov word [esi + 6], ax
pop ecx
lea ecx, [edi + 0xa]
mov eax, ecx
cdq
sub eax, edx
xor ebx, ebx
sar eax, 1
and ecx, 0x80000001
mov dword [ebp + 0x6c], ebx
jns 0x18ef03c
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp eax, ebx
mov dx, word [ebp + 0x6c]
jle 0x18ef04d
xor dx, word [esi + ebx*2]
inc ebx
cmp ebx, eax
jl 0x18ef044
test ecx, ecx
je 0x18ef05a
movzx ax, byte [edi + esi + 9]
xor dx, ax
pop edi
mov word [esi + 6], dx
pop ebx
add ebp, 0x70
leave
ret

Function at 0x18ef7af
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jle 0x18ef7c1
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x18ef7b8
pop esi
ret
Function at 0x18f0102
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.018efbf5
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
add esp, 0xc
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x18f0174
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x18f0133
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x18f02e6
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x1908b68]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1908b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1908f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909768]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x1908b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909368]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x1908b68]
and edx, ecx
xor edi, dword [edx*4 + 0x1909b68]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x1908b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1908b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1908f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909768]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x1908b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909368]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x1908b68]
and edx, ecx
xor edi, dword [edx*4 + 0x1909b68]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x1908b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1908b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1908f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909768]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x1908b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909368]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x1908b68]
and edx, ecx
xor edi, dword [edx*4 + 0x1909b68]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x1908b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1908b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1908f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909768]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x1908b68]
and edx, ecx
mov edx, dword [edx*4 + 0x1908b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1909368]
and edx, ecx
xor edi, dword [edx*4 + 0x1909b68]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x18f0188
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18f2067
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 9]
and dword [ebp - 4], 0
push esi
lea esi, [eax + 0xa]
mov eax, esi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
and edx, 0x80000001
push edi
jns 0x18f2091
dec edx
or edx, 0xfffffffe
inc edx
mov si, word [ebp - 4]
xor edi, edi
test eax, eax
jle 0x18f20a4
xor si, word [ecx + edi*2]
inc edi
cmp edi, eax
jl 0x18f209b
test edx, edx
je 0x18f20b5
movzx eax, byte [ecx + 9]
movzx ax, byte [eax + ecx + 9]
xor si, ax
movzx eax, word [ecx + 6]
mov cx, ax
xor cx, si
xor edx, edx
cmp cx, ax
sete dl
pop edi
pop esi
dec edx
mov eax, edx
leave
ret
Function at 0x18f336b
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x19025e8]
or edx, dword [ebx*4 + 0x19027e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x19029e8]
and esi, edi
or edx, dword [esi*4 + 0x1902be8]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x19026e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x19028e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x1902ae8]
and esi, edi
or ecx, dword [esi*4 + 0x1902ce8]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x19025e8]
or edx, dword [ebx*4 + 0x19027e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x19029e8]
and esi, edi
or edx, dword [esi*4 + 0x1902be8]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x19026e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x19028e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x1902ae8]
and esi, edi
or ecx, dword [esi*4 + 0x1902ce8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x18f33e6
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x18f37b3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
xor ebx, ebx
push edi
xor ecx, ecx
movzx eax, byte [ecx + 0x1902570]
mov esi, dword [ebp + 0xc]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x1902500], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x18f37c3
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 4]
lea eax, [edi + edi]
lea ecx, [ebp + eax*4 - 0xf0]
lea esi, [ebp + eax*4 - 0xf4]
movzx eax, byte [edi + 0x19025a8]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x18f381d
mov bl, byte [ebp + edi - 0x74]
jmp 0x18f3824
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x18f3812
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x18f383f
mov dl, byte [ebp + eax - 0x74]
jmp 0x18f3846
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x18f3834
xor ebx, ebx
xor eax, eax
lea edx, [eax + 0x19025d0]
movzx edi, byte [edx - 0x18]
cmp byte [ebp + edi - 0x3c], bl
je 0x18f386e
mov edi, dword [eax*4 + 0x1902510]
or dword [esi], edi
movzx edx, byte [edx]
cmp byte [ebp + edx - 0x3c], bl
je 0x18f3880
mov edx, dword [eax*4 + 0x1902510]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x18f3855
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x18f37ef
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
call fcn.018f32c0
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.018f817f
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.018f817f
push 0x80
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.018f817f
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18f3b92
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.018facfd
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
ret
Function at 0x18f3c60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
xor cl, cl
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], cl
jmp 0x18f3c93
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x18f3cc1
cmp cl, 0x14
je 0x18f3cb8
cmp cl, 0x28
je 0x18f3caf
cmp cl, 0x3c
jne 0x18f3cc8
mov dword [ebp - 0xc], 0xca62c1d6
jmp 0x18f3cc8
mov dword [ebp - 0xc], 0x8f1bbcdc
jmp 0x18f3cc8
mov dword [ebp - 0xc], 0x6ed9eba1
jmp 0x18f3cc8
mov dword [ebp - 0xc], 0x5a827999
mov bl, cl
and bl, 0xf
mov byte [ebp - 1], bl
cmp cl, 0xf
jbe 0x18f3d0b
movzx ecx, bl
lea edi, [edx + ecx*4]
mov dword [ebp - 0x1c], edi
lea edi, [ecx - 8]
and edi, 0xf
mov edi, dword [edx + edi*4]
lea ebx, [ecx - 3]
and ebx, 0xf
xor edi, dword [edx + ebx*4]
mov bl, byte [ebp - 1]
add ecx, 2
and ecx, 0xf
xor edi, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x1c]
xor edi, dword [ecx]
rol edi, 1
mov dword [ecx], edi
mov edi, dword [ebp - 0x10]
mov cl, byte [ebp + 0xb]
cmp cl, 0x14
jae 0x18f3d16
mov ecx, esi
not ecx
jmp 0x18f3d25
cmp cl, 0x28
jb 0x18f3d30
cmp cl, 0x3c
jae 0x18f3d30
mov ecx, dword [ebp - 8]
or ecx, esi
and ecx, edi
mov edi, dword [ebp - 8]
and edi, esi
or ecx, edi
jmp 0x18f3d37
mov ecx, edi
xor ecx, dword [ebp - 8]
xor ecx, esi
mov edi, dword [ebp - 0x14]
rol edi, 5
movzx ebx, bl
add edi, dword [edx + ebx*4]
add edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x18]
add ecx, edi
mov edi, dword [ebp - 0x10]
inc byte [ebp + 0xb]
ror esi, 2
cmp byte [ebp + 0xb], 0x50
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
jb 0x18f3c90
add dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [eax + 0xc], edi
add dword [eax + 4], esi
add dword [eax + 8], ecx
mov ecx, dword [ebp - 0x18]
add dword [eax + 0x10], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18f42f4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.018facfd
mov esi, dword [ebp + 8]
push esi
call fcn.018f3b92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.018f3b92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.018facfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x18f435b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.018f3d89
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.018f3e2e
push esi
call fcn.018f3b92
add esp, 0x18
jmp 0x18f436f
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.018facd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x18f4374
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.018f3d89
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x18f438e
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.018f3d89
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x18f43d6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.018facfd
mov esi, dword [ebp + 8]
push esi
call fcn.018f3b92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.018f3b92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.018facfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x18f443d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.018f41d8
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.018f4271
push esi
call fcn.018f3b92
add esp, 0x18
jmp 0x18f4451
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.018facd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x18f4456
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.018f41d8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x18f4470
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.018f41d8
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x18f44f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x10]
push 0x10
sub esi, ebx
mov ecx, ebx
sub edx, ebx
pop edi
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
dec edi
jne 0x18f451f
xor edx, edx
xor esi, esi
mov al, byte [edx + 0x1902ef8]
lea ecx, [ebp + esi - 0x30]
xor byte [ecx], al
movzx edx, byte [ecx]
inc esi
cmp esi, 0x30
jb 0x18f452f
add edx, edi
and edx, 0xff
inc edi
cmp edi, 0x12
jb 0x18f452d
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ecx, byte [eax + 0xf]
mov edx, ebx
push 0x10
sub edx, eax
pop esi
movzx edi, byte [edx + eax]
xor edi, ecx
mov cl, byte [edi + 0x1902ef8]
xor byte [eax], cl
movzx ecx, byte [eax]
inc eax
dec esi
jne 0x18f456a
pop edi
pop esi
leave
ret

Function at 0x18f4652
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x18f980f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x18f9e86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x10
xor edi, edi
lea eax, [esi + 4]
push edi
push eax
call fcn.018f817f
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi], 0x200
push edi
call fcn.018faf73
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.018faf7f
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
call fcn.018faf91
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp eax, edi
mov ecx, eax
jge 0x18f9eda
neg eax
xor ecx, ecx
mov dword [0x190b7f0], eax
inc ecx
mov eax, dword [0x190b7f0]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [edx + 0x19030d8]
xor eax, ecx
mov dword [ebp - 0x10], ecx
movzx ecx, ax
shr eax, 0x10
mov edi, eax
imul edi, eax
mov ebx, ecx
imul ebx, ecx
imul ecx, eax
mov eax, dword [ebp - 0x10]
not edi
add edi, ebx
ror edi, 0x10
xor edi, dword [edx + 0x19030e8]
add edx, 4
add edi, ecx
xor edi, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, edi
cmp edx, 0x10
jb 0x18f9ee4
push 4
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], ecx
call fcn.018f8036
push 0x24
push dword [ebp - 0xc]
push esi
call fcn.018f8036
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.018f8036
xor edi, edi
add esp, 0x24
cmp dword [esi], edi
jne 0x18f9ea8
push 0x24
push edi
push dword [ebp - 0xc]
call fcn.018f817f
add esp, 0xc
pop edi
pop ebx
leave
ret

Function at 0x18fcffe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0x190aca8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x18fd01e
or eax, 0xffffffff
jmp 0x18fd098
push 0x190ac9c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x18fd019
push edi
push 0x190ab58
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x18fd051
push 0x190ab74
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
jne 0x18fd056
or eax, 0xffffffff
jmp 0x18fd097
push ebx
call eax
push 0
push 2
mov ebx, eax
call edi
push 0x190ab28
push esi
mov edi, eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x18fd093
lea ecx, [ebp - 0x128]
push ecx
push edi
call eax
test eax, eax
je 0x18fd093
push 0x190ab18
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x18fd0a3
or eax, 0xffffffff
pop ebx
pop edi
pop esi
leave
ret
cmp dword [ebp - 0x120], ebx
je 0x18fd0b3
lea eax, [ebp - 0x128]
push eax
push edi
call esi
test eax, eax
jne 0x18fd09b
jmp 0x18fd093
mov eax, dword [ebp - 0x110]
jmp 0x18fd096