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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51f61a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x585520]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x585520]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040ca42
push dword [ebp + 0x10]
and dword [esp + 0x44], 0
push eax
push esi
call fcn.0040cee1
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.0040bbe0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004e52c7
mov esp, ebp
pop ebp
ret

Function at 0x40e6a6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51fab7
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x585520]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [0x585520]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.0040e1c3
xor edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x18]
push 0x5c
xor eax, eax
mov dword [esp + 0x30], 7
push 1
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.0040ebf8
lea eax, [esp + 0x18]
mov byte [esp + 0x58], 2
push edi
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
call fcn.0040c188
pop ecx
pop ecx
push edi
push 1
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0040bbe0
lea ecx, [esp + 0xc]
call fcn.0040e999
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.0040bbe0
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004e52c7
mov esp, ebp
pop ebp
ret
Function at 0x40f468
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51fc00
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x585520]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x585520]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x30]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
push eax
mov dword [esp + 0x18], ebx
call fcn.0040cb48
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
xor eax, eax
push 0x5c
inc ebx
mov dword [esp + 0x30], 7
push ebx
mov word [esp + 0x20], ax
call fcn.0040ebf8
lea eax, [esp + 0x18]
mov byte [esp + 0x88], bl
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0040aa8b
pop ecx
pop ecx
push 0
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 0
call fcn.0040bbe0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.0040e1c3
push 0x5c
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x90], 2
push eax
call fcn.0040f721
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 3
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040f746
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x8c], 4
call fcn.0040e15f
xor esi, esi
lea ecx, [esp + 0x18]
push esi
push ebx
call fcn.0040bbe0
push esi
push ebx
lea ecx, [esp + 0x50]
call fcn.0040bbe0
push esi
push ebx
lea ecx, [esp + 0x68]
call fcn.0040bbe0
push esi
push ebx
lea ecx, [esp + 0x38]
call fcn.0040bbe0
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004e52c7
mov esp, ebp
pop ebp
ret
Function at 0x4122aa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520058
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x585520]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x585520]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4123eb
cmp byte [ebx + 0x46], 0
je 0x4123eb
mov eax, dword [ebx]
mov esi, 0xffff
push esi
call dword [eax + 0xc]
movzx eax, ax
cmp si, ax
jne 0x412311
xor al, al
jmp 0x4123ed
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.0040ebaa
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x412376
dec eax
je 0x41237a
dec eax
dec eax
je 0x4123d8
xor bl, bl
jmp 0x4123da
mov byte [ebx + 0x46], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x4123b9
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004e4594
add esp, 0x10
cmp esi, eax
jne 0x412372
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x46], 0
je 0x4123d8
test esi, esi
jne 0x41233c
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00412077
jmp 0x412334
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040b4ed
mov al, bl
jmp 0x4123ed
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004e52c7
mov esp, ebp
pop ebp
ret
Function at 0x417c43
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x585520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [0x525448]
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x34]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
push dword [esi]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ebx
call edi
lea eax, [ebp - 0x34]
mov dword [esi], ebx
push eax
push ebx
push esi
push 0x417b08
mov ebx, 0x400
push ebx
push 0
call fcn.004e68fa
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
push 0
push esi
push 0x417b9f
push ebx
push 0
call fcn.004e68fa
mov ebx, eax
add esp, 0x30
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x417dc6
test ebx, ebx
je 0x417dc6
mov edx, dword [ebp - 0x20]
mov ecx, edx
test ecx, ecx
je 0x417cd9
cmp dword [ebp - 0x24], 0
je 0x417cd9
test edx, edx
jne 0x417dd9
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
jne 0x417ce4
mov dword [ebp - 0x14], eax
inc ecx
cmp dword [ebp - 0x24], 0
jne 0x417cef
mov dword [ebp + ecx*4 - 0x14], ebx
inc ecx
test edx, edx
jne 0x417cfb
mov eax, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x14], eax
inc ecx
or eax, 0xffffffff
mov dword [ebp - 0x2c], 0x3e8
test edx, edx
cmovne eax, dword [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [0x5251f8]
cmp eax, 0xffffffff
je 0x417dc6
mov eax, dword [ebp + eax*4 - 0x14]
test eax, eax
jne 0x417d3a
push dword [esi]
call edi
and dword [esi], 0
push 0
call edi
mov edx, dword [ebp - 0x20]
jmp 0x417dae
cmp eax, dword [ebp - 0x18]
jne 0x417d60
push dword [esi + 8]
call edi
push dword [ebp - 0x18]
and dword [esi + 8], 0
call edi
mov edx, dword [ebp - 0x20]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x417cc7
cmp eax, ebx
jne 0x417d7b
push dword [esi + 0x10]
call edi
and dword [esi + 0x10], 0
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 0x24], 1
jmp 0x417d35
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jne 0x417db9
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [0x525214]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xc000013a
jne 0x417da1
mov dword [esi + 0x3c], 2
jmp 0x417da4
mov dword [esi + 0x38], ecx
test eax, eax
je 0x417dc6
xor edx, edx
inc edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
jmp 0x417cc7
and dword [esi + 0x40], 0
mov dword [esi + 0x44], 0x80004005
jmp 0x417dd6
call dword [0x525418]
mov dword [esi + 0x44], 0x65
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x417de0
push eax
call edi
test ebx, ebx
je 0x417de7
push ebx
call edi
mov eax, dword [esi + 0x44]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
pop ebx
call fcn.004e52c7
mov esp, ebp
pop ebp
ret
Function at 0x4198cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4198d8
xor eax, eax
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x419990
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
dec edi
jne 0x4198f3
pop edi
test esi, esi
je 0x4199a9
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x56c0d0]
inc edx
dec esi
jne 0x419994
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x4199b1
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov edx, 0xff
mov esi, dword [edi]
xor eax, esi
and eax, edx
shr esi, 8
mov eax, dword [eax*4 + 0x56c0d0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x56c0d0]
mov dword [edi + 8], eax
pop edi
pop esi
ret
Function at 0x41b9ec
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov edx, 0xff
mov esi, dword [edi]
xor eax, esi
and eax, edx
shr esi, 8
mov eax, dword [eax*4 + 0x56c6b8]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x56c6b8]
mov dword [edi + 8], eax
pop edi
pop esi
ret

