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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push dword [esi]
push 2
push 4
push edi
call fcn.00595b79
push esi
call fcn.0045d210
push esi
mov word [edi + 8], ax
call fcn.0045d210
push esi
mov word [edi + 0xa], ax
call fcn.0045d210
push esi
mov word [edi + 0xc], ax
call fcn.0045d210
push esi
mov word [edi + 0xe], ax
call fcn.0045d210
push esi
mov word [edi + 0x10], ax
call fcn.0045d210
push esi
mov word [edi + 0x12], ax
call fcn.0045d030
add esp, 0x2c
mov dword [edi + 0x14], eax
cmp eax, 0x48434749
je 0x4fcb2f
pop edi
mov eax, 2
pop esi
pop ebp
ret
push dword [esi]
lea eax, [edi + 0x18]
push 2
push 6
push eax
call fcn.00595b79
push dword [esi]
call fcn.00595867
add esp, 0x14
neg eax
sbb eax, eax
and eax, 4
pop edi
pop esi
pop ebp
ret

Function at 0x4fcc90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x46c]
push esi
mov esi, dword [ebp + 0x14]
push edi
push eax
mov dword [ebp - 0x470], esi
call fcn.00457d90
mov eax, dword [str.Vista]
mov dword [ebp - 0x386], eax
movzx eax, word [0x5d3ca8]
mov word [ebp - 0x382], ax
mov eax, 0x10
mov word [ebp - 0x468], ax
mov eax, dword [ebp + 0xc]
movsx ecx, ax
mov ax, word [ebp + 0x10]
cwde
mov dword [ebp - 0x458], eax
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x454], 0x80001
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x46c]
push eax
push esi
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x45c], ecx
call fcn.00456000
movzx edi, ax
add esp, 0xc
mov dword [ebp - 0x478], edi
test di, di
jne 0x4fce02
xor esi, esi
mov edi, 0x300
lea esp, [esp]
push dword [ebx]
lea eax, [ebp - 0x474]
push 1
push 3
push eax
call fcn.00595b79
mov eax, dword [ebp - 0x474]
add esp, 0x10
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0x304], al
mov al, byte [ebp - 0x472]
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0x304], ah
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0x304], al
cmp si, di
jl 0x4fcd40
mov edi, dword [ebp - 0x478]
xor eax, eax
xor esi, esi
cmp ax, word [ebp + 0x10]
jge 0x4fcde6
jmp 0x4fcda0
push dword [ebx]
push 1
push dword [ebp - 0x47c]
push dword [ebp - 0x460]
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4fcde1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x470]
call fcn.004585b0
movzx edi, ax
add esp, 0x10
test di, di
jne 0x4fcde6
inc esi
cmp si, word [ebp + 0x10]
jl 0x4fcda0
jmp 0x4fcde6
mov edi, 4
lea eax, [ebp - 0x304]
push eax
push 8
push 0x100
push dword [ebp - 0x470]
call fcn.00453f80
add esp, 0x10
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x5005d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x500658
cmp dword [ebp + 0x14], 0
jbe 0x500658
push esi
mov esi, dword [ebp + 8]
cmp edi, dword [esi + 4]
jae 0x500657
push ebx
push dword [ebp + 0xc]
call fcn.004525d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x500656
push dword [esi]
call fcn.005960c7
mov esi, eax
mov eax, dword [ebp + 8]
push 0
push edi
push dword [eax]
call fcn.00595cb4
mov edi, dword [ebp + 0x14]
mov eax, 2
mov cx, word [ebp + 0x18]
push edi
mov word [ebx], cx
mov dword [ebx + 4], 1
mov word [ebx + 2], ax
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], edi
call fcn.00593e38
mov dword [ebx + 0x14], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push 1
push edi
push eax
call fcn.00595b79
push 0
push esi
push dword [ebx]
call fcn.00595cb4
add esp, 0x30
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x500750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push dword [ebp + 0xc]
push dword [ebx]
call fcn.00595cb4
mov edi, dword [ebp + 0x14]
add esp, 0xc
xor esi, esi
push dword [ebx]
lea eax, [ebp - 8]
push 1
push 8
push eax
call fcn.00595b79
push dword [ebp - 8]
call edi
push dword [ebp - 4]
mov dword [ebp - 8], eax
call edi
movd xmm1, dword [ebp - 8]
add esp, 0x18
cvtdq2ps xmm1, xmm1
mov dword [ebp - 4], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp + 0x10]
divss xmm1, xmm0
movss dword [eax + esi*4], xmm1
inc esi
cmp esi, 3
jl 0x500770
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x501770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x501855
push esi
mov esi, dword [ebp + 0xc]
push ebx
push edi
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00597fff
movzx ebx, ax
add esp, 4
cmp bx, 0xffff
je 0x50184d
cmp dword [ebp + 0x14], 0
je 0x5017ae
movzx eax, bl
movzx ebx, byte [eax + 0x5d1f28]
cmp bx, 0x7f
jg 0x5017f7
mov eax, dword [ebp + 8]
inc ebx
movsx edi, bx
sub dword [ebp + 0x10], edi
push dword [eax]
push 1
push edi
push esi
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x50184d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x50183a
xor eax, eax
cmp ax, bx
jge 0x50183a
mov eax, esi
movzx edx, bx
movzx ecx, byte [eax]
lea eax, [eax + 1]
mov cl, byte [ecx + 0x5d1f28]
mov byte [eax - 1], cl
dec edx
jne 0x5017e3
jmp 0x50183a
mov eax, 0x101
sub eax, ebx
movzx eax, ax
movsx edi, ax
mov eax, dword [ebp + 8]
sub dword [ebp + 0x10], edi
push dword [eax]
call fcn.00597fff
movzx eax, ax
add esp, 4
cmp ax, 0xffff
je 0x50184d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x50182e
movzx eax, al
movzx eax, byte [eax + 0x5d1f28]
push edi
cwde
push eax
push esi
call fcn.00595760
add esp, 0xc
add esi, edi
cmp dword [ebp + 0x10], 0
jg 0x501784
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
pop edi
pop ebx
mov eax, 4
pop esi
pop ebp
ret
Function at 0x505000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push dword [edi]
push 1
push 6
push esi
call fcn.00595b79
add esp, 0x10
cmp dword [esi], 0x38464947
jne 0x505081
cmp word [esi + 4], 0x6137
je 0x50503a
cmp dword [esi], 0x38464947
jne 0x505081
cmp word [esi + 4], 0x6139
jne 0x505081
push edi
call fcn.0045d210
push edi
mov word [esi + 6], ax
call fcn.0045d210
mov word [esi + 8], ax
push dword [edi]
call fcn.00597fff
mov byte [esi + 0xc], al
push dword [edi]
call fcn.00597fff
mov byte [esi + 0x10], al
push dword [edi]
call fcn.00597fff
mov byte [esi + 0x11], al
push dword [edi]
call fcn.00595867
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop esi
pop ebp
ret
pop edi
mov eax, 2
pop esi
pop ebp
ret

