joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100163b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10175120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100163e0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001641c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1001641c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10016503
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10016444
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10016477
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.100e23aa
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x10016503
cmp eax, 1
jle 0x100164d6
cmp eax, 3
jne 0x10016503
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10011180
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100164f3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100e2ce8
add esp, 0x10
cmp edi, eax
jne 0x10016503
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10016407
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 4
Function at 0x10016f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x10017054
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x10017043
jg 0x10016fb8
test edx, edx
je 0x10017043
call fcn.10009730
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x10017008
jg 0x10016fce
test esi, esi
je 0x10017008
cmp ebx, eax
jg 0x10016fdd
jl 0x10016fd8
cmp edi, esi
jae 0x10016fdd
mov esi, edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [ebp + 8]
call fcn.100d9250
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [ebp + 8]
jmp 0x1001702a
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x1001703d
mov eax, dword [ebp + 8]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [ebp - 4]
add eax, esi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x10016fb8
jl 0x1001703d
test edi, edi
jne 0x10016fb8
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x10017073
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x10017075
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x1001711d
jg 0x1001708f
test esi, esi
je 0x1001711d
test eax, eax
jl 0x100170ce
jg 0x10017099
test ebx, ebx
je 0x100170ce
cmp edi, eax
jg 0x100170a8
jl 0x100170a3
cmp esi, ebx
jae 0x100170a8
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.100d9250
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ebx
sub esi, ebx
sbb edi, dword [ebp + 0x10]
mov eax, dword [ecx + 0x2c]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x100170d4
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test edi, edi
jl 0x1001711d
jg 0x100170de
test esi, esi
je 0x1001711d
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x1001711d
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x10017109
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [ebp + 8]
call fcn.100e2680
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x100172ce
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x100172bd
jg 0x10017238
test edx, edx
je 0x100172bd
call fcn.10009f90
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x10017286
jg 0x1001724e
test esi, esi
je 0x10017286
cmp ebx, eax
jg 0x1001725d
jl 0x10017258
cmp edi, esi
jae 0x1001725d
mov esi, edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.100d9250
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x100172aa
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x100172b7
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp + 8], esi
test ebx, ebx
jg 0x10017238
jl 0x100172b7
test edi, edi
jne 0x10017238
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x100172ed
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x100172ef
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x10017368
jg 0x10017301
test esi, esi
je 0x10017368
test eax, eax
jl 0x10017342
jg 0x1001730b
test ebx, ebx
je 0x10017342
cmp edi, eax
jg 0x1001731a
jl 0x10017315
cmp esi, ebx
jae 0x1001731a
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.100d9250
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [ebp + 0x10]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x10017345
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10017368
jg 0x1001734f
test esi, esi
je 0x10017368
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10017368
push eax
push esi
push 1
push edx
call fcn.100e2ce8
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001c2b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x1001c2d4
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x1001c2f1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1001c2e0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1001c32a
cmp eax, edi
jne 0x1001c322
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1001c332
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001c332
cmp eax, edi
jne 0x1001c332
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.1001c560
push 0x50
push edi
call fcn.100319fc
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001d000
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
jb 0x1001d021
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x1001d041
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1001d030
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edi, dword [ebx + 4]
mov dword [ebp - 4], edi
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, edi
jne 0x1001d06b
mov eax, edi
jmp 0x1001d06f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1001d0e4
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x1001d083
mov eax, dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x1001d08e
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0xc]
jne 0x1001d0c5
test ecx, ecx
je 0x1001d0cf
movzx edx, word [ebx]
movzx edi, word [eax]
cmp dx, di
jb 0x1001d0bf
sub ebx, eax
cmp dx, di
ja 0x1001d0bf
cmp ecx, 1
je 0x1001d0cc
movzx edx, word [ebx + eax + 2]
add eax, 2
dec ecx
movzx edi, word [eax]
cmp dx, di
jae 0x1001d0a7
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x1001d063
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001c610
test al, al
cmove edi, esi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10020b50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x10020b6f
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10020b91
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10020b80
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edi, dword [ebx + 4]
mov dword [ebp - 4], edi
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x14], eax
cmp edx, edi
jne 0x10020bbe
mov eax, edi
jmp 0x10020bc2
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10020c3d
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x10020bd6
mov eax, dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x10020be1
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0x10]
jne 0x10020c18
test ecx, ecx
je 0x10020c22
movzx edx, word [ebx]
movzx edi, word [eax]
cmp dx, di
jb 0x10020c12
sub ebx, eax
cmp dx, di
ja 0x10020c12
cmp ecx, 1
je 0x10020c1f
movzx edx, word [eax + ebx + 2]
add eax, 2
dec ecx
movzx edi, word [eax]
cmp dx, di
jae 0x10020bfa
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
jmp 0x10020bb6
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.1001c610
test al, al
mov ecx, edi
cmove ecx, esi
mov eax, ecx
jmp 0x10020c44
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov eax, edi
cmp eax, edi
jne 0x10020ca4
mov esi, dword [edi]
lea eax, [ebp + 0xf]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov edi, dword [esi + 4]
push eax
push 0x101354c4
push edi
push esi
lea ecx, [ebx + 4]
call fcn.10020b00
mov edx, eax
mov ecx, 0x3333332
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10020cb6
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.1001c030
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.1002c649
int3
Function at 0x10026f20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012a350
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10175120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
jb 0x10026f79
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10026f98
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10026f87
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
and ecx, edx
mov esi, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp esi, eax
je 0x10027076
mov esi, dword [ecx + 4]
mov esi, dword [esi]
jmp 0x10026fc0
mov ebx, dword [ebp - 0x1c]
cmp esi, eax
je 0x10027076
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x10]
jb 0x10026fd9
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 8
mov edx, ebx
mov dword [ebp - 0x18], ebx
jb 0x10026fe9
mov edx, dword [ebx]
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0x10], edi
jne 0x10026fc0
mov edi, dword [ebp - 0x24]
mov ebx, edi
test edi, edi
je 0x10027024
movzx edx, word [edx]
movzx edi, word [ecx]
cmp dx, di
jb 0x10026fbd
sub dword [ebp - 0x18], ecx
cmp dx, di
ja 0x10026fbd
cmp ebx, 1
je 0x10027024
mov edx, dword [ebp - 0x18]
add ecx, 2
dec ebx
movzx edx, word [ecx + edx]
movzx edi, word [ecx]
cmp dx, di
jae 0x10027008
jmp 0x10026fbd
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.10027cb0
push 0x38
push edi
call fcn.100319fc
mov eax, dword [ebp - 0x28]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100270a3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
push esi
push edi
call fcn.1002bdc0
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1002bc40
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x10027058
Function at 0x10027640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x10027664
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x10027681
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10027670
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x100276ba
cmp eax, edi
jne 0x100276b2
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x100276c2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x100276c2
cmp eax, edi
jne 0x100276c2
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.10027cb0
push 0x38
push edi
call fcn.100319fc
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002bf30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10175120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebx + 8]
push esi
push edi
mov edi, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x1002bf5d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x1002bf79
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1002bf68
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], ebx
jne 0x1002bfb2
cmp eax, ebx
jne 0x1002bfaa
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x1002bfba
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x1002bfba
cmp eax, ebx
jne 0x1002bfbd
mov eax, dword [ebx]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [edx + 4]
mov edi, dword [ebx]
push ebx
mov dword [eax], edi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.1002bd50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 8
Function at 0x1002c320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 8], ebx
jb 0x1002c33f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1002c361
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002c350
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x1002c38b
mov eax, ebx
jmp 0x1002c38f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1002c434
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov edx, edi
jb 0x1002c3a4
mov edx, dword [edi]
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x1002c3af
mov eax, dword [eax]
cmp edi, dword [ebp - 8]
jne 0x1002c410
sub edi, 4
jb 0x1002c3d1
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x1002c3d6
add eax, 4
add edx, 4
sub edi, 4
jae 0x1002c3c0
cmp edi, 0xfffffffc
je 0x1002c40a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x1002c403
cmp edi, 0xfffffffd
je 0x1002c40a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x1002c403
cmp edi, 0xfffffffe
je 0x1002c40a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x1002c403
cmp edi, 0xffffffff
je 0x1002c40a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x1002c40a
sbb eax, eax
or eax, 1
jmp 0x1002c40c
xor eax, eax
test eax, eax
je 0x1002c420
mov esi, dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x1002c383
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.10027f20
test al, al
cmove ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8