joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e46b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e46c2
jmp dword [eax*4 + 0x6e48b8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e479f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e48a0
cmp esi, 0xffffffff
jne 0x6e47b6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e47c6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e47eb
mov al, byte [ecx - 1]
test al, al
je 0x6e47eb
cmp al, 0xff
je 0x6e47eb
test esi, esi
jne 0x6e480f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e4839
test esi, esi
jne 0x6e47fa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e4839
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e4806
cmp eax, esi
jae 0x6e4817
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e4868
mov al, byte [eax - 1]
test al, al
je 0x6e4858
cmp al, 0xff
je 0x6e4858
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e4863
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e486d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e4895
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e4890
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6e4b30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e4b42
jmp dword [eax*4 + 0x6e4d38]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e4c1f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e4d20
cmp esi, 0xffffffff
jne 0x6e4c36
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e4c46
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e4c6b
mov al, byte [ecx - 1]
test al, al
je 0x6e4c6b
cmp al, 0xff
je 0x6e4c6b
test esi, esi
jne 0x6e4c8f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e4cb9
test esi, esi
jne 0x6e4c7a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e4cb9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e4c86
cmp eax, esi
jae 0x6e4c97
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e4ce8
mov al, byte [eax - 1]
test al, al
je 0x6e4cd8
cmp al, 0xff
je 0x6e4cd8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e4ce3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e4ced
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e4d15
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e4d10
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6e4fb0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e4fc2
jmp dword [eax*4 + 0x6e51b8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e509f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e51a0
cmp esi, 0xffffffff
jne 0x6e50b6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e50c6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e50eb
mov al, byte [ecx - 1]
test al, al
je 0x6e50eb
cmp al, 0xff
je 0x6e50eb
test esi, esi
jne 0x6e510f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e5139
test esi, esi
jne 0x6e50fa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e5139
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e5106
cmp eax, esi
jae 0x6e5117
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e5168
mov al, byte [eax - 1]
test al, al
je 0x6e5158
cmp al, 0xff
je 0x6e5158
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e5163
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e516d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e5195
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e5190
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6e5430
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e5442
jmp dword [eax*4 + 0x6e5638]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e551f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e5620
cmp esi, 0xffffffff
jne 0x6e5536
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e5546
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e556b
mov al, byte [ecx - 1]
test al, al
je 0x6e556b
cmp al, 0xff
je 0x6e556b
test esi, esi
jne 0x6e558f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e55b9
test esi, esi
jne 0x6e557a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e55b9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e5586
cmp eax, esi
jae 0x6e5597
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e55e8
mov al, byte [eax - 1]
test al, al
je 0x6e55d8
cmp al, 0xff
je 0x6e55d8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e55e3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e55ed
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e5615
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e5610
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6e58b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e58c2
jmp dword [eax*4 + 0x6e5ab8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e599f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e5aa0
cmp esi, 0xffffffff
jne 0x6e59b6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e59c6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e59eb
mov al, byte [ecx - 1]
test al, al
je 0x6e59eb
cmp al, 0xff
je 0x6e59eb
test esi, esi
jne 0x6e5a0f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e5a39
test esi, esi
jne 0x6e59fa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e5a39
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e5a06
cmp eax, esi
jae 0x6e5a17
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e5a68
mov al, byte [eax - 1]
test al, al
je 0x6e5a58
cmp al, 0xff
je 0x6e5a58
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e5a63
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e5a6d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e5a95
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e5a90
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6e5d30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e5d42
jmp dword [eax*4 + 0x6e5f38]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e5e1f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e5f20
cmp esi, 0xffffffff
jne 0x6e5e36
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e5e46
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e5e6b
mov al, byte [ecx - 1]
test al, al
je 0x6e5e6b
cmp al, 0xff
je 0x6e5e6b
test esi, esi
jne 0x6e5e8f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e5eb9
test esi, esi
jne 0x6e5e7a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e5eb9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e5e86
cmp eax, esi
jae 0x6e5e97
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e5ee8
mov al, byte [eax - 1]
test al, al
je 0x6e5ed8
cmp al, 0xff
je 0x6e5ed8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e5ee3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e5eed
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e5f15
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e5f10
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6e61b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6e61c2
jmp dword [eax*4 + 0x6e63b8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00401450
test al, al
je 0x6e629f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x6e63a0
cmp esi, 0xffffffff
jne 0x6e62b6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e62c6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e62eb
mov al, byte [ecx - 1]
test al, al
je 0x6e62eb
cmp al, 0xff
je 0x6e62eb
test esi, esi
jne 0x6e630f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e6339
test esi, esi
jne 0x6e62fa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e6339
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e6306
cmp eax, esi
jae 0x6e6317
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e6368
mov al, byte [eax - 1]
test al, al
je 0x6e6358
cmp al, 0xff
je 0x6e6358
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e6363
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e636d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e6395
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e6390
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc