joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d9e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
movlpd qword [ebp - 8], xmm0
test byte [eax], 1
je 0x44da08
mov edi, dword [eax + 0x2c]
mov edx, edi
mov esi, dword [eax + 0x28]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x44]
add eax, 0x48
push ebx
test ecx, ecx
je 0x44da38
push ecx
push eax
call fcn.0044d440
add esp, 8
test eax, eax
je 0x44da78
mov edi, dword [eax + 0x31c]
mov edx, edi
mov esi, dword [eax + 0x318]
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test ebx, ebx
je 0x44da78
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov esi, eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov edx, edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
mov edx, edi
mov esi, dword [ebp - 8]
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4501b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4501e2
push esi
call fcn.00465d50
add esp, 4
cmp byte [esi + 0x40], 0
je 0x4501db
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x45026e
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x450258
lea ecx, [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0x45020f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x450252
cmp eax, 2
je 0x450258
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x450200
cmp eax, 3
je 0x450237
cmp eax, 1
jne 0x450200
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x450200
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x450200
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004502a0
add esp, 4
pop edi
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x450290
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.004502a0
add esp, 4
pop edi
pop esi
pop ebp
ret
Function at 0x4502a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xcc
je 0x4502cc
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
cmp byte [eax + 8], 0
je 0x4502ff
jmp 0x4502e0
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
mov eax, dword [esi]
mov eax, dword [eax]
call eax
mov eax, dword [esi + 0x180]
add esp, 4
cmp byte [eax + 8], 0
jne 0x4502e0
xor eax, eax
cmp byte [esi + 0x41], al
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebp
ret

Function at 0x4523a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test dword [edi + 0x8c], 0x10000
je 0x4523f3
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea eax, [ebx + 1]
push eax
call fcn.00593e38
mov esi, eax
add esp, 4
test esi, esi
je 0x4523ee
mov ecx, dword [ebp + 8]
push dword [ecx]
push 1
push ebx
push esi
call fcn.00595b79
push 0
push esi
push edi
mov byte [esi + ebx], 0
call fcn.004522a0
push esi
call fcn.00592c4b
add esp, 0x20
pop esi
pop ebx
pop edi
pop ebp
ret
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0045d3f0
add esp, 8
pop edi
pop ebp
ret

Function at 0x452830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test dword [edi + 0x8c], 0x10000
je 0x452884
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push ebx
call fcn.00593e38
mov esi, eax
add esp, 4
test esi, esi
je 0x45287f
mov ecx, dword [ebp + 8]
push dword [ecx]
push 1
push ebx
push esi
call fcn.00595b79
push 0
push esi
push dword [ebp + 0x10]
mov byte [esi + ebx - 1], 0
push edi
call fcn.004526f0
push esi
call fcn.00592c4b
add esp, 0x24
pop esi
pop ebx
pop edi
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0045d3f0
add esp, 8
pop edi
pop ebp
ret

Function at 0x453970
Capabilities:
Check mutex on windows

Disassembly:
cmp dword [0x645018], 0
jne 0x453994
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xffffffffffffffff
push eax
mov dword [0x645008], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
mov eax, dword [0x645008]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x458cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
test byte [esi], 4
je 0x458d43
movzx ecx, word [esi + 0x18]
cmp cx, 1
jle 0x458d43
xor edx, edx
xor ebx, ebx
cmp dx, cx
jge 0x458d97
test ax, ax
jne 0x458d97
xor edi, edi
cmp dword [esi + 0x14], edi
jle 0x458d35
mov eax, dword [ebp + 8]
push dword [eax]
push 1
push dword [esi + 0x20]
push dword [esi + 0xc]
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x458d30
push 1
push 0xffffffffffffffff
push ebx
push dword [ebp + 0xc]
call fcn.004585b0
movzx eax, ax
add esp, 0x10
test ax, ax
jne 0x458d35
inc edi
cmp edi, dword [esi + 0x14]
jl 0x458cf7
jmp 0x458d35
mov eax, 4
movsx ecx, word [esi + 0x18]
inc ebx
cmp ebx, ecx
jl 0x458ce7
pop edi
pop esi
pop ebx
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x14], eax
jle 0x458d97
mov ebx, dword [ebp + 0xc]
lea ecx, [ecx]
mov eax, dword [ebp + 8]
push dword [eax]
movsx eax, word [esi + 0x18]
push eax
push dword [esi + 0x20]
push dword [esi + 0xc]
call fcn.00595b79
movsx ecx, word [esi + 0x18]
add esp, 0x10
cmp eax, ecx
jne 0x458d92
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.004585b0
movzx eax, ax
add esp, 0x10
test ax, ax
jne 0x458d97
inc edi
cmp edi, dword [esi + 0x14]
jl 0x458d50
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45c710
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
call fcn.0059630e
add esp, 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x45c7e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
cvtpd2ps xmm0, xmm0
push 1
push 4
push eax
movss dword [ebp + 0x10], xmm0
call fcn.0059628c
add esp, 0x10
test eax, eax
jne 0x45c80f
mov eax, 4
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x45ce00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0xc]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x45ce41
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [ebp - 0xc]
xor eax, eax
mov ecx, dword [ebp - 4]
movsd qword [esi], xmm0
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret

Function at 0x45ce60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0xc]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x45cea1
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 0xc]
movzx eax, byte [ebp - 5]
mov byte [ebp - 5], cl
mov cl, byte [ebp - 0xb]
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 6]
mov byte [ebp - 6], cl
mov cl, byte [ebp - 0xa]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 7]
mov byte [ebp - 7], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 8]
mov byte [ebp - 8], cl
mov ecx, dword [ebp - 4]
mov byte [ebp - 9], al
xor ecx, ebp
movsd xmm0, qword [ebp - 0xc]
xor eax, eax
movsd qword [esi], xmm0
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret

Function at 0x45cef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x45cf13
mov eax, 4
pop ebp
ret
movss xmm0, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [eax], xmm0
xor eax, eax
pop ebp
ret

Function at 0x45cf30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x45cf53
mov eax, 4
pop ebp
ret
mov cl, byte [ebp + 8]
movzx eax, byte [ebp + 0xb]
mov byte [ebp + 8], al
movzx eax, byte [ebp + 0xa]
mov byte [ebp + 0xb], cl
mov cl, byte [ebp + 9]
mov byte [ebp + 9], al
mov eax, dword [ebp + 0xc]
mov byte [ebp + 0xa], cl
movss xmm0, dword [ebp + 8]
cvtps2pd xmm0, xmm0
movsd qword [eax], xmm0
xor eax, eax
pop ebp
ret
Function at 0x45cf80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push dword [eax]
lea eax, [ebp - 0xc]
push 1
push 8
push eax
call fcn.00595b79
movzx eax, byte [ebp - 5]
add esp, 0x10
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp - 6]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 7]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 8]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 9]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0xa]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0xb]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebp - 0xc]
shld esi, ecx, 8
cdq
shl ecx, 8
or edx, esi
or eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret

Function at 0x45d030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.00595b79
movzx eax, byte [ebp + 0xb]
add esp, 0x10
movzx ecx, byte [ebp + 0xa]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
shl eax, 8
movzx edx, ch
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
pop ebp
ret

Function at 0x45d070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.00595b79
mov ecx, dword [ebp + 8]
add esp, 0x10
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [ebp + 0xa]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp + 0xb]
shl eax, 8
or eax, ecx
pop ebp
ret