Function at 0x4299f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x429a63
cmp dword [ebp + 0x10], 0
je 0x429a63
cmp dword [ebp + 0xc], 0
jne 0x429a15
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push dword [ebp + 0x10]
mov esi, 0x3f00000
cmp ebx, esi
cmovb esi, ebx
add eax, edi
push esi
push 1
push eax
call fcn.004e3d64
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x429a47
mov eax, dword [ebp + 8]
test ebx, ebx
jne 0x429a1d
test ebx, ebx
je 0x429a5c
push dword [ebp + 0xc]
push edi
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x429a11
cmp dword [ebp + 0xc], 1
mov ecx, 0x56cd3b
push eax
push dword [ebp + 0x10]
mov eax, 0x546108
cmovbe eax, ecx
push eax
push str.char
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x429aa1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x429b0e
cmp dword [ebp + 0x10], 0
je 0x429b0e
cmp dword [ebp + 0xc], 0
jne 0x429ac0
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push dword [ebp + 0x10]
mov esi, 0x3f00000
cmp ebx, esi
cmovb esi, ebx
add eax, edi
push esi
push 1
push eax
call fcn.004e3d64
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x429af2
mov eax, dword [ebp + 8]
test ebx, ebx
jne 0x429ac8
test ebx, ebx
je 0x429b07
push dword [ebp + 0xc]
push edi
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x429abc
cmp dword [ebp + 0xc], 1
mov ecx, 0x56cd3b
push eax
push dword [ebp + 0x10]
mov eax, 0x546108
cmovbe eax, ecx
push eax
push 0x54512c
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x429b4c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429bc0
cmp dword [ebp + 0x10], 0
je 0x429bc0
cmp dword [ebp + 0xc], 0
jne 0x429b6b
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
lea eax, [edi + edi]
mov esi, 0x1f80000
cmp eax, 0x3f00000
lea eax, [ecx + ebx*2]
cmovb esi, edi
push esi
push 2
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429ba4
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429b73
pop esi
test edi, edi
je 0x429bba
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429b67
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push str.short
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x429bfe
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429c72
cmp dword [ebp + 0x10], 0
je 0x429c72
cmp dword [ebp + 0xc], 0
jne 0x429c1d
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
lea eax, [edi + edi]
mov esi, 0x1f80000
cmp eax, 0x3f00000
lea eax, [ecx + ebx*2]
cmovb esi, edi
push esi
push 2
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429c56
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429c25
pop esi
test edi, edi
je 0x429c6c
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429c19
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push 0x545144
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x429cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429d26
cmp dword [ebp + 0x10], 0
je 0x429d26
cmp dword [ebp + 0xc], 0
jne 0x429ccf
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429d0a
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429cd7
pop esi
test edi, edi
je 0x429d20
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429ccb
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push 0x54516c
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x429d64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429dda
cmp dword [ebp + 0x10], 0
je 0x429dda
cmp dword [ebp + 0xc], 0
jne 0x429d83
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429dbe
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429d8b
pop esi
test edi, edi
je 0x429dd4
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429d7f
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push 0x54515c
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x429e18
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429e8e
cmp dword [ebp + 0x10], 0
je 0x429e8e
cmp dword [ebp + 0xc], 0
jne 0x429e37
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429e72
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429e3f
pop esi
test edi, edi
je 0x429e88
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429e33
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push str.long
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x429ecc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429f42
cmp dword [ebp + 0x10], 0
je 0x429f42
cmp dword [ebp + 0xc], 0
jne 0x429eeb
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429f26
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429ef3
pop esi
test edi, edi
je 0x429f3c
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429ee7
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push 0x545170
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x429f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x429ff6
cmp dword [ebp + 0x10], 0
je 0x429ff6
cmp dword [ebp + 0xc], 0
jne 0x429f9f
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x429fda
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x429fa7
pop esi
test edi, edi
je 0x429ff0
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x429f9b
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push str.float
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x42a034
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x42a0aa
cmp dword [ebp + 0x10], 0
je 0x42a0aa
cmp dword [ebp + 0xc], 0
jne 0x42a053
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + ebx*8]
cmovb esi, edi
push esi
push 8
push eax
call fcn.004e3d64
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x42a08e
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x42a05b
pop esi
test edi, edi
je 0x42a0a4
push dword [ebp + 0xc]
push ebx
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x42a04f
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
push dword [ebp + 0x10]
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push str.double
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3