joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100173f1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10017415
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x10017c55
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x1001741c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1011d900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 8], ebx
xor eax, eax
push 0x2521
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
call fcn.1003b0bb
mov esi, eax
mov dword [esp], 0x2521
push edi
mov dword [ebx], esi
push esi
lea eax, [esi + 0x2521]
mov dword [ebx + 8], eax
call fcn.10075050
lea eax, [esi + 0x2521]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 7
jbe 0x10017487
mov eax, dword [eax]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
mov esi, eax
push 0x26d8e
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push 0x2521
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10072cfd
leave
ret
Function at 0x1001947c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
test esi, esi
jg 0x100194a6
jl 0x1001949d
test ebx, ebx
jne 0x100194a6
xor eax, eax
xor edx, edx
jmp 0x1001955e
cmp dword [ecx + 0x38], 0
je 0x100194b9
push esi
push ebx
push edx
call fcn.1001abe6
jmp 0x1001955e
mov eax, dword [ecx + 0x1c]
push edi
mov edi, ebx
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100194f9
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jbe 0x100194f9
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push dword [ebp - 0xc]
push edx
call fcn.10074ad0
mov ecx, dword [ebp - 8]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
cmp dword [ecx + 0x4c], 0
je 0x10019554
call fcn.1001ca75
mov ecx, dword [ebp - 4]
mov edx, edi
cmp edi, 0xfff
jbe 0x1001953c
mov eax, dword [ebp - 8]
push dword [eax + 0x4c]
push 0xfff
push 1
push ecx
call fcn.1008570a
mov ecx, dword [ebp - 4]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10019554
jmp 0x10019509
test edx, edx
je 0x10019554
mov eax, dword [ebp - 8]
push dword [eax + 0x4c]
push edi
push 1
push ecx
call fcn.1008570a
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100390e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov eax, ecx
mov dword [esp + 0xc], eax
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test eax, eax
je 0x1003915f
cmp dword [ebp + 8], 0
je 0x1003915f
test edi, edi
jne 0x10039115
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov edi, edx
push dword [ebp + 8]
mov esi, 0x3f00000
cmp edi, esi
cmovb esi, edi
add eax, ebx
push esi
push 1
push eax
call fcn.1008570a
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x10039144
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x10039119
test edi, edi
mov edi, dword [esp + 0x14]
je 0x1003915b
push edi
push ebx
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, ebx
jmp 0x1003910e
push eax
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c34
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3
Function at 0x1003919d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov eax, ecx
mov dword [esp + 0xc], eax
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test eax, eax
je 0x10039216
cmp dword [ebp + 8], 0
je 0x10039216
test edi, edi
jne 0x100391cc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov edi, edx
push dword [ebp + 8]
mov esi, 0x3f00000
cmp edi, esi
cmovb esi, edi
add eax, ebx
push esi
push 1
push eax
call fcn.1008570a
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x100391fb
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x100391d0
test edi, edi
mov edi, dword [esp + 0x14]
je 0x10039212
push edi
push ebx
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, ebx
jmp 0x100391c5
push eax
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c3a
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3

Function at 0x1003b339
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b3bf
cmp dword [ebp + 8], 0
je 0x1003b3bf
test edi, edi
jne 0x1003b366
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
lea eax, [ebx + ebx]
mov esi, 0x1f80000
cmp eax, 0x3f00000
lea eax, [ecx + edi*2]
cmovb esi, ebx
push esi
push 2
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b39c
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b36a
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b3bb
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b35f
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c40
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3
Function at 0x1003b41c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b4a4
cmp dword [ebp + 8], 0
je 0x1003b4a4
test edi, edi
jne 0x1003b449
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b481
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b44d
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b4a0
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b442
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c4c
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3

Function at 0x1003b4f9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b581
cmp dword [ebp + 8], 0
je 0x1003b581
test edi, edi
jne 0x1003b526
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b55e
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b52a
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b57d
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b51f
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.1003bd51
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3
Function at 0x1003b5bf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b647
cmp dword [ebp + 8], 0
je 0x1003b647
test edi, edi
jne 0x1003b5ec
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b624
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b5f0
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b643
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b5e5
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c52
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3

Function at 0x1003b685
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b70b
cmp dword [ebp + 8], 0
je 0x1003b70b
test edi, edi
jne 0x1003b6b2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
lea eax, [ebx + ebx]
mov esi, 0x1f80000
cmp eax, 0x3f00000
lea eax, [ecx + edi*2]
cmovb esi, ebx
push esi
push 2
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b6e8
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b6b6
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b707
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b6ab
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c46
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3
Function at 0x1003b749
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b7d1
cmp dword [ebp + 8], 0
je 0x1003b7d1
test edi, edi
jne 0x1003b776
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + edi*8]
cmovb esi, ebx
push esi
push 8
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b7ae
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b77a
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b7cd
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b76f
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c64
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3

Function at 0x1003b832
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b8ba
cmp dword [ebp + 8], 0
je 0x1003b8ba
test edi, edi
jne 0x1003b85f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b897
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b863
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b8b6
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b858
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c6a
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3
Function at 0x1003b91a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003b9a2
cmp dword [ebp + 8], 0
je 0x1003b9a2
test edi, edi
jne 0x1003b947
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + edi*8]
cmovb esi, ebx
push esi
push 8
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003b97f
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003b94b
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003b99e
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003b940
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c58
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3

Function at 0x1003b9e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1003ba68
cmp dword [ebp + 8], 0
je 0x1003ba68
test edi, edi
jne 0x1003ba0d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + edi*8]
cmovb esi, ebx
push esi
push 8
push eax
call fcn.1008570a
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1003ba45
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1003ba11
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x1003ba64
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.10012dc5
add esp, 0xc
mov eax, esi
jmp 0x1003ba06
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x10108fc0
mov ecx, 0x100ce4e9
cmovbe eax, ecx
push eax
call fcn.10012c5e
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100129a9
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x1011b0bc
push eax
call fcn.1007525d
int3
Function at 0x10051400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 0xc], ecx
lea ecx, [eax - 1]
mov ebx, ecx
mov dword [ebp - 0x10], eax
sar ebx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
cmp edx, ebx
jge 0x10051462
lea edx, [esi + esi]
lea ecx, [edi + 0x10]
lea ecx, [ecx + edx*8]
lea eax, [ecx - 8]
push eax
push ecx
call fcn.100513de
movzx esi, al
xor esi, 1
inc esi
add esi, edx
lea eax, [edi + esi*8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [edi + eax*8]
call fcn.1001890d
mov dword [ebp - 4], esi
cmp esi, ebx
jl 0x1005142d
mov eax, dword [ebp - 0x10]
mov edx, esi
cmp esi, ebx
jne 0x1005147c
test al, 1
jne 0x1005147c
dec eax
lea ecx, [edi + esi*8]
lea eax, [edi + eax*8]
push eax
call fcn.1001890d
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 8], edx
jge 0x100514a6
push dword [ebp - 0xc]
lea esi, [edx - 1]
sar esi, 1
lea ebx, [edi + esi*8]
push ebx
call fcn.100513de
test al, al
je 0x100514a6
push ebx
lea ecx, [edi + edx*8]
call fcn.1001890d
mov edx, esi
cmp dword [ebp - 8], esi
jl 0x10051481
push dword [ebp - 0xc]
lea ecx, [edi + edx*8]
call fcn.1001890d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10058463
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x100a206d
call fcn.100739ea
mov edi, edx
push 0x10
call fcn.10072dfe
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1005ddbc
push eax
push eax
mov dword [ebp - 4], eax
call fcn.1007cbc0
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x100584c2
call fcn.10073999
ret
and dword [ebx], 0
push 6
call fcn.10071c63
int3
Function at 0x1005b8bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x18], eax
push edi
mov edi, edx
test ebx, ebx
je 0x1005b8fd
mov ecx, dword [ebp + 0xc]
mov edx, ebx
add ecx, 0xfffffffe
test ecx, ecx
je 0x1005b8e7
add esi, ecx
mov eax, esi
sub edx, 1
jne 0x1005b8e1
test esi, esi
je 0x1005b8fd
cmp eax, 0x2aaaaaaa
jg 0x1005b9eb
mov eax, dword [edi + 8]
imul eax, dword [edi + 4]
imul ecx, esi, 3
mov dword [ebp - 8], ecx
cmp ecx, eax
je 0x1005b930
mov eax, dword [edi]
test eax, eax
je 0x1005b920
push dword [eax - 4]
call fcn.10084d26
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x1005b92d
call fcn.1003acc1
mov dword [edi], eax
jmp 0x1005b930
and dword [edi], 0
and dword [ebp - 4], 0
mov dword [edi + 4], esi
mov dword [edi + 8], 3
test ebx, ebx
je 0x1005b9e4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add edx, 0xfffffffe
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], eax
xor esi, esi
and dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
test edx, edx
je 0x1005b9d3
add eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [eax]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 4]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi]
movzx ecx, byte [ecx + esi + 1]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor ecx, 1
mov edx, dword [edi + 4]
add eax, ebx
mov esi, dword [edi]
add eax, ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [eax + ecx + 1]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x1c]
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
inc eax
inc dword [ebp - 0xc]
cmp eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
jb 0x1005b96c
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add eax, ecx
sub ebx, 1
mov dword [ebp - 8], eax
mov dword [ebp + 8], ebx
jne 0x1005b957
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
call fcn.100022bd
int3
Function at 0x1005bba1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
push edi
mov edi, edx
test ebx, ebx
je 0x1005bbdf
mov ecx, dword [ebp + 0xc]
mov edx, ebx
add ecx, 0xfffffffe
test ecx, ecx
je 0x1005bbc9
add esi, ecx
mov eax, esi
sub edx, 1
jne 0x1005bbc3
test esi, esi
je 0x1005bbdf
cmp eax, 0x2aaaaaaa
jg 0x1005bce5
mov eax, dword [edi + 4]
imul eax, dword [edi + 8]
imul ecx, esi, 3
mov dword [ebp - 8], ecx
cmp ecx, eax
je 0x1005bc12
mov eax, dword [edi]
test eax, eax
je 0x1005bc02
push dword [eax - 4]
call fcn.10084d26
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x1005bc0f
call fcn.1003acc1
mov dword [edi], eax
jmp 0x1005bc12
and dword [edi], 0
and dword [ebp - 4], 0
mov dword [edi + 4], esi
mov dword [edi + 8], 3
test ebx, ebx
je 0x1005bcde
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax]
lea esi, [eax - 2]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], edx
and dword [ebp - 0xc], 0
and dword [ebp - 0x14], 0
test esi, esi
je 0x1005bcc7
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], edx
movzx eax, word [edx]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi]
movzx ecx, word [ecx + eax*2 + 2]
mov eax, edx
add eax, dword [edi + 4]
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor eax, 1
mov edx, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0xc], eax
add eax, ebx
add eax, dword [ebp - 0x14]
movzx ecx, word [ecx + eax*2 + 2]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x20]
mov dword [esi + eax*4], ecx
add edx, 2
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
inc eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
cmp eax, esi
jb 0x1005bc57
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x28]
add ecx, eax
sub ebx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp + 8], ebx
jne 0x1005bc42
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
call fcn.100022bd
int3