joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008c9e0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x100bc3f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, 0x10118ae0
mov dword [esp + 4], 0x10118ae0
call fcn.100077e0
mov dword [esp + 0x14], 0
mov ecx, 0x10118af4
mov dword [0x10118ae8], 0
mov dword [0x10118aec], 0
mov dword [0x10118af0], 0
call fcn.10007960
mov byte [esp + 0x14], 1
mov ecx, 0x10118b00
mov dword [0x10118afc], 0
call fcn.100077e0
mov ecx, 0x10118b0c
mov byte [esp + 0x14], 2
call fcn.10008070
mov byte [esp + 0x14], 3
mov dword [0x10118b14], 0
mov dword [0x10118b18], 0
mov ecx, 0x10118b38
mov byte [0x10118b1c], 0
mov dword [0x10118b20], 0
mov dword [0x10118b24], 0
mov dword [0x10118b28], 0
mov dword [0x10118b2c], 0
mov byte [0x10118b30], 0
mov dword [0x10118b34], 0
call fcn.100077e0
mov ecx, 0x10118b40
mov byte [esp + 0x14], 4
call fcn.10093840
mov byte [esp + 0x14], 5
call fcn.1008e950
push eax
call fcn.10036076
add esp, 4
call fcn.10036053
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push 0
divsd xmm0, qword [0x100e2100]
mov ecx, 1
mulsd xmm0, qword [0x100e2170]
push 0
push 0
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [0x10118af0], ecx
call dword [0x1010cf48]
push 0
push 0
push 0
mov dword [0x10118ae8], eax
call dword [0x1010cf48]
push 0
push 0
push 0
mov dword [0x10118aec], eax
call dword [0x1010cf48]
mov dword [0x10118b28], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
push 0
push 0
mov dword [0x10118afc], eax
call dword [0x1010cf48]
push 0x24
mov dword [0x10118b08], eax
call fcn.10035e2f
add esp, 4
mov dword [esp + 8], eax
mov byte [esp + 0x14], 6
test eax, eax
je 0x1008cba7
lea ecx, [esp]
push ecx
mov ecx, eax
mov dword [esp + 4], 0x400
call fcn.10008130
mov dword [0x10118b18], eax
mov eax, 0x10118ae0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
mov dword [0x10118b18], 0
mov eax, 0x10118ae0
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x10092ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100bc909
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
lea ecx, [edi + 0x88]
call fcn.100951d0
lea ecx, [edi + 0xb8]
call fcn.100951d0
lea ecx, [edi + 0x2a4]
call fcn.10006940
mov dword [esp + 0x14], 0
mov ecx, edi
mov dword [edi + 0xf0], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x280], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x288], 0
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], 0
call fcn.100909d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x19], al
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
movzx eax, byte [esi + 0x38]
mov byte [edi + 0x38], al
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov byte [edi + 0x44], 1
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], 0
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov byte [edi + 0x63], 0
mov byte [edi + 0x5c], 0
mov byte [edi + 0x5d], 0
mov byte [edi + 0x5e], 0
mov byte [edi + 0x5f], 0
mov byte [edi + 0x60], 0
mov byte [edi + 0x61], 0
mov byte [edi + 0x62], 1
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10095070
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret
Function at 0x10096280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bcc52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
lea eax, [edi + 0xc]
push eax
call fcn.1008e810
mov dword [esp + 0x30], 0
cmp dword [edi + 8], 0xffffffff
je 0x1009633e
lea ecx, [esp + 0xc]
call fcn.1008e770
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0xc]
jb 0x1009633e
ja 0x100962dc
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 8]
jb 0x1009633e
mov esi, dword [esi]
push esi
mov ecx, edi
call fcn.100960b0
cmp byte [esi + 0x5e], 0
je 0x1009633e
cmp byte [esi + 0x61], 0
jne 0x1009633e
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x40]
mov ecx, esi
call fcn.1008f510
test eax, eax
jle 0x1009633e
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x288]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test ecx, ecx
jne 0x10096322
test eax, eax
je 0x10096337
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, edi
call fcn.10096180
mov esi, 1
jmp 0x10096341
or esi, 0xffffffff
lea ecx, [esp + 0x20]
call fcn.1008e7f0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret 8