Function at 0x5053a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
xor edi, edi
cmp dword [esi + 0x14], eax
jle 0x5053fc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
movsx eax, word [esi + 0x18]
imul eax, dword [esi + 0x20]
push 1
push eax
push dword [esi + 0xc]
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x5053f6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.004585b0
movzx eax, ax
add esp, 0x10
test ax, ax
jne 0x5053fb
inc edi
cmp edi, dword [esi + 0x14]
jl 0x5053b5
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, 4
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x5057b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call fcn.00597fff
mov esi, dword [ebp + 0xc]
mov byte [esi], al
push dword [edi]
call fcn.00597fff
mov byte [esi + 1], al
push dword [edi]
call fcn.00597fff
mov byte [esi + 2], al
push dword [edi]
call fcn.00597fff
push edi
mov byte [esi + 3], al
call fcn.0045d210
push edi
mov word [esi + 4], ax
call fcn.0045d210
push edi
mov word [esi + 6], ax
call fcn.0045d210
push edi
mov word [esi + 8], ax
call fcn.0045d210
push edi
mov word [esi + 0xa], ax
call fcn.0045d210
push edi
mov word [esi + 0xc], ax
call fcn.0045d210
mov word [esi + 0xe], ax
lea eax, [esi + 0x10]
push dword [edi]
push 1
push 0x30
push eax
call fcn.00595b79
push dword [edi]
call fcn.00597fff
mov byte [esi + 0x40], al
push dword [edi]
call fcn.00597fff
add esp, 0x40
mov byte [esi + 0x41], al
push edi
call fcn.0045d210
push edi
mov word [esi + 0x42], ax
call fcn.0045d210
push edi
mov word [esi + 0x44], ax
call fcn.0045d210
push edi
mov word [esi + 0x46], ax
call fcn.0045d210
mov word [esi + 0x48], ax
lea eax, [esi + 0x4a]
push dword [edi]
push 1
push 0x36
push eax
call fcn.00595b79
push dword [edi]
call fcn.00595867
add esp, 0x24
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x505d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
push 1
push 6
push esi
call fcn.00595b79
add esp, 0x10
cmp byte [esi], 0
jne 0x505d7e
cmp byte [esi + 1], 0x43
jne 0x505d7e
cmp byte [esi + 2], 0
jne 0x505d7e
cmp byte [esi + 3], 0x50
jne 0x505d7e
cmp byte [esi + 4], 0
jne 0x505d7e
cmp byte [esi + 5], 0x38
jne 0x505d7e
push edi
call fcn.0045d240
push edi
mov word [esi + 6], ax
call fcn.0045d240
mov word [esi + 8], ax
lea eax, [esi + 0xa]
push dword [edi]
push 1
push 6
push eax
call fcn.00595b79
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop esi
pop ebp
ret
pop edi
mov eax, 2
pop esi
pop ebp
ret
Function at 0x506610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 0x10]
test di, di
jle 0x506713
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
jmp 0x506630
push dword [ebx]
call fcn.00597fff
add esp, 4
test al, al
je 0x50669b
cmp al, 0x80
je 0x506674
mov cl, al
and al, 0x80
and cl, 0x7f
movzx eax, al
movzx ecx, cl
neg eax
mov ebx, ecx
sbb eax, eax
movsx edi, bx
push edi
and eax, 0xff
push eax
push esi
call fcn.00595760
add esi, edi
add esp, 0xc
mov edi, dword [ebp + 0x10]
sub edi, ebx
jmp 0x506702
push dword [ebx]
call fcn.00597fff
push dword [ebx]
movzx eax, al
sub edi, eax
mov dword [ebp + 0x10], edi
movsx edi, ax
push edi
push 1
push esi
call fcn.00595b79
add esp, 0x14
add esi, edi
mov edi, dword [ebp + 0x10]
jmp 0x506708
push dword [ebx]
call fcn.00597fff
mov bl, al
movzx ecx, bl
dec cx
movzx eax, cx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
movsx eax, cx
mov ecx, dword [ebp + 8]
push dword [ecx]
push eax
push 1
push esi
call fcn.00595b79
add esp, 0x14
test bl, bl
je 0x506705
mov ecx, dword [ebp + 0x14]
mov edx, esi
mov ebx, dword [ebp - 4]
sub edi, ecx
movsx eax, cx
add esi, eax
mov dword [ebp + 0x10], edi
mov dword [ebp - 8], edx
test bx, bx
je 0x506705
push eax
push edx
push esi
call fcn.00592150
mov ecx, dword [ebp + 0x14]
dec ebx
mov edx, dword [ebp - 8]
add esp, 0xc
movsx eax, cx
sub edi, ecx
add esi, eax
test bx, bx
jne 0x5066e4
mov dword [ebp + 0x10], edi
mov ebx, dword [ebp + 8]
test di, di
jg 0x506630
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x506770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
add eax, 0x32
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
push esi
push edi
test eax, eax
jle 0x5067e1
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push dword [edi]
call fcn.00597fff
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x5068c2
push dword [edi]
test eax, eax
jne 0x50687a
call fcn.00597fff
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
cmp ebx, 3
jge 0x5067ea
cmp ebx, 2
jne 0x5067e1
push dword [edi]
call fcn.00597fff
push dword [edi]
call fcn.00597fff
add esp, 8
mov ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 0xc]
jl 0x506791
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp - 4], 1
je 0x50683e
mov eax, ebx
sar eax, 1
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x506824
mov ebx, eax
lea ecx, [ecx]
push dword [edi]
call fcn.00597fff
mov dl, byte [esi]
mov cl, al
and dl, 0xf0
shr cl, 4
or dl, cl
shl al, 4
mov byte [esi], dl
add esp, 4
inc esi
mov byte [esi], al
dec ebx
jne 0x506800
mov ebx, dword [ebp - 8]
test bl, 1
je 0x506839
push dword [edi]
call fcn.00597fff
shr al, 4
add esp, 4
or byte [esi], al
inc esi
add dword [ebp - 4], ebx
jmp 0x50685a
push dword [edi]
lea eax, [ebx + 1]
push 1
sar eax, 1
push eax
push esi
call fcn.00595b79
add dword [ebp - 4], ebx
mov eax, ebx
sar eax, 1
add esp, 0x10
add esi, eax
and ebx, 3
cmp ebx, 1
je 0x50686b
cmp ebx, 2
jne 0x5067d9
push dword [edi]
call fcn.00597fff
add esp, 4
jmp 0x5067d9
call fcn.00597fff
add esp, 4
mov ch, al
mov eax, dword [ebp + 0x10]
test bl, 1
je 0x5068a0
mov dl, byte [esi]
mov cl, ch
and dl, 0xf0
shr cl, 4
or dl, cl
dec eax
mov byte [esi], dl
inc esi
mov dword [ebp + 0x10], eax
inc ebx
inc eax
sar eax, 1
push eax
movzx eax, ch
push eax
push esi
call fcn.00595760
mov eax, dword [ebp + 0x10]
add esp, 0xc
add ebx, eax
sar eax, 1
mov dword [ebp - 4], ebx
add esi, eax
jmp 0x5067dc
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5068d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0xc], 0
push ebx
push eax
xor edi, edi
mov dword [ebp - 8], ebx
mov esi, eax
call fcn.00595760
add esp, 0xc
cmp dword [ebp + 0x14], ebx
jle 0x506a19
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00597fff
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x506a0a
test ebx, ebx
je 0x50694a
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00597fff
add esp, 4
mov cl, al
test ebx, ebx
jle 0x5069f9
mov edx, dword [ebp + 0x10]
mov eax, edi
inc edi
cmp eax, edx
jge 0x506942
mov byte [esi], cl
inc esi
dec ebx
jne 0x506938
jmp 0x5069f9
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00597fff
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, 1
je 0x506a16
cmp eax, 2
jne 0x506983
push dword [ebx]
push 1
push eax
lea eax, [ebp - 4]
push eax
call fcn.00595b79
movzx eax, byte [ebp - 4]
add esp, 0x10
add edi, eax
add esi, eax
jmp 0x5069f9
test eax, eax
jne 0x5069ba
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x18]
xor edi, edi
call fcn.004585b0
movzx ebx, ax
add esp, 0x10
mov dword [ebp - 8], ebx
test bx, bx
jne 0x506a19
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.00595760
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x5069fc
jle 0x5069eb
mov ebx, eax
mov edi, edi
mov eax, edi
inc edi
cmp eax, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax]
jl 0x5069d7
call fcn.00597fff
add esp, 4
jmp 0x5069e2
call fcn.00597fff
add esp, 4
mov byte [esi], al
inc esi
dec ebx
jne 0x5069c0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
test al, 1
je 0x5069f9
push dword [ebx]
call fcn.00597fff
add esp, 4
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0xc], eax
jl 0x506902
jmp 0x506a19
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0x14]
cmp dword [ebp - 0xc], esi
je 0x506a35
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x18]
call fcn.004585b0
add esp, 0x10
movzx ebx, ax
pop edi
pop esi
mov ax, bx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5083c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xaaaaaaab
mul dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, 0x100
push edi
mov edi, edx
shr edi, 1
mov word [ebx + 0xa], di
cmp di, ax
jle 0x5083eb
pop edi
mov eax, 2
pop ebx
pop ebp
ret
push 3
push 0x100
call fcn.00592c0b
mov ecx, eax
add esp, 8
mov dword [ebx + 0xc], ecx
test ecx, ecx
jne 0x50840a
pop edi
lea eax, [ecx + 1]
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
movsx eax, di
push dword [esi]
push eax
push 3
push ecx
call fcn.00595b79
movsx eax, word [ebx + 0xa]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*2]
sub ecx, eax
push ecx
push esi
call fcn.0045d3f0
add esp, 0x18
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x508cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor edx, edx
movzx eax, ax
add eax, 0xf
shr eax, 3
and eax, 0xfffffffe
imul eax, dword [ebp + 0x18]
push esi
push edi
xor esi, esi
movzx ecx, ax
mov eax, dword [ebp + 0x14]
movzx edi, ax
test edi, edi
jle 0x508d4a
push ebx
movsx ebx, cx
lea ecx, [ecx]
mov eax, dword [ebp + 8]
push dword [eax]
push 1
push ebx
push dword [ebp + 0xc]
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x508d40
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x1c]
call fcn.004585b0
movzx ecx, ax
add esp, 0x10
test cx, cx
jne 0x508d38
inc esi
movsx eax, si
cmp eax, edi
jl 0x508d00
pop ebx
pop edi
mov ax, cx
pop esi
pop ebp
ret
pop ebx
pop edi
mov eax, 4
pop esi
pop ebp
ret
pop edi
mov ax, dx
pop esi
pop ebp
ret

Function at 0x508d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
je 0x508d96
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1ec]
push eax
call fcn.00457d90
mov ax, word [0x5ee1ec]
movq xmm0, qword [str.Neochrome]
mov word [ebp - 0xfe], ax
lea eax, [ebp - 0x1ec]
push eax
push esi
movq qword [ebp - 0x106], xmm0
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x1d4], 0x10004
mov dword [ebp - 0x1cc], 0x28
mov dword [ebp - 0x1dc], 0x140
mov dword [ebp - 0x1d8], 0xc8
mov dword [ebp - 0x1c8], 0x4b
mov dword [ebp - 0x1c4], 0x44
call fcn.00456000
movzx eax, ax
add esp, 0xc
test ax, ax
jne 0x508e73
push dword [edi]
lea eax, [ebp - 0x84]
push 1
push 0x7c
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x508e57
push esi
push 4
push 0xc8
push 0x140
push dword [ebp - 0x1e0]
push edi
call fcn.00508cd0
add esp, 0x18
movzx edi, ax
jmp 0x508e5c
mov edi, 4
lea eax, [ebp - 0x84]
push eax
push 3
push 2
push esi
call fcn.00453f80
add esp, 0x10
mov ax, di
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x508e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x36c]
push edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.00457d90
mov ax, word [0x5ee200]
movdqu xmm0, xmmword [str.Neochrome_Extended]
mov word [ebp - 0x276], ax
mov al, byte [0x5ee202]
mov byte [ebp - 0x274], al
lea eax, [ebp - 0x36c]
push eax
push edi
movdqu xmmword [ebp - 0x286], xmm0
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x354], 0x10008
mov dword [ebp - 0x34c], 0x28
mov dword [ebp - 0x35c], 0x140
mov dword [ebp - 0x358], 0x1e0
mov dword [ebp - 0x348], 0x4b
mov dword [ebp - 0x344], 0x44
call fcn.00456000
movzx eax, ax
add esp, 0xc
test ax, ax
jne 0x508f96
push dword [esi]
lea eax, [ebp - 0x204]
push 1
push 0x200
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x508f7a
push edi
push 8
push 0x1e0
push 0x140
push dword [ebp - 0x360]
push esi
call fcn.00508cd0
add esp, 0x18
movzx esi, ax
jmp 0x508f7f
mov esi, 4
lea eax, [ebp - 0x204]
push eax
push 4
push 8
push edi
call fcn.00453f80
add esp, 0x10
mov ax, si
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret

Function at 0x509460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0045d070
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [edi + 4]
push dword [esi]
push 2
push 0x10
push eax
call fcn.00595b79
push dword [esi]
lea eax, [edi + 0x24]
push 1
push 0x5c
push eax
call fcn.00595b79
add esp, 0x24
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
ret

Function at 0x509730
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
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
call fcn.0045d070
add esp, 4
mov dword [edi], eax
cmp eax, 2
jg 0x50975f
push 0x1be
jmp 0x5097c6
push 0x3d
push esi
call fcn.0045d3f0
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x18
cmp byte [ebp - 0xc], 0x50
jne 0x5097ee
cmp byte [ebp - 0xb], 0x4e
jne 0x5097ee
cmp byte [ebp - 0xa], 0x54
jne 0x5097ee
cmp byte [ebp - 9], 0x47
jne 0x5097ee
cmp byte [ebp - 8], 0x4d
jne 0x5097ee
cmp byte [ebp - 7], 0x50
jne 0x5097ee
cmp byte [ebp - 6], 0x4e
jne 0x5097ee
cmp byte [ebp - 5], 0x54
jne 0x5097ee
push 0x37
push esi
call fcn.0045d3f0
push esi
call fcn.0045d070
add esp, 0xc
mov dword [edi], eax
cmp eax, 2
jg 0x5097ee
push 0x1fc
push esi
call fcn.0045d3f0
add esp, 8
push dword [esi]
call fcn.00595867
add esp, 4
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x509a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
nop
push dword [ebx]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509b46
mov al, byte [ebp - 1]
cmp al, byte [ebp + 0x10]
jne 0x509adc
push dword [ebx]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509b46
movzx esi, byte [ebp - 1]
movzx eax, byte [ebp + 0x14]
inc esi
push esi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.00595760
add esp, 0xc
add edi, esi
mov esi, dword [ebp + 0xc]
jmp 0x509b31
cmp al, byte [ebp + 0x18]
jne 0x509b2d
push dword [ebx]
lea eax, [ebp - 2]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509b46
push dword [ebx]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509b46
movzx esi, byte [ebp - 1]
movzx eax, byte [ebp - 2]
inc esi
push esi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.00595760
add esp, 0xc
add edi, esi
mov esi, dword [ebp + 0xc]
jmp 0x509b31
mov byte [edi + esi], al
inc edi
cmp edi, 0x7d00
jb 0x509a80
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x509b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
lea edi, [esi + 0x50]
nop
push dword [ebx]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509c42
mov dl, byte [ebp - 1]
cmp dl, byte [ebp + 0x10]
jne 0x509bb4
push dword [ebx]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509c42
mov dl, byte [ebp + 0x14]
mov byte [ebp - 2], dl
jmp 0x509be8
cmp dl, byte [ebp + 0x18]
jne 0x509bf8
push dword [ebx]
lea eax, [ebp - 2]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509c42
push dword [ebx]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x509c42
mov dl, byte [ebp - 2]
movzx eax, byte [ebp - 1]
inc ax
movzx ecx, ax
test cx, cx
je 0x509c30
jmp 0x509c00
mov ecx, 1
mov byte [ebp - 2], dl
mov ebx, dword [ebp + 0xc]
movzx eax, si
add esi, 0x50
mov byte [eax + ebx], dl
mov eax, 0x7d00
cmp si, ax
jb 0x509c22
add esi, 0x8301
add edi, 0xffff
add ecx, 0xffff
test cx, cx
jne 0x509c03
mov ebx, dword [ebp + 8]
test di, di
jne 0x509b70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50a140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
push 1
push 8
push esi
call fcn.00595b79
push dword [edi]
lea eax, [esi + 8]
push 1
push 0xc
push eax
call fcn.00595b79
push edi
call fcn.0045d240
mov word [esi + 0x14], ax
lea eax, [esi + 0x16]
push dword [edi]
push 1
push 2
push eax
call fcn.00595b79
push edi
call fcn.0045d240
mov word [esi + 0x18], ax
lea eax, [esi + 0x1a]
push dword [edi]
push 1
push 0x1e6
push eax
call fcn.00595b79
add esp, 0x48
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
ret