joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447250
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b4548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00447dd0
lea edx, [esp + 0x18]
push eax
push edx
call 0x46e040e
nop
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call 0x47306b8
nop
test eax, eax
je 0x4472f9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00446ee0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call 0x47108f6
nop
push edi
lea ecx, [esp + 0x4c]
call fcn.004abc9d
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0045dc40
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
nop
call 0x750fada9
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call 0x4760000
nop
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call 0x4710000
nop
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004abd0f
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x447830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00445370
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x447889
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00442720
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00442710
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00446ee0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call 0x4760000
nop
push 0
lea ecx, [esp + 0x4c]
call fcn.004abc9d
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0045dc40
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00444d90
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
nop
call 0x750f8f89
mov ecx, ebx
call fcn.00442690
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x447954
push edi
mov ecx, esi
call fcn.00444ea0
push eax
push ebp
mov ecx, esi
call fcn.00445060
cmp eax, dword [esp + 0x40]
jg 0x447950
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x44792e
mov eax, ebx
jmp 0x44795a
cmp edi, ebx
jl 0x447958
mov eax, ebx
jmp 0x44795a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x44796b
mov dword [esp + 0x30], eax
jmp 0x447976
cmp edi, ebx
jl 0x447971
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00442650
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4479bd
push edi
mov ecx, esi
call fcn.00444dc0
push eax
push ebx
mov ecx, esi
call fcn.00445190
cmp eax, dword [esp + 0x44]
jg 0x4479b5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x44798f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4479c7
cmp edi, ebp
jl 0x4479c1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4479c7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4479d0
mov ecx, eax
jmp 0x4479d9
cmp edi, ebp
jl 0x4479d6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00444db0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004abd0f
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x44db00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4a28
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x44db39
inc eax
mov dword [esi + 0x10], eax
jmp 0x44dc4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44db4d
mov eax, 0xffffffc7
jmp 0x44dc4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44db5e
cmp dword [esi + 8], eax
jne 0x44db4d
cmp dword [esi + 8], eax
jne 0x44db77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44db77
mov eax, 0xffffffc7
jmp 0x44dc4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44db8b
push eax
mov ecx, ebx
call fcn.0044d330
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041eda0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44dbbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041edc0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044caa0
test eax, eax
mov dword [esp + 0x38], eax
je 0x44dbef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x64b388
call fcn.0041efa0
mov eax, dword [esp + 0x38]
jmp 0x44dc4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044d960
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44dc33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044d980
mov esi, eax
test esi, esi
jne 0x44dc63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044d960
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44dc05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x64b388
call fcn.0041efa0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x64b388
call fcn.0041efa0
mov eax, esi
jmp 0x44dc4e
Function at 0x45e2e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call 0x4760000
nop
push 0
lea ecx, [esp + 0x20]
call fcn.004abc9d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0045dc40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004abbcb
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a83ba
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a83ba
push 1
push 0
push 0
mov ecx, esi
call fcn.004a8362
push 1
push 0
push 1
mov ecx, esi
call fcn.004a8362
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004abd0f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x45e460
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004abc9d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045dc40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004abbcb
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call 0x4760000
nop
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x45e524
cmp dword [esp + 0x40], 1
jne 0x45e522
cmp ecx, eax
jge 0x45e524
mov eax, ecx
cmp eax, 0xc8
jge 0x45e530
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045e2e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call 0x4750cfb
nop
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004abd0f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x45ed30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b53e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a67d6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x64ce28
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x64cd70
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
nop
call 0x750f4f17
push eax
mov ecx, edi
call fcn.004abf45
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004ad49d
test eax, eax
je 0x45ee4c
mov ecx, dword [esp + 0x3c]
call fcn.004abf72
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4b866c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45ee10
push edi
mov ecx, esi
call fcn.004a9539
mov ecx, esi
call fcn.0045eff0
cmp dword [esp + 0x38], 1
jne 0x45ee45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a96a3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x461040
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x461073
push esi
call fcn.0046f400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46106c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4610f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4610e2
mov eax, dword [esi + 8]
test eax, eax
je 0x461097
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4610de
cmp eax, 2
je 0x4610e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46108a
cmp eax, 3
je 0x4610bd
cmp eax, 1
jne 0x46108a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46108a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46108a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00461120
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x461108
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00461120
add esp, 4
pop esi
ret
Function at 0xbd1890
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0xbd1991
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xbd1991
push ebx
call fcn.00bd8730
add esp, 4
test eax, eax
je 0xbd18ea
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xbd18f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xbd18d0
jmp 0xbd18f3
mov esi, 0x1505
jmp 0xbd18f3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0xbd1991
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xbd1924
inc ebp
dec ebx
je 0xbd198f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0xbd198f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xbd1920
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00bd8730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xbd1920
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00bd8750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xbd1920
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xbd198f
cmp dword [eax + 4], 2
mov edi, 0
jne 0xbd1991
mov edi, dword [eax + 8]
jmp 0xbd1991
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xbd19c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0xbd1a2b
mov esi, dword [esp + 0x30]
test esi, esi
je 0xbd1a2b
push esi
call fcn.00bd8730
add esp, 4
test eax, eax
je 0xbd1a0a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0xbd1a11
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0xbd19f0
jmp 0xbd1a13
mov ebp, 0x1505
jmp 0xbd1a13
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0xbd1a37
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xbd1a54
inc ebx
dec edi
je 0xbd1a2b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xbd1a2b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0xbd1a50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00bd8730
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0xbd1a50
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00bd8750
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0xbd1a50
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0xbd1a2b
cmp dword [eax + 4], 3
jne 0xbd1a2b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0xbd1a2b
Function at 0xbd1af0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0xbd1bf1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xbd1bf1
push ebx
call fcn.00bd8730
add esp, 4
test eax, eax
je 0xbd1b4a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xbd1b51
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xbd1b30
jmp 0xbd1b53
mov esi, 0x1505
jmp 0xbd1b53
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0xbd1bf1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xbd1b84
inc ebp
dec ebx
je 0xbd1bef
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0xbd1bef
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xbd1b80
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00bd8730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xbd1b80
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00bd8750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xbd1b80
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xbd1bef
cmp dword [eax + 4], 5
mov edi, 0
jne 0xbd1bf1
mov edi, dword [eax + 8]
jmp 0xbd1bf1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xbd1f20
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0xbd1f8d
mov esi, dword [esp + 0x28]
test esi, esi
je 0xbd1f8d
push esi
call fcn.00bd8730
add esp, 4
test eax, eax
je 0xbd1f6a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0xbd1f71
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0xbd1f50
jmp 0xbd1f73
mov ebx, 0x1505
jmp 0xbd1f73
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0xbd1f95
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xbd1fa4
inc ebp
dec edi
je 0xbd1f8b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xbd1f8b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0xbd1fa0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00bd8730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xbd1fa0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00bd8750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xbd1fa0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0xbd1f8d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0xbd1f8d
Function at 0xbd8270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0xbd828b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0xbd8293
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0xbd832b
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0xbd82d9
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0xbd833a
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0xbd82ee
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0xbd8300
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0xbd82c0
jmp 0xbd8309
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0xbd82c0
cmp edi, ebx
jge 0xbd8320
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0xbd82c4
jmp 0xbd8324
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0xbd82cd
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0xbd83c2
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0xbd83c2
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0xbd8374
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0xbd8360
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0xbd83c2
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0xbd8380
dec eax
mov ecx, 1
xor esi, esi
jmp 0xbd83dc
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0xbd828b
test edx, edx
mov dword [esp], ecx
js 0xbd8410
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0xbd8420
inc ebp
dec edx
cmp edi, ebp
jne 0xbd83f0
mov edx, 0xffffffff
jmp 0xbd8422
xor edi, edi
jmp 0xbd8425
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0xbd83d0
and ebp, 3
je 0xbd8458
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0xbd8440
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0xbd845a
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0xbd83d0
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0xbd8470
jmp 0xbd83d0