Function at 0x100968b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100bcca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 0x48]
call fcn.10095a80
lea eax, [edi + 0x64]
push eax
lea ecx, [esp + 0x14]
call fcn.1008e810
push esi
lea eax, [esp + 0x30]
add edi, 0x5c
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.100078e0
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.100038f0
push eax
lea ecx, [esp + 0x30]
call fcn.10003980
test al, al
je 0x1009697b
lea ecx, [esp + 0x2c]
call fcn.10003950
lea esi, [eax + 4]
mov ecx, esi
call fcn.100120d0
test al, al
jne 0x1009696b
nop
mov ecx, esi
call fcn.100120f0
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push dword [eax]
call fcn.10035d9e
add esp, 4
mov ecx, esi
call fcn.100120f0
mov ecx, dword [eax]
test ecx, ecx
je 0x10096959
push ecx
call fcn.10003090
mov ecx, esi
call fcn.10012110
mov ecx, esi
call fcn.100120d0
test al, al
je 0x10096930
push dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [esp + 0x10]
call fcn.1008e7f0
mov ecx, dword [esp + 0x1c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4
Function at 0x100969f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100bccb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x64]
push ebx
lea ecx, [esp + 0x1c]
call fcn.1008e810
mov dword [esp + 0x28], 0
mov ebp, dword [esp + 0x30]
push ebp
lea eax, [esp + 0x34]
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.100078e0
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.100038f0
push eax
lea ecx, [esp + 0x34]
call fcn.10002c30
test al, al
je 0x10096abc
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x3e8
push dword [esi + 0x68]
call dword [0x1010d12c]
push 0xffffffffffffffff
push dword [ebx]
call dword [0x1010d12c]
push ebp
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.100078e0
mov esi, dword [eax]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x34], esi
call fcn.100038f0
push eax
lea ecx, [esp + 0x34]
call fcn.10002c30
test al, al
je 0x10096ac0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0xffffffff
call fcn.10095390
or esi, 0xffffffff
jmp 0x10096b8d
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x30]
call fcn.10003950
add eax, 4
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.100120f0
mov ebp, dword [eax]
mov ecx, ebp
call fcn.100953c0
mov ebx, dword [esp + 0x34]
mov ecx, ebx
mov edx, eax
call fcn.100953c0
cmp eax, edx
jge 0x10096b0b
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0xffffffff
call fcn.10095390
or esi, 0xffffffff
jmp 0x10096b8d
movq xmm0, qword [ebp + 0x14]
movq qword [ebx + 0x14], xmm0
movq xmm0, qword [ebp + 0x1c]
mov ecx, ebp
movq qword [ebx + 0x1c], xmm0
call fcn.100953c0
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebx + 0x10]
push dword [eax]
call fcn.10037e80
add esp, 0xc
mov ecx, ebp
call fcn.100953c0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.10095390
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.10035d9e
mov ecx, ebp
call fcn.10003090
mov ecx, dword [esp + 0x30]
call fcn.10012110
mov ecx, dword [esp + 0x30]
call fcn.100120d0
test al, al
je 0x10096b84
push esi
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.10011c40
mov ecx, ebx
call fcn.100953c0
mov esi, eax
lea ecx, [esp + 0x18]
call fcn.1008e7f0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x10096c10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100bccd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.1008e810
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov ecx, dword [edi + 0x29c]
mov edx, dword [ecx + 0x10]
test edx, edx
js 0x10096c7b
mov eax, dword [esp + 0x34]
cmp byte [eax], 0
je 0x10096c98
test edx, edx
jne 0x10096c73
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], edx
mov ecx, dword [esi + 0x18]
call fcn.1008e6b0
jmp 0x10096c98
push edi
mov ecx, esi
call fcn.100960b0
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
call fcn.10096180
lea ecx, [esp + 0x18]
call fcn.1008e7f0
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8