Function at 0x45d0b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [eax]
mov edi, dword [ebp + 0xc]
push 2
push edi
push esi
call fcn.00595b79
add esp, 0x10
cmp eax, 2
je 0x45d0d7
pop edi
xor eax, eax
pop esi
pop ebp
ret
cmp dword [ebp + 0x10], 0
jne 0x45d0fc
xor edx, edx
test edi, edi
jle 0x45d0fc
mov ax, word [esi + edx*2]
movzx ecx, byte [esi + edx*2 + 1]
shl ax, 8
or cx, ax
mov word [esi + edx*2], cx
inc edx
cmp edx, edi
jl 0x45d0e3
pop edi
mov eax, 1
pop esi
pop ebp
ret
Function at 0x45d110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [eax]
mov edi, dword [ebp + 8]
push 2
push esi
push edi
call fcn.00595b79
add esp, 0x10
cmp eax, 2
je 0x45d137
pop edi
xor eax, eax
pop esi
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x45d1dd
xor eax, eax
test esi, esi
jle 0x45d1f8
mov edx, dword [ebp + 0xc]
cmp esi, 0x10
jb 0x45d1c4
push ebx
lea ecx, [esi - 1]
lea ebx, [edx - 1]
lea ecx, [edi + ecx*2]
add ebx, esi
cmp edx, ecx
ja 0x45d167
cmp ebx, edi
jae 0x45d1c3
mov ecx, esi
and ecx, 0x8000000f
jns 0x45d176
dec ecx
or ecx, 0xfffffff0
inc ecx
mov ebx, esi
sub ebx, ecx
mov ecx, 8
movd xmm1, ecx
mov ecx, edi
movdqu xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
psrlw xmm0, xmm1
pand xmm0, xmmword [0x5d4ee0]
packuswb xmm0, xmm0
movq qword [edx + eax], xmm0
movdqu xmm0, xmmword [ecx - 0x10]
psrlw xmm0, xmm1
pand xmm0, xmmword [0x5d4ee0]
packuswb xmm0, xmm0
movq qword [edx + eax + 8], xmm0
add eax, 0x10
cmp eax, ebx
jl 0x45d185
pop ebx
cmp eax, esi
jge 0x45d1f8
mov cl, byte [edi + eax*2 + 1]
mov byte [eax + edx], cl
inc eax
cmp eax, esi
jl 0x45d1c8
pop edi
mov eax, 1
pop esi
pop ebp
ret
xor ecx, ecx
test esi, esi
jle 0x45d1f8
mov edx, dword [ebp + 0xc]
movzx eax, word [edi + ecx*2]
shl eax, 8
sar eax, 8
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x45d1e6
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x45d490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movsd xmm0, qword [ebp + 0xc]
cvtpd2ps xmm0, xmm0
movss dword [ebp + 0x10], xmm0
movzx eax, byte [ebp + 0x13]
mov cl, byte [ebp + 0x10]
mov byte [ebp + 0x10], al
movzx eax, byte [ebp + 0x12]
mov byte [ebp + 0x13], cl
mov cl, byte [ebp + 0x11]
mov byte [ebp + 0x11], al
mov eax, dword [ebp + 8]
mov byte [ebp + 0x12], cl
push dword [eax]
lea eax, [ebp + 0x10]
push 1
push 4
push eax
call fcn.0059628c
add esp, 0x10
test eax, eax
jne 0x45d4db
mov eax, 4
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x45d530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d540
mov ecx, dword [ebp + 8]
sub eax, esi
push dword [ecx]
push eax
push 1
push edx
call fcn.0059628c
add esp, 0x10
pop esi
pop ebp
ret

