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

Disassembly:
push 0xffffffffffffffff
push 0x546558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.00440c20
lea eax, [esi + 0x1e4]
xor edx, edx
or ecx, 0xffffffff
lea ebx, [esi + 0x1ec]
mov word [eax + 2], dx
mov word [eax], dx
mov word [eax + 6], cx
mov word [eax + 4], cx
mov dword [ebx], edx
mov ecx, dword [esi + 0xc4]
mov dword [esi], 0x54d9e4
mov dword [esp + 0x18], edx
mov edi, dword [ecx + 0x20]
and edi, 0xfffffffe
mov dword [ecx + 0x20], edi
mov ecx, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ecx
push 1
push 8
push eax
call edi
mov edx, dword [0x67a8cc]
push edx
push 1
push 8
push ebx
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x1f4]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x200]
push edx
push 1
push 2
push eax
call edi
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea edx, [esi + 0x202]
push ecx
push 1
push 2
push edx
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x1f8]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1fc]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x34
mov ecx, esi
push eax
call fcn.0043ede0
mov eax, dword [esi + 8]
or al, 1
mov ecx, 8
mov dword [esi + 8], eax
xor eax, eax
lea edi, [esi + 0x204]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xb8], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4537b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00440c20
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x54dad8
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1e4]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x1e8]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043ede0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x453920
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5465b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00440c20
lea edi, [esi + 0x1ec]
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x1c], 0
mov dword [edi], 0
mov eax, dword [esi + 0xc4]
mov dword [esi], 0x54dbcc
mov ebx, dword [eax + 0x20]
and ebx, 0xfffffffe
mov dword [eax + 0x20], ebx
mov ecx, dword [0x67a8cc]
push ecx
lea ebx, [esi + 0x1e4]
push 1
push 4
push ebx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1e8]
push edx
push 1
push 4
push eax
call ebp
mov ecx, dword [0x67a8cc]
push ecx
push 1
push 4
push edi
call ebp
mov ebx, dword [ebx]
add esp, 0x30
test bl, 3
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
jne 0x4539d5
mov edx, dword [0x67a8cc]
push 1
push 0x10
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
jmp 0x453a04
push 0x24
call fcn.004784b0
mov edi, eax
add esp, 4
test edi, edi
je 0x4539fc
mov eax, dword [0x67a8cc]
push 1
push eax
call ebx
add esp, 4
mov ecx, edi
push eax
call fcn.00495d60
jmp 0x4539fe
xor eax, eax
mov dword [esi + 0x114], eax
mov ecx, dword [0x67a8cc]
push ecx
call ebx
add esp, 4
mov ecx, esi
push eax
call fcn.0043ede0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
or al, 1
mov dword [esi + 0xb8], 0x10
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x453da0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5465f8
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
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.00440c20
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x54dcc0
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1e4]
push ecx
push 1
xor ebp, ebp
push 4
push edx
mov dword [esp + 0x30], ebp
call edi
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x1e8]
push ecx
push 1
push 0x10
push eax
call edi
mov edx, dword [0x67a8cc]
lea ebx, [esi + 0x1fc]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x58]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x68], ebp
call edi
mov edx, dword [0x67a8cc]
add esp, 0x40
lea ebp, [esi + 0x204]
push edx
push 1
push 4
push ebp
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x20]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x30], 0
call edi
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043ede0
mov edx, dword [esi + 8]
mov eax, dword [ebx]
or edx, 1
test eax, eax
mov dword [esi + 8], edx
jle 0x453eca
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x453eca
shl eax, 3
push eax
call fcn.00478f00
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x200], eax
mov edx, dword [0x67a8cc]
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x67a8cc]
mov ecx, dword [ebx]
mov edx, dword [esi + 0x200]
push eax
push ecx
push 8
push edx
call edi
add esp, 0x20
jmp 0x453ed4
mov dword [esi + 0x200], 0
mov eax, dword [ebp]
test eax, eax
jle 0x453f23
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x453f23
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.00478f00
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x208], eax
mov edx, dword [0x67a8cc]
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x67a8cc]
mov ecx, dword [ebp]
mov edx, dword [esi + 0x208]
push eax
push ecx
push 0xc
push edx
call edi
add esp, 0x20
jmp 0x453f2d
mov dword [esi + 0x208], 0
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x453f4d
lea ecx, [esi + 0x1e8]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x453f4f
xor eax, eax
mov ecx, esi
mov dword [esi + 0x12c], eax
call fcn.0043d3d0
mov ecx, eax
call fcn.004c9d30
push eax
call fcn.00478f00
add esp, 4
mov ecx, esi
mov dword [esi + 0x210], eax
call fcn.0043d3d0
mov ecx, eax
call fcn.004c9d30
mov edi, dword [esi + 0x210]
mov ecx, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x454f50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5466a8
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
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00440c20
xor eax, eax
lea ebx, [esi + 0x200]
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1f8], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x1fc], eax
mov eax, 1
lea ebp, [esi + 0x208]
mov word [ebx], ax
mov word [ebx + 2], ax
mov dword [ebx + 4], eax
mov word [ebp], ax
mov word [ebp + 2], ax
mov dword [ebp + 4], eax
or eax, 0xffffffff
mov word [esi + 0x210], ax
mov word [esi + 0x212], ax
push 0x24
mov dword [esi], 0x54dea8
call fcn.004784b0
mov edi, eax
add esp, 4
test edi, edi
je 0x455003
mov ecx, dword [0x67a8cc]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, edi
push eax
call fcn.00495d60
jmp 0x455005
xor eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0xcc], eax
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1e4]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x1e8]
push ecx
push 1
push 4
push eax
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1ec]
push edx
push 1
push 4
push eax
call edi
mov eax, dword [0x67a8cc]
push eax
push 1
lea eax, [esi + 0x1f0]
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea eax, [esi + 0x1f4]
push ecx
push 1
push 4
push eax
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1f8]
push edx
push 1
push 4
push eax
call edi
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043e9b0
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043ee20
mov edx, dword [0x67a8ec]
mov eax, dword [esi + 0x1e4]
test eax, edx
je 0x455129
mov eax, dword [esi + 0x1ec]
mov ecx, dword [esi + 0x1e8]
lea eax, [eax + ecx - 2]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x455109
lea edx, [eax*4]
push edx
call fcn.00478f00
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1fc], eax
mov ecx, dword [0x67a8cc]
push ecx
push edx
push 4
push eax
call edi
add esp, 0x14
mov eax, dword [0x67a8cc]
push eax
push 1
push 8
push ebx
call edi
mov ecx, dword [0x67a8cc]
push ecx
push 1
push 8
push ebp
call edi
add esp, 0x20
jmp 0x45515b
mov eax, dword [esi + 0x1f8]
mov ecx, 1
mov word [esp + 0x10], cx
mov word [esp + 0x12], cx
mov edx, dword [esp + 0x10]
mov word [esp + 0x10], cx
mov word [esp + 0x12], cx
mov ecx, dword [esp + 0x10]
mov dword [ebx], edx
mov dword [ebp], ecx
mov dword [ebx + 4], eax
mov dword [ebp + 4], eax
test byte [esi + 0x1e4], 3
jne 0x455170
mov eax, dword [esi + 0xc4]
and dword [eax + 0x20], 0xfffffffe
jmp 0x45517c
mov edx, dword [esi + 8]
and dh, 0xfd
or dh, 1
mov dword [esi + 8], edx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
or al, 1
mov dword [esi + 0xb8], 0x10
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x455a40
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5466e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00440c20
xor ebx, ebx
mov ebp, 1
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebp
mov dword [esi + 0x240], ebp
mov dword [esi + 0x244], ebp
mov dword [esi + 0x248], ebp
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov word [esi + 0x24c], bx
mov word [esi + 0x24e], bx
mov dword [esi], 0x54df9c
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x1e4]
push ecx
push ebp
push 4
push eax
mov dword [esp + 0x2c], ebx
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1e8]
push edx
push ebp
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x1ec]
push ecx
push ebp
push 0x10
push eax
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1fc]
push edx
push ebp
push 0x10
push eax
call edi
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea eax, [esi + 0x20c]
push ecx
push ebp
push 0x10
push eax
call edi
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043ee20
mov eax, dword [0x67a8cc]
lea ebp, [esi + 0x21c]
push eax
push 1
push 0x10
push ebp
call edi
mov ecx, dword [0x67a8ec]
mov eax, dword [esi + 0x1e4]
add esp, 0x10
test ecx, eax
je 0x455b81
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x455b79
push 1
push ebp
mov ecx, eax
call fcn.00495db0
jmp 0x455b7b
xor eax, eax
mov dword [esi + 0x11c], eax
mov edx, dword [0x67a8e4]
mov eax, dword [esi + 0x1e4]
test edx, eax
je 0x455bb9
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x455bb1
lea ecx, [esi + 0x1ec]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x455bb3
xor eax, eax
mov dword [esi + 0x124], eax
mov eax, dword [0x67a8e8]
mov ecx, dword [esi + 0x1e4]
test eax, ecx
je 0x455bf0
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x455be8
lea ecx, [esi + 0x20c]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x455bea
xor eax, eax
mov dword [esi + 0x12c], eax
mov ecx, dword [esi + 8]
mov eax, esi
and ch, 0xfd
pop edi
or ecx, 0x100101
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4564e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043cc70
lea ebx, [esi + 0x1d4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.0041add0
lea ecx, [esi + 0x1f0]
call fcn.004c5700
mov eax, 1
mov dword [esi + 0x314], edi
mov dword [esi + 0x318], edi
mov dword [esi + 0x31c], eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], eax
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x54e090
mov ecx, dword [0x67a8cc]
lea ebp, [esi + 0x1d0]
push ecx
push eax
push 4
push ebp
call edi
mov edx, dword [0x67a8cc]
push edx
push 1
push 0xc
push ebx
call edi
mov eax, dword [0x67a8cc]
lea ebx, [esi + 0x1e0]
push eax
push 1
push 0x10
push ebx
call edi
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x34
mov ecx, esi
push eax
call fcn.0043ede0
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x14]
push edx
push 1
push 0x10
push eax
call edi
mov ecx, dword [0x67a8e4]
mov eax, dword [ebp]
add esp, 0x10
test ecx, eax
je 0x4565f9
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4565f1
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, eax
call fcn.00495db0
jmp 0x4565f3
xor eax, eax
mov dword [esi + 0x12c], eax
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x456613
push 1
push ebx
mov ecx, eax
call fcn.00495db0
jmp 0x456615
xor eax, eax
mov dword [esi + 0x124], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x24]
and ah, 0xfd
or eax, 0x100100
pop edi
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x456cd0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043cc70
lea ebp, [esi + 0x1d4]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.0041add0
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0x400], ebx
mov dword [esi + 0x404], ebx
mov dword [esi + 0x408], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0x410], ebx
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x420], 5
mov dword [esi], 0x54e180
mov ecx, dword [0x67a8cc]
push ecx
push 1
lea edx, [esi + 0x1d0]
push 4
push edx
call edi
mov eax, dword [0x67a8cc]
push eax
push 1
push 0xc
push ebp
call edi
mov ecx, dword [0x67a8cc]
lea ebp, [esi + 0x1e0]
push ecx
push 1
push 0x10
push ebp
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1f0]
push edx
push 1
push 0x10
push eax
call edi
mov ecx, dword [0x67a8cc]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043ede0
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x456dc5
push 1
push ebp
mov ecx, eax
call fcn.00495db0
jmp 0x456dc7
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov dword [esi + 0x124], eax
or edx, 0x100100
mov eax, esi
mov dword [esi + 8], edx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x456ed0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x585050
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
cmp ebp, esi
je 0x45703d
xor ecx, ecx
push ebp
mov dword [esp + 0x19], ecx
push 1
mov dword [esp + 0x21], ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x25], ecx
push 0x10
mov word [esp + 0x2d], cx
push edx
mov byte [esp + 0x24], 0
mov byte [esp + 0x33], cl
call dword [sym.imp.MSVCRT.dll_fread]
mov ebx, dword [sym.imp.MSVCRT.dll_strncmp]
mov eax, 8
add esp, 0x10
mov dword [esp + 0x24], str.isom
mov dword [esp + 0x28], 0x585d58
mov dword [esp + 0x2c], 0x585d54
mov dword [esp + 0x30], str..RMF
mov dword [esp + 0x34], str.RIFF
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov edx, dword [esp + esi + 0x24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + esi + 0x38]
not ecx
dec ecx
push ecx
lea ecx, [esp + eax + 0x18]
push edx
push ecx
call ebx
add esp, 0xc
test eax, eax
je 0x456fa2
add esi, 4
cmp esi, 0x14
jl 0x456f70
mov ebx, dword [esp + 0x10]
jmp 0x456fa7
mov ebx, 1
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
test ebx, ebx
jne 0x457049
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x38], str..mp4
mov dword [esp + 0x3c], str..avi
mov dword [esp + 0x40], str..wmv
mov dword [esp + 0x44], str..mkv
mov dword [esp + 0x48], str..mov
mov dword [esp + 0x4c], str..3gp
mov dword [esp + 0x50], str..flv
mov dword [esp + 0x54], str..mpg
mov dword [esp + 0x58], str..vob
xor edi, edi
lea esi, [esp + 0x38]
mov edx, dword [esi]
mov eax, dword [esp + 0x60]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x457023
cmp byte [eax], 0
jne 0x45702e
inc edi
add esi, 4
cmp edi, 9
jae 0x457049
jmp 0x45700d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x4c
ret 4
Function at 0x4583a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5467c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043cc70
mov eax, dword [esi + 0xc4]
mov dword [esi], 0x54e360
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
xor ebx, ebx
mov edi, dword [eax + 0x20]
mov dword [esp + 0x1c], ebx
and edi, 0xfffffffe
mov dword [eax + 0x20], edi
mov ecx, dword [0x67a8cc]
push ecx
lea edi, [esi + 0x1d0]
push 1
push 4
push edi
call ebp
mov edx, dword [0x67a8e4]
mov eax, dword [edi]
add esp, 0x10
test eax, edx
je 0x45844d
push 0x24
call fcn.004784b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x458441
mov eax, dword [0x67a8cc]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, ebx
push eax
call fcn.00495d60
mov dword [esi + 0x11c], eax
xor ebx, ebx
jmp 0x458461
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x11c], eax
jmp 0x458461
mov ecx, dword [0x67a8cc]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [0x67a8e8]
mov eax, dword [edi]
test eax, edx
je 0x4584a8
push 0x24
call fcn.004784b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45849e
mov eax, dword [0x67a8cc]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, edi
push eax
call fcn.00495d60
mov dword [esi + 0x12c], eax
jmp 0x4584bc
xor eax, eax
mov dword [esi + 0x12c], eax
jmp 0x4584bc
mov ecx, dword [0x67a8cc]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1d4]
push edx
push 1
push 4
push eax
call ebp
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1d8]
push ecx
push 1
push 4
push edx
call ebp
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043ede0
mov eax, dword [esi + 0x11c]
mov dword [esi + 0xbc], 1
cmp eax, ebx
je 0x458518
mov dword [esi + 0xbc], ebx
mov dword [esi + 0x68], ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xb8], 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4586a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5467e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00440c20
mov ebp, 1
xor ebx, ebx
mov word [esi + 0x1e8], bp
mov word [esi + 0x1ea], bp
mov dword [esi + 0x1ec], ebp
mov dword [esi + 0x214], ebx
mov word [esi + 0x23a], bx
mov word [esi + 0x238], bx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebp
mov dword [esi + 0x248], ebp
mov dword [esi + 0x24c], ebp
mov dword [esi + 0x250], ebp
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
mov word [esi + 0x25c], bx
mov word [esi + 0x25e], bx
mov ecx, 8
xor eax, eax
lea edi, [esi + 0x218]
mov dword [esi + 0x260], ebx
mov dword [esi + 0x264], 0xffffffff
mov dword [esi], 0x54e450
rep stosd dword es:[edi], eax
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1e4]
push ecx
push ebp
push 0x30
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
lea eax, [esp + 0x14]
mov ecx, esi
mov dword [esi + 0xb8], ebp
push eax
call fcn.00459680
movsx eax, word [eax + 2]
movsx edx, word [esi + 0x16]
movsx edi, word [esi + 0x12]
lea ecx, [eax + eax]
sub edx, edi
movsx edi, word [esi + 0x10]
sub edx, ecx
inc edx
push edx
movsx edx, word [esi + 0x14]
sub edx, edi
sub edx, ecx
movsx ecx, word [esi + 0x12]
inc edx
add ecx, eax
push edx
push ecx
movsx edx, word [esi + 0x10]
add edx, eax
lea ecx, [esp + 0x20]
push edx
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x14], edx
movsx eax, word [esi + 0x16]
movsx ecx, word [esi + 0x12]
movsx edx, word [esi + 0x14]
sub eax, ecx
inc eax
push eax
movsx eax, word [esi + 0x10]
sub edx, eax
lea ecx, [esp + 0x20]
inc edx
push edx
push ebx
push ebx
call fcn.004c9320
mov ecx, dword [eax]
pop edi
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [esi + 8]
and ah, 0xfd
mov dword [esi + 0x38], edx
or eax, 0x101
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4