Function at 0x10096ce0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bcceb
push eax
mov dword fs:[0], esp
mov edx, dword [esp + 0x14]
sub esp, 0x5c
mov eax, dword [edx]
push esi
push dword [esp + 0x78]
mov esi, ecx
push edx
push dword [esp + 0x78]
lea ecx, [esi + 4]
mov dword [esi + 0x34], eax
call fcn.10096640
push 8
call fcn.10035e2f
add esp, 4
test eax, eax
je 0x10096d2c
mov ecx, eax
call fcn.10095e90
jmp 0x10096d2e
xor eax, eax
push dword [esp + 0x7c]
mov ecx, eax
mov dword [esi + 0x28], eax
call fcn.10095df0
mov eax, dword [esp + 0x80]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x84]
push 8
mov dword [esi + 0x30], eax
call fcn.10035e2f
add esp, 4
test eax, eax
je 0x10096d67
mov ecx, eax
call fcn.10095fe0
jmp 0x10096d69
xor eax, eax
push 0xc
mov dword [esi + 0x24], eax
call fcn.10035e2f
add esp, 4
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], 0
test eax, eax
je 0x10096d8f
mov ecx, eax
call fcn.10095cb0
jmp 0x10096d91
xor eax, eax
mov dword [esp + 0x68], 0xffffffff
mov dword [esi + 0x48], eax
lea eax, [esp + 0x78]
push eax
push 0
push esi
push 0x10095560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x10096dd7
push 0xffffffffffffffff
push 1
push 3
lea ecx, [esp + 0x14]
call fcn.1008e870
push 0x100f3588
lea eax, [esp + 0xc]
push eax
call fcn.1003856a
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop esi
add esp, 0x68
ret 0x18
Function at 0x10098830
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100bd068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
mov ecx, dword [esi]
call fcn.1009c160
push eax
lea ecx, [esp + 0xc]
call fcn.10001520
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov dword [edi + 4], eax
mov dword [edi], vtable.Poco::PDF::Resource_struct__HPDF_Dict_Rec__.0
mov eax, dword [esi]
mov dword [edi + 8], eax
lea eax, [esp + 8]
push eax
lea ecx, [edi + 0xc]
call fcn.10013d60
lea ecx, [esp + 8]
call fcn.10001560
mov ecx, dword [esp + 0x20]
mov dword [edi], vtable.Poco::PDF::Font.0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8

Function at 0x100a0630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [esp + 8], 0
push ebp
mov ebp, edx
jbe 0x100a06d0
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
sub ebp, edi
movzx eax, byte [ecx]
inc eax
and eax, 0x800000ff
jns 0x100a0659
dec eax
or eax, 0xffffff00
inc eax
movzx ebx, byte [ecx + 1]
movzx esi, al
mov byte [ecx], al
movzx eax, byte [esi + ecx + 2]
add ebx, eax
and ebx, 0x800000ff
jns 0x100a0679
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [ecx + 1], bl
mov dl, byte [esi + ecx + 2]
movzx eax, bl
movzx eax, byte [eax + ecx + 2]
mov byte [esi + ecx + 2], al
movzx eax, byte [ecx + 1]
mov byte [eax + ecx + 2], dl
movzx eax, byte [ecx + 1]
movzx edx, byte [eax + ecx + 2]
movzx eax, byte [ecx]
movzx eax, byte [eax + ecx + 2]
add edx, eax
and edx, 0x800000ff
jns 0x100a06b7
dec edx
or edx, 0xffffff00
inc edx
movzx eax, byte [edx + ecx + 2]
xor al, byte [edi + ebp]
inc edi
dec dword [esp + 0x18]
mov byte [edi - 1], al
jne 0x100a0647
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100a06e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, edx
mov ebx, ecx
xor eax, eax
mov byte [ebx + eax + 2], al
inc eax
cmp eax, 0x100
jb 0x100a06f2
mov esi, dword [esp + 0x114]
xor ecx, ecx
mov eax, ecx
xor edx, edx
div esi
inc ecx
mov al, byte [edx + ebp]
mov byte [esp + ecx + 0xf], al
cmp ecx, 0x100
jb 0x100a0707
xor esi, esi
nop
mov dl, byte [ebx + esi + 2]
movzx eax, byte [esp + esi + 0x10]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0xff
inc esi
mov al, byte [ebx + edi + 2]
mov byte [ebx + esi + 1], al
mov byte [ebx + edi + 2], dl
cmp esi, 0x100
jb 0x100a0720
pop edi
pop esi
pop ebp
mov word [ebx], 0
pop ebx
add esp, 0x100
ret
Function at 0x100a0760
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x19c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push dword [ebp + 4]
lea edx, [ebp + 0x9c]
lea ecx, [esp + 0xa4]
call fcn.100a06e0
lea eax, [ebp + 0x68]
push 0x20
push eax
mov edx, 0x100d14a0
lea ecx, [esp + 0xac]
mov dword [esp + 0x20], eax
call fcn.100a0630
add esp, 0xc
cmp dword [ebp], 3
jne 0x100a088f
lea ecx, [esp + 0x48]
call fcn.100a12d0
push 0x20
mov edx, 0x100d14a0
call fcn.100a1210
push 0x10
lea edx, [ebp + 0x8c]
lea ecx, [esp + 0x50]
call fcn.100a1210
lea edx, [esp + 0x50]
lea ecx, [esp + 0x30]
call fcn.100a1160
push dword [ebp + 4]
lea edx, [ebp + 0x9c]
lea ecx, [esp + 0xac]
call fcn.100a06e0
lea eax, [esp + 0x24]
push 0x10
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xb4]
call fcn.100a0630
add esp, 0x14
mov ebx, 1
mov esi, dword [ebp + 4]
xor eax, eax
test esi, esi
je 0x100a0832
lea esp, [esp]
mov cl, byte [ebp + eax + 0x9c]
xor cl, bl
mov byte [esp + eax + 0x38], cl
inc eax
cmp eax, esi
jb 0x100a0820
push 0x10
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.1009a9f0
push esi
lea edx, [esp + 0x40]
lea ecx, [esp + 0xa8]
call fcn.100a06e0
lea eax, [esp + 0x20]
push 0x10
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0xb0]
call fcn.100a0630
inc ebx
add esp, 0x10
cmp ebx, 0x13
jbe 0x100a0810
mov ecx, dword [esp + 0x14]
push 0x20
call fcn.1009ae40
mov ecx, dword [esp + 0x18]
push 0x10
lea edx, [esp + 0x20]
call fcn.1009a9f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret

Function at 0x100a0970
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c8
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x50]
call fcn.100a12d0
push 0x20
lea edx, [edi + 8]
call fcn.100a1210
add esp, 4
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
call fcn.100a1160
cmp dword [edi], 3
jne 0x100a09d8
mov esi, 0x32
jmp 0x100a09b0
lea ecx, [esp + 0x50]
call fcn.100a12d0
push dword [edi + 4]
lea edx, [esp + 0x14]
call fcn.100a1210
add esp, 4
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
call fcn.100a1160
dec esi
jne 0x100a09b0
push dword [edi + 4]
lea edx, [esp + 0x14]
lea ecx, [esp + 0xcc]
call fcn.100a06e0
lea eax, [esp + 0x24]
push 0x20
push eax
lea edx, [edi + 0x28]
lea ecx, [esp + 0xd4]
call fcn.100a0630
add esp, 0xc
cmp dword [edi], 3
jne 0x100a0a75
mov ebx, 1
mov edi, edi
mov esi, dword [edi + 4]
xor eax, eax
test esi, esi
je 0x100a0a2f
lea esp, [esp]
mov cl, byte [esp + eax + 0x10]
xor cl, bl
mov byte [esp + eax + 0x40], cl
inc eax
cmp eax, esi
jb 0x100a0a20
push 0x20
lea edx, [esp + 0x24]
lea ecx, [esp + 0xac]
call fcn.1009a9f0
push esi
lea edx, [esp + 0x48]
lea ecx, [esp + 0xd0]
call fcn.100a06e0
lea eax, [esp + 0x28]
push 0x20
push eax
lea edx, [esp + 0xb8]
lea ecx, [esp + 0xd8]
call fcn.100a0630
inc ebx
add esp, 0x10
cmp ebx, 0x13
jbe 0x100a0a10
push 0x20
lea ecx, [edi + 0x48]
lea edx, [esp + 0x24]
call fcn.1009a9f0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1c8
ret

