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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7db25b
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esi + 0x20]
xor ebx, ebx
push eax
mov dword [esi], 0x7eeb10
mov dword [esi + 4], 0x7eead4
mov dword [esi + 8], 0x7eea98
mov dword [esi + 0xc], 0x7eea70
mov dword [esi + 0x10], 0x7eea54
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
push 0xc
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x6feff9
mov dword [eax], 0x7eea38
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
jmp 0x6feffb
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x30], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x700170
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x14]
push 0
lea edi, [esi + 8]
push eax
push 0x10
push edi
push ebx
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 4]
push 2
push edx
push ebx
call ebp
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jle 0x7001b0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jle 0x7001be
mov dword [edi], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
mov ecx, dword [esi + 0x14]
shl eax, 2
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
shl edx, 2
shl ecx, 2
shl eax, 2
mov dword [edi], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x700320
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7db33b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.00700470
mov eax, dword [esp + 0x2c]
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push ebp
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x70037f
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x14]
push 4
push edx
push esi
mov dword [esp + 0x20], ebp
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jle 0x700445
push edi
jmp 0x7003ac
xor ebp, ebp
push 0x18
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x28], ebp
je 0x7003e0
lea edx, [eax + 8]
xor ecx, ecx
mov dword [eax], 0x7eeb34
mov word [eax + 4], 1
mov dword [edx], ecx
mov ebp, eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push esi
mov ecx, ebp
mov dword [esp + 0x2c], 0xffffffff
call fcn.00700170
mov esi, dword [ebx + 8]
push 0xc
mov edi, dword [esi + 4]
call fcn.007a2d8d
add esp, 4
mov ecx, esi
test esi, esi
jne 0x700408
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x700410
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x700424
mov dword [eax], ebp
mov esi, dword [ebx + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
inc esi
inc eax
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x14]
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x7003aa
pop edi
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x700810
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x44]
push 0x50
push ecx
push ebx
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x94]
push 2
push eax
push ebx
call ebp
lea ecx, [esp + 0x14]
push 0
lea edi, [esi + 0x98]
push ecx
push 0x10
push edi
push ebx
call ebp
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa4]
cmp eax, ecx
jge 0x700872
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa4], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0xa0]
cmp eax, ecx
jle 0x700886
mov dword [edi], ecx
mov dword [esi + 0xa0], eax
mov edx, dword [esi + 0x9c]
mov ecx, dword [edi]
mov eax, dword [esi + 0xa4]
shl edx, 2
mov dword [esi + 0x9c], edx
mov edx, dword [esi + 0xa0]
shl ecx, 2
shl eax, 2
shl edx, 2
mov dword [edi], ecx
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], edx
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x700d50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7db3bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.00700c70
mov eax, dword [esp + 0x30]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x700daf
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push esi
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
lea ecx, [esp + 0x1c]
push ebx
push ecx
lea edx, [esp + 0x1b]
push 1
push edx
push ebp
call esi
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x3c]
push 4
push ecx
push ebp
mov dword [esp + 0x48], ebx
call esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebx
cmp eax, ebx
jle 0x700e91
jmp 0x700df2
mov edi, dword [esp + 0x14]
xor ebx, ebx
push 0xa8
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x700e2d
lea ecx, [eax + 0x98]
xor edx, edx
mov dword [eax], 0x7eeb40
mov word [eax + 0x94], bx
mov dword [ecx], edx
mov ebx, eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
push ebp
mov ecx, ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00700810
mov esi, dword [edi + 8]
push 0xc
mov edi, dword [esi + 4]
call fcn.007a2d8d
add esp, 4
mov ecx, esi
test esi, esi
jne 0x700e55
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x700e5d
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
add eax, 8
test eax, eax
je 0x700e71
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov esi, dword [eax + 0xc]
inc esi
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x700dec
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x7195d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7dd620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [eax]
push edi
mov byte [esi], cl
mov al, byte [edx]
xor ebx, ebx
push 0x34
mov dword [esp + 0x14], esi
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.007a2d8d
mov edi, eax
add esp, 4
lea ecx, [esp + 0x28]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x30], 1
call fcn.007a04d4
mov eax, dword [0x9e3088]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x719647
mov dword [0x9e3088], edi
mov dword [edi], ebx
mov ecx, dword [0x9e3088]
xor ebp, ebp
mov dword [ecx + 8], ebx
mov ecx, dword [0x9ea21c]
inc ecx
mov dword [0x9ea21c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.007a0570
cmp ebp, ebx
je 0x719672
push ebp
call fcn.007a02e0
add esp, 4
mov edi, dword [0x9e3088]
push 0x34
call fcn.007a2d8d
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x14], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x7339c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7e07b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
mov cl, byte [esp + 3]
mov dword [esp + 4], eax
mov byte [eax + 4], cl
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dl, byte [esp + 3]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x14], dl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dl, byte [esp + 3]
mov byte [esp + 0x10], 1
mov byte [eax + 0x28], dl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dl, byte [esp + 3]
mov byte [esp + 0x10], 2
mov byte [eax + 0x3c], dl
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dl, byte [esp + 3]
mov byte [esp + 0x10], 3
mov byte [eax + 0x50], dl
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], 0xffffffff
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x7369f0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x7e0ff6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov edx, dword [eax]
push edi
mov edi, dword [esp + 0x2c]
mov dword [ecx], edx
lea esi, [ecx + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
xor ebx, ebx
mov dword [esi], eax
mov cl, byte [edi + 4]
mov byte [esi + 4], cl
mov dl, byte [edi + 5]
mov byte [esi + 5], dl
mov al, byte [edi + 6]
mov byte [esi + 6], al
mov cl, byte [edi + 7]
mov byte [esi + 7], cl
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov al, byte [edi + 0xc]
mov byte [esi + 0xc], al
mov cl, byte [edi + 0xd]
mov byte [esi + 0xd], cl
mov dl, byte [edi + 0xe]
mov byte [esi + 0xe], dl
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x18]
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], esi
mov dl, byte [eax]
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x7e565c]
push edx
push ebx
push eax
call fcn.00404c60
mov al, byte [edi + 0x28]
lea ebp, [esi + 0x2c]
mov dword [esp + 0x20], ebx
mov byte [esi + 0x28], al
mov dword [esp + 0x2c], ebp
lea ebx, [edi + 0x2c]
mov dword [esp + 0x28], 2
mov cl, byte [ebx]
xor eax, eax
mov byte [ebp], cl
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov edx, dword [0x7e565c]
mov ecx, ebp
push edx
push eax
push ebx
call fcn.00404c60
mov eax, dword [ebx + 0x10]
mov byte [esp + 0x20], 1
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x28]
add ebp, 0x14
add ebx, 0x14
dec eax
mov byte [esp + 0x20], 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], eax
jne 0x736aa2
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
mov al, byte [edi + 0x5c]
mov byte [esi + 0x5c], al
mov cx, word [edi + 0x5e]
mov word [esi + 0x5e], cx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [esp + 0x18], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x747100
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.0x747112
jmp dword [eax*4 + 0x747308]
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, 0x870c08
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.00401b40
test al, al
je 0x7471ef
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
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 0x7472f0
cmp esi, 0xffffffff
jne 0x747206
call fcn.007a02eb
mov ecx, ebx
call fcn.00405090
cmp eax, esi
jae 0x747216
call fcn.007a02eb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x74723b
mov al, byte [ecx - 1]
test al, al
je 0x74723b
cmp al, 0xff
je 0x74723b
test esi, esi
jne 0x74725f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404e60
jmp 0x747289
test esi, esi
jne 0x74724a
push 1
mov ecx, ebx
call fcn.00404e60
jmp 0x747289
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x747256
cmp eax, esi
jae 0x747267
push 1
mov ecx, ebx
call fcn.00404e60
push esi
mov ecx, ebx
call fcn.00401c60
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 0x7472b8
mov al, byte [eax - 1]
test al, al
je 0x7472a8
cmp al, 0xff
je 0x7472a8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401b40
mov eax, dword [ebx + 4]
test eax, eax
je 0x7472b3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x7472bd
mov ebx, 0x7e5658
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x7472e5
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x7472e0
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 0x747580
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.0x747592
jmp dword [eax*4 + 0x747788]
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, 0x870c08
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.00401b40
test al, al
je 0x74766f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
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 0x747770
cmp esi, 0xffffffff
jne 0x747686
call fcn.007a02eb
mov ecx, ebx
call fcn.00405090
cmp eax, esi
jae 0x747696
call fcn.007a02eb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x7476bb
mov al, byte [ecx - 1]
test al, al
je 0x7476bb
cmp al, 0xff
je 0x7476bb
test esi, esi
jne 0x7476df
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404e60
jmp 0x747709
test esi, esi
jne 0x7476ca
push 1
mov ecx, ebx
call fcn.00404e60
jmp 0x747709
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x7476d6
cmp eax, esi
jae 0x7476e7
push 1
mov ecx, ebx
call fcn.00404e60
push esi
mov ecx, ebx
call fcn.00401c60
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 0x747738
mov al, byte [eax - 1]
test al, al
je 0x747728
cmp al, 0xff
je 0x747728
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401b40
mov eax, dword [ebx + 4]
test eax, eax
je 0x747733
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x74773d
mov ebx, 0x7e5658
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x747765
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x747760
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 0x747a00
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.0x747a12
jmp dword [eax*4 + 0x747c08]
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, 0x870c08
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.00401b40
test al, al
je 0x747aef
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
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 0x747bf0
cmp esi, 0xffffffff
jne 0x747b06
call fcn.007a02eb
mov ecx, ebx
call fcn.00405090
cmp eax, esi
jae 0x747b16
call fcn.007a02eb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x747b3b
mov al, byte [ecx - 1]
test al, al
je 0x747b3b
cmp al, 0xff
je 0x747b3b
test esi, esi
jne 0x747b5f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404e60
jmp 0x747b89
test esi, esi
jne 0x747b4a
push 1
mov ecx, ebx
call fcn.00404e60
jmp 0x747b89
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x747b56
cmp eax, esi
jae 0x747b67
push 1
mov ecx, ebx
call fcn.00404e60
push esi
mov ecx, ebx
call fcn.00401c60
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 0x747bb8
mov al, byte [eax - 1]
test al, al
je 0x747ba8
cmp al, 0xff
je 0x747ba8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401b40
mov eax, dword [ebx + 4]
test eax, eax
je 0x747bb3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x747bbd
mov ebx, 0x7e5658
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x747be5
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x747be0
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 0x747e80
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.0x747e92
jmp dword [eax*4 + 0x748088]
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, 0x870c08
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.00401b40
test al, al
je 0x747f6f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
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 0x748070
cmp esi, 0xffffffff
jne 0x747f86
call fcn.007a02eb
mov ecx, ebx
call fcn.00405090
cmp eax, esi
jae 0x747f96
call fcn.007a02eb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x747fbb
mov al, byte [ecx - 1]
test al, al
je 0x747fbb
cmp al, 0xff
je 0x747fbb
test esi, esi
jne 0x747fdf
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404e60
jmp 0x748009
test esi, esi
jne 0x747fca
push 1
mov ecx, ebx
call fcn.00404e60
jmp 0x748009
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x747fd6
cmp eax, esi
jae 0x747fe7
push 1
mov ecx, ebx
call fcn.00404e60
push esi
mov ecx, ebx
call fcn.00401c60
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 0x748038
mov al, byte [eax - 1]
test al, al
je 0x748028
cmp al, 0xff
je 0x748028
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401b40
mov eax, dword [ebx + 4]
test eax, eax
je 0x748033
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x74803d
mov ebx, 0x7e5658
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x748065
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x748060
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