joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e2730
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.0x6e2742
jmp dword [eax*4 + 0x6e2938]
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 0x6e281f
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 0x6e2920
cmp esi, 0xffffffff
jne 0x6e2836
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e2846
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e286b
mov al, byte [ecx - 1]
test al, al
je 0x6e286b
cmp al, 0xff
je 0x6e286b
test esi, esi
jne 0x6e288f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e28b9
test esi, esi
jne 0x6e287a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e28b9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e2886
cmp eax, esi
jae 0x6e2897
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 0x6e28e8
mov al, byte [eax - 1]
test al, al
je 0x6e28d8
cmp al, 0xff
je 0x6e28d8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e28e3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e28ed
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e2915
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e2910
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 0x6e2bb0
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.0x6e2bc2
jmp dword [eax*4 + 0x6e2db8]
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 0x6e2c9f
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 0x6e2da0
cmp esi, 0xffffffff
jne 0x6e2cb6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e2cc6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e2ceb
mov al, byte [ecx - 1]
test al, al
je 0x6e2ceb
cmp al, 0xff
je 0x6e2ceb
test esi, esi
jne 0x6e2d0f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e2d39
test esi, esi
jne 0x6e2cfa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e2d39
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e2d06
cmp eax, esi
jae 0x6e2d17
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 0x6e2d68
mov al, byte [eax - 1]
test al, al
je 0x6e2d58
cmp al, 0xff
je 0x6e2d58
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e2d63
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e2d6d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e2d95
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e2d90
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 0x6e3030
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.0x6e3042
jmp dword [eax*4 + 0x6e3238]
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 0x6e311f
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 0x6e3220
cmp esi, 0xffffffff
jne 0x6e3136
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e3146
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e316b
mov al, byte [ecx - 1]
test al, al
je 0x6e316b
cmp al, 0xff
je 0x6e316b
test esi, esi
jne 0x6e318f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e31b9
test esi, esi
jne 0x6e317a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e31b9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e3186
cmp eax, esi
jae 0x6e3197
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 0x6e31e8
mov al, byte [eax - 1]
test al, al
je 0x6e31d8
cmp al, 0xff
je 0x6e31d8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e31e3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e31ed
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e3215
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e3210
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 0x6e34b0
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.0x6e34c2
jmp dword [eax*4 + 0x6e36b8]
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 0x6e359f
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 0x6e36a0
cmp esi, 0xffffffff
jne 0x6e35b6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e35c6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e35eb
mov al, byte [ecx - 1]
test al, al
je 0x6e35eb
cmp al, 0xff
je 0x6e35eb
test esi, esi
jne 0x6e360f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e3639
test esi, esi
jne 0x6e35fa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e3639
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e3606
cmp eax, esi
jae 0x6e3617
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 0x6e3668
mov al, byte [eax - 1]
test al, al
je 0x6e3658
cmp al, 0xff
je 0x6e3658
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e3663
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e366d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e3695
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e3690
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 0x6e3930
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.0x6e3942
jmp dword [eax*4 + 0x6e3b38]
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 0x6e3a1f
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 0x6e3b20
cmp esi, 0xffffffff
jne 0x6e3a36
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e3a46
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e3a6b
mov al, byte [ecx - 1]
test al, al
je 0x6e3a6b
cmp al, 0xff
je 0x6e3a6b
test esi, esi
jne 0x6e3a8f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e3ab9
test esi, esi
jne 0x6e3a7a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e3ab9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e3a86
cmp eax, esi
jae 0x6e3a97
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 0x6e3ae8
mov al, byte [eax - 1]
test al, al
je 0x6e3ad8
cmp al, 0xff
je 0x6e3ad8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e3ae3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e3aed
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e3b15
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e3b10
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 0x6e3db0
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.0x6e3dc2
jmp dword [eax*4 + 0x6e3fb8]
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 0x6e3e9f
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 0x6e3fa0
cmp esi, 0xffffffff
jne 0x6e3eb6
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e3ec6
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e3eeb
mov al, byte [ecx - 1]
test al, al
je 0x6e3eeb
cmp al, 0xff
je 0x6e3eeb
test esi, esi
jne 0x6e3f0f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e3f39
test esi, esi
jne 0x6e3efa
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e3f39
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e3f06
cmp eax, esi
jae 0x6e3f17
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 0x6e3f68
mov al, byte [eax - 1]
test al, al
je 0x6e3f58
cmp al, 0xff
je 0x6e3f58
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e3f63
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e3f6d
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e3f95
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e3f90
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 0x6e4230
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.0x6e4242
jmp dword [eax*4 + 0x6e4438]
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 0x6e431f
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 0x6e4420
cmp esi, 0xffffffff
jne 0x6e4336
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x6e4346
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6e436b
mov al, byte [ecx - 1]
test al, al
je 0x6e436b
cmp al, 0xff
je 0x6e436b
test esi, esi
jne 0x6e438f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x6e43b9
test esi, esi
jne 0x6e437a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x6e43b9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x6e4386
cmp eax, esi
jae 0x6e4397
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 0x6e43e8
mov al, byte [eax - 1]
test al, al
je 0x6e43d8
cmp al, 0xff
je 0x6e43d8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x6e43e3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6e43ed
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x6e4415
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x6e4410
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