joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e4fc9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x61ca49
call fcn.0061b168
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], 0x427d98
call fcn.005ed7be
lea eax, [esi + 0x58]
lea ecx, [esi + 0x94]
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], edi
call fcn.005e3f08
lea eax, [esi + 0xb0]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push 4
pop ecx
mov dword [eax + 0x10], ecx
lea eax, [esi + 0xc4]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x5e93be
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x61cce2
call fcn.0061b168
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x28
push 4
pop edi
mov dword [ebp - 4], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
call fcn.005fa02c
lea eax, [esi + 0x84]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edi
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 4
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
mov dword [esi + 0xb4], ebx
mov byte [esi + 0xb8], bl
call fcn.005e9306
fldz
fstp dword [esi + 0x98]
mov ecx, dword [ebp - 0xc]
fldz
mov byte [esi + 0xb9], bl
fstp dword [esi + 0x9c]
mov byte [esi + 0xba], bl
fldz
mov byte [esi + 0xbb], bl
pop edi
fstp dword [esi + 0xa0]
mov eax, esi
fldz
fstp dword [esi + 0xa4]
fldz
fstp dword [esi + 0xac]
fldz
fstp dword [esi + 0xb0]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x61b76c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x63c894]
jne 0x61b77d
test ecx, 0xffff0000
jne 0x61b77d
ret
jmp fcn.0061b787

Function at 0x10036ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ecx + 0x38]
or dword [eax + 0x3c], 0xffffffff
mov dword [eax + 0x38], edx
mov dl, byte [ecx + 0x3c]
mov byte [eax + 0x40], dl
mov edx, dword [eax + 0x2c]
xor ebx, ebx
cmp edx, ebx
mov byte [eax + 0x41], bl
jne 0x1003764
mov dword [eax + 0x44], ebx
jmp 0x1003797
cmp edx, 3
je 0x1003790
cmp edx, 5
je 0x1003790
cmp edx, 2
je 0x1003790
cmp edx, 1
je 0x100377d
cmp edx, 4
jne 0x1003797
mov dl, byte [eax + 0x30]
not dl
movzx edx, dl
shr edx, 5
and edx, 1
mov dword [eax + 0x44], edx
jmp 0x1003797
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], ebx
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x58], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x60], edx
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x68], edx
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x70], edx
mov edx, dword [ecx + 0x5c]
mov dword [eax + 0x74], edx
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x78], edx
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x80], edx
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x84], edx
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x88], edx
mov edx, dword [ecx + 0x74]
mov dword [eax + 0x90], edx
mov edx, dword [ecx + 0x78]
mov dword [eax + 0x94], edx
mov edx, dword [ecx + 0x7c]
mov dword [eax + 0x98], edx
mov edx, dword [ecx + 0x80]
mov dword [eax + 0x9c], edx
mov ecx, dword [ecx + 0x84]
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa0], ecx
pop ebx
ret
Function at 0x44b9d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579f18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f5ea4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00536ab6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00533992
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x44baa2
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
mov ecx, 2
cmp eax, 0x7fffffff
ja 0x44bb43
test eax, eax
je 0x44bb23
lea ebx, [eax + eax]
cmp ebx, 0x1000
jb 0x44bae4
lea eax, [ebx + 0x23]
or ecx, 0xffffffff
cmp eax, ebx
cmovbe eax, ecx
push eax
call fcn.00536ab6
add esp, 4
test eax, eax
je 0x44bb48
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x44baf7
test ebx, ebx
je 0x44baf5
push ebx
call fcn.00536ab6
add esp, 4
mov esi, eax
jmp 0x44baf7
xor esi, esi
push ebx
push dword [ebp + 8]
push esi
call fcn.0054e3c0
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [edi + 0x38], eax
add esp, 0xc
mov eax, dword [edi + 0xc]
mov dword [eax], esi
mov eax, dword [edi + 0x1c]
mov dword [eax], esi
mov eax, dword [edi + 0x2c]
mov dword [eax], ecx
mov ecx, 3
jmp 0x44bb2a
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00533cc1
call fcn.00552581
int3
Function at 0x44bdb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579d00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5f5ea4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00536ab6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00533992
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44bf50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579d00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5f5ea4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00536ab6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00533992
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44f0e0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a368
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0xc0]
test al, al
je 0x44f256
cmp al, 2
jne 0x44f179
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xa0]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xa4]
mov edi, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
test ecx, ecx
jl 0x44f152
jg 0x44f14b
cmp eax, 0x800000
jbe 0x44f152
mov eax, 0x800000
xor ecx, ecx
push 0
add edx, eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edx
push eax
push 0x980c8
push dword [esi]
adc edi, ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push 0
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44f24e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0044e3d0
push eax
mov edx, str.Cannot_set_file_pointer_4_._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004545b0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449980
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44f200
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f1f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f275
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x44f24a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f240
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f27a
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor al, al
jmp 0x44f258
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005368a5
mov esp, ebp
pop ebp
ret 8
call fcn.00552581
call fcn.00552581
int3
Function at 0x4534c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4535ab
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x45359a
jg 0x453500
test edx, edx
je 0x45359a
nop dword [eax]
call fcn.0044bb70
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x453557
jg 0x453517
test esi, esi
je 0x453557
cmp ebx, eax
jg 0x453527
jl 0x453521
cmp edi, esi
jae 0x453527
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [esp + 0x18]
call fcn.0054e3c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x45357c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x453594
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jg 0x453500
jl 0x453594
test edi, edi
jne 0x453500
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
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 [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4535cd
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x4535cf
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x453685
jg 0x4535ea
test esi, esi
je 0x453685
test eax, eax
jl 0x453633
jg 0x4535f4
test ebx, ebx
je 0x453633
cmp edi, eax
jg 0x453604
jl 0x4535fe
cmp esi, ebx
jae 0x453604
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.0054e3c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x2c]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x45363a
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x453685
jg 0x453644
test esi, esi
je 0x453685
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x453685
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x453670
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [esp + 0xc]
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 [esp + 0x1c]
call fcn.0055385f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x457ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ae80
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp byte [0x5fc909], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jne 0x457d3d
lea eax, [ebp - 0x18]
xor ecx, ecx
push eax
lea edx, [ebp - 0x1c]
call fcn.00457880
add esp, 4
mov bl, al
jmp 0x457da2
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
call fcn.0045b790
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00457af0
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x20]
mov bl, al
cmp edx, 8
jb 0x457da2
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457d98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457e7d
push edx
push ecx
call fcn.00536ae6
add esp, 8
test bl, bl
je 0x457e82
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x457e2a
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x457e26
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457e1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457e9d
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov al, 1
jmp 0x457e62
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x457e60
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457e56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457ea2
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
push str.Cannot_read_tail
lea ecx, [ebp - 0x28]
call fcn.00447f30
push 0x5f1d94
lea eax, [ebp - 0x28]
push eax
call fcn.0054f5ad
call fcn.00552581
call fcn.00552581
int3
Function at 0x45b800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b190
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f5ea4]
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 dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], ecx
jb 0x45b851
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x45b871
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45b860
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edx
mov esi, dword [ebx + 4]
mov dword [ebp - 0x24], ecx
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], eax
cmp esi, dword [eax]
je 0x45b8f1
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x45b8f1
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x45b8a6
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45b8b0
mov ecx, dword [edi]
cmp dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
jne 0x45b891
push dword [edi + 0x10]
call fcn.004542e0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x45b891
mov eax, dword [ebp - 0x20]
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.005368a5
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
push edi
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.0044cc50
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x45b9ac
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x45b961
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 - 0x24]
mov ecx, ebx
push esi
push edi
call fcn.0045bc70
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0045bbd0
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x45b8d3
push str.list_T__too_long
call fcn.00533cfe
int3
Function at 0x45bcf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x45bd1d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x45bd39
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x45bd28
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, esi
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x45bd72
cmp eax, edi
jne 0x45bd6a
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 0x45bd7a
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x45bd7a
cmp eax, edi
jne 0x45bd7d
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [ecx], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0044c0f0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.005368a5
mov esp, ebp
pop ebp
ret 8