Function at 0x45d5c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45d5cc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0045d5e0
Function at 0x461ef0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [esi], 0
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x24c], eax
mov dword [eax], 0
call fcn.00462ec0
lea edx, [ebp - 0x108]
add esp, 4
sub edx, edi
mov ecx, edi
mov dword [ebp - 0x25c], edx
jmp 0x461f50
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x461f50
lea ecx, [ebp - 0x108]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x461f64
mov eax, dword [0x5d7110]
mov dword [ecx], eax
mov al, byte [0x5d7114]
mov byte [ecx + 4], al
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
je 0x462034
xor edi, edi
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx]
inc ecx
cmp ecx, ebx
jl 0x461fd4
mov eax, dword [esi]
add edi, 0x4100
add ebx, 0x40
push edi
test eax, eax
jne 0x461fc9
call fcn.00593e38
add esp, 4
jmp 0x461fd2
push eax
call fcn.00593eca
add esp, 8
mov dword [esi], eax
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
mov eax, dword [eax]
imul edx, eax, 0x104
inc eax
add edx, dword [esi]
mov esi, dword [ebp - 0x24c]
mov dword [esi], eax
mov eax, ecx
mov esi, dword [ebp - 0x254]
sub edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x462000
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x461fa2
mov edi, dword [ebp - 0x258]
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x25c]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x462041
lea ecx, [ebp - 0x108]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x462055
mov eax, dword [0x5d7118]
mov dword [ecx], eax
mov ax, word [0x5d711c]
mov word [ecx + 4], ax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
je 0x46212e
imul edi, ebx, 0x104
lea esp, [esp]
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
inc ecx
cmp ecx, ebx
jl 0x4620d2
mov eax, dword [esi]
add edi, 0x4100
invalid
Function at 0x467200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push dword [ebx]
push 4
push 1
push edi
call fcn.00595b79
add esp, 0x10
cmp byte [edi], 0x53
je 0x46723e
cmp byte [edi + 1], 0x80
je 0x46723e
mov al, byte [edi + 2]
cmp al, 0xf6
je 0x46723e
cmp al, 0x34
je 0x46723e
pop edi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0045cf30
add esp, 8
test ax, ax
jne 0x467233
movsd xmm0, qword [ebp - 8]
lea eax, [edi + 8]
cvtpd2ps xmm0, xmm0
push esi
movss dword [edi + 4], xmm0
push dword [ebx]
push 0x50
push 1
push eax
call fcn.00595b79
push dword [ebx]
lea esi, [edi + 0x58]
push 4
push 1
push esi
call fcn.00595b79
push 4
push str.PICT
push esi
call fcn.00596360
add esp, 0x2c
pop esi
test eax, eax
jne 0x467233
push ebx
call fcn.0045d240
push ebx
mov word [edi + 0x5c], ax
call fcn.0045d240
mov word [edi + 0x5e], ax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0045cf30
add esp, 0x10
test ax, ax
jne 0x467233
movsd xmm0, qword [ebp - 8]
cvtpd2ps xmm0, xmm0
push ebx
movss dword [edi + 0x60], xmm0
call fcn.0045d240
mov word [edi + 0x64], ax
lea eax, [edi + 0x66]
push dword [ebx]
push 2
push 1
push eax
call fcn.00595b79
push dword [ebx]
call fcn.00595867
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x467300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov word [esi], ax
mov word [ebx], ax
mov eax, dword [ebp + 0x18]
mov word [eax], cx
nop
movzx ecx, word [esi]
test cx, cx
je 0x467332
movsx eax, cx
cmp byte [edi + eax*4 - 4], 1
jne 0x467375
mov eax, dword [ebp + 8]
push dword [eax]
movsx eax, cx
push 1
push 4
lea eax, [edi + eax*4]
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x46737c
movsx eax, word [esi]
mov edx, 1
test byte [edi + eax*4 + 3], 0x10
je 0x467363
mov eax, dword [ebp + 0x18]
mov word [eax], dx
movsx eax, word [esi]
test byte [edi + eax*4 + 2], 2
je 0x467370
mov word [ebx], dx
inc word [esi]
jmp 0x467320
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
pop ebp
ret
Function at 0x467390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov dword [ebp - 0x108], eax
cmp dword [ebp + 0xc], ebx
jle 0x4674a3
lea ecx, [ecx]
push dword [eax]
lea eax, [ebp - 0x104]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
cmp eax, 1
jne 0x4674b6
mov al, byte [ebp - 0x104]
movzx edi, al
test al, al
jns 0x467453
and edi, 0x7f
jne 0x467420
mov eax, dword [ebp - 0x108]
push dword [eax]
lea eax, [ebp - 0x104]
push 1
push 2
push eax
call fcn.00595b79
movzx edi, byte [ebp - 0x104]
add esp, 0x10
movzx eax, byte [ebp - 0x103]
shl edi, 8
or edi, eax
jmp 0x467421
inc edi
mov eax, dword [ebp - 0x108]
push dword [eax]
lea eax, [ebp - 0x104]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test edi, edi
jle 0x467492
mov cl, byte [ebp - 0x104]
mov eax, edi
mov byte [esi + 3], cl
add esi, 4
dec eax
jne 0x467448
jmp 0x467492
mov eax, dword [ebp - 0x108]
and edi, 0x7f
inc edi
push dword [eax]
lea eax, [ebp - 0x104]
push 1
push edi
push eax
call fcn.00595b79
add esp, 0x10
xor ecx, ecx
test edi, edi
jle 0x467492
jmp 0x467480
mov al, byte [ebp + ecx - 0x104]
inc ecx
mov byte [esi + 3], al
add esi, 4
cmp ecx, edi
jl 0x467480
mov eax, dword [ebp - 0x108]
add ebx, edi
cmp ebx, dword [ebp + 0xc]
jl 0x4673c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x4674d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x308], eax
cmp dword [ebp + 0xc], eax
jle 0x467666
mov bx, word [ebp + 0x14]
jmp 0x467510
push dword [ecx]
lea eax, [ebp - 0x304]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
cmp eax, 1
jne 0x467679
mov al, byte [ebp - 0x304]
movzx edi, al
test al, al
jns 0x4675d9
and edi, 0x7f
jne 0x467574
mov eax, dword [ebp - 0x30c]
push dword [eax]
lea eax, [ebp - 0x304]
push 1
push 2
push eax
call fcn.00595b79
movzx edi, byte [ebp - 0x304]
add esp, 0x10
movzx eax, byte [ebp - 0x303]
shl edi, 8
or edi, eax
jmp 0x467575
inc edi
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp + 0xc]
add eax, edi
mov dword [ebp - 0x308], eax
cmp eax, ecx
jg 0x467659
mov eax, dword [ebp - 0x30c]
push dword [eax]
lea eax, [ebp - 0x304]
push 3
push 1
push eax
call fcn.00595b79
add esp, 0x10
test edi, edi
jle 0x467643
mov al, byte [ebp - 0x302]
mov cl, byte [ebp - 0x303]
mov dl, byte [ebp - 0x304]
mov byte [esi], dl
mov byte [esi + 1], cl
mov byte [esi + 2], al
add esi, 3
test bx, bx
je 0x4675d4
inc esi
dec edi
jne 0x4675c3
jmp 0x467643
mov eax, dword [ebp - 0x30c]
and edi, 0x7f
inc edi
push dword [eax]
lea eax, [ebp - 0x304]
push 3
push edi
push eax
call fcn.00595b79
mov eax, dword [ebp - 0x308]
add esp, 0x10
add eax, edi
mov dword [ebp - 0x308], eax
cmp eax, dword [ebp + 0xc]
jg 0x467659
lea edx, [edi + edi*2]
xor ecx, ecx
test edx, edx
jle 0x467643
movzx eax, byte [ebp + ecx - 0x304]
mov byte [esi], al
movzx eax, byte [ebp + ecx - 0x303]
mov byte [esi + 1], al
movzx eax, byte [ebp + ecx - 0x302]
mov byte [esi + 2], al
add esi, 3
test bx, bx
je 0x46763c
inc esi
add ecx, 3
cmp ecx, edx
jl 0x467613
mov eax, dword [ebp - 0x308]
cmp eax, dword [ebp + 0xc]
jge 0x467666
mov ecx, dword [ebp - 0x30c]
jmp 0x467510
push str.ERROR_RLE_n
call fcn.005927a9
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret

Function at 0x467690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
test ebx, ebx
jle 0x4676cc
mov edi, dword [ebp + 0x10]
add edi, 3
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 0xc]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
cmp eax, 1
jne 0x4676d3
mov al, byte [ebp + 0xc]
inc esi
mov byte [edi], al
add edi, 4
cmp esi, ebx
jl 0x4676a5
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
pop ebp
ret