Function at 0x100a12d0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
ret
Function at 0x100a1300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add ecx, 0xc1
jmp fcn.100a0630
Function at 0x100a6cf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c]
jmp 0x100a6d00
mov ebx, dword [edi + 0x3c]
mov eax, dword [edi + 0x2c]
sub ebx, dword [edi + 0x74]
add eax, 0xfffffefa
sub ebx, dword [edi + 0x6c]
add eax, esi
cmp dword [edi + 0x6c], eax
jb 0x100a6d79
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.10037e80
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
add esp, 0xc
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
jmp 0x100a6d40
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x100a6d4f
sub eax, esi
jmp 0x100a6d51
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x100a6d40
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x100a6d6f
sub eax, esi
jmp 0x100a6d71
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x100a6d60
add ebx, esi
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
je 0x100a6dcf
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
push ebx
add edx, dword [edi + 0x38]
call fcn.100a70a0
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
add esp, 4
cmp ebx, 3
jb 0x100a6dbb
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x100a6dcf
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x100a6d00
pop edi
pop esi
pop ebx
ret
Function at 0x100abb80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov esi, edx
mov al, byte [edi + 8]
mov byte [esp + 0xb], al
cmp al, 3
je 0x100abd37
push ebx
mov ebx, dword [edi]
xor edx, edx
push ebp
test al, 2
je 0x100abbd5
mov ebp, dword [esp + 0x30]
movzx edx, byte [edi + 9]
movzx eax, byte [ebp]
mov ecx, edx
sub ecx, eax
movzx eax, byte [ebp + 1]
mov dword [esp + 0x1c], ecx
mov ecx, edx
sub ecx, eax
movzx eax, byte [ebp + 2]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ebp, 3
xor edx, edx
jmp 0x100abbec
mov eax, dword [esp + 0x30]
movzx ecx, byte [edi + 9]
movzx eax, byte [eax + 3]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ebp, 1
test byte [esp + 0x13], 4
je 0x100abc06
mov eax, dword [esp + 0x30]
movzx ecx, byte [edi + 9]
movzx eax, byte [eax + 4]
sub ecx, eax
mov dword [esp + ebp*4 + 0x1c], ecx
inc ebp
xor eax, eax
test ebp, ebp
jle case.0x100abc4b.3
cmp dword [esp + eax*4 + 0x1c], 0
jg 0x100abc21
mov dword [esp + eax*4 + 0x1c], 0
jmp 0x100abc26
mov edx, 1
inc eax
cmp eax, ebp
jl 0x100abc10
test dx, dx
je case.0x100abc4b.3
movzx eax, byte [edi + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x100abc4b.3
movzx eax, byte [eax + 0x100abd54]
jmp dword [eax*4 + 0x100abd40]
mov ecx, dword [edi + 4]
test ecx, ecx
je case.0x100abc4b.3
lea ecx, [ecx]
mov al, byte [esi]
shr al, 1
and al, 0x55
mov byte [esi], al
lea esi, [esi + 1]
dec ecx
jne 0x100abc60
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 4]
mov ebx, 0xf0
sar ebx, cl
mov eax, 0xf
sar eax, cl
and bl, 0xf0
or bl, al
test edx, edx
je case.0x100abc4b.3
mov al, byte [esi]
shr al, cl
mov ecx, dword [esp + 0x1c]
lea esi, [esi + 1]
and al, bl
mov byte [esi - 1], al
dec edx
jne 0x100abc98
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
imul ebx, ebp
xor edi, edi
test ebx, ebx
je case.0x100abc4b.3
lea esp, [esp]
mov eax, edi
xor edx, edx
div ebp
inc edi
lea esi, [esi + 1]
mov cl, byte [esp + edx*4 + 0x1c]
shr byte [esi - 1], cl
cmp edi, ebx
jb 0x100abcc0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
imul ebx, ebp
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
test ebx, ebx
je case.0x100abc4b.3
mov ecx, 0x100
movzx edi, byte [esi]
xor edx, edx
imul di, cx
div ebp
movzx eax, byte [esi + 1]
add di, ax
lea esi, [esi + 1]
lea esi, [esi + 1]
mov cx, word [esp + edx*4 + 0x1c]
shr di, cl
movzx ecx, di
mov eax, ecx
shr eax, 8
mov byte [esi - 2], al
mov eax, dword [esp + 0x14]
inc eax
mov byte [esi - 1], cl
mov dword [esp + 0x14], eax
mov ecx, 0x100
cmp eax, dword [esp + 0x18]
jb 0x100abcf3
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1c
ret