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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test dword [esi + 4], 0x80000
je 0x50bf7e
mov edi, dword [esi + 0x10]
push 1
push edi
call fcn.00592c0b
mov ecx, eax
add esp, 8
mov dword [esi + 0x84], ecx
test ecx, ecx
jne 0x50bf66
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
push dword [eax]
push 1
push edi
push ecx
call fcn.00595b79
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov ebx, dword [esi + 0x54]
imul ebx, dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x10]
shr ebx, 3
mov dword [ebp + 0xc], ebx
call fcn.00592c0b
mov edi, eax
add esp, 8
mov dword [esi + 0x84], edi
test edi, edi
je 0x50bf5c
mov ecx, dword [esi + 8]
mov eax, ecx
imul eax, dword [esi + 0x10]
mov dword [esi + 0x8c], ebx
xor ebx, ebx
mov dword [esi + 0x88], eax
test ecx, ecx
je 0x50bfdc
mov eax, dword [ebp + 8]
push dword [eax]
push 1
push dword [ebp + 0xc]
push edi
call fcn.00595b79
add edi, dword [esi + 0x10]
inc ebx
add esp, 0x10
cmp ebx, dword [esi + 8]
jb 0x50bfc0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x50c180
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 2
push 2
push esi
call fcn.00595b79
push edi
call fcn.0045d240
mov word [esi + 4], ax
lea eax, [esi + 6]
push dword [edi]
push 2
push 8
push eax
call fcn.00595b79
push edi
call fcn.0045d240
push edi
mov word [esi + 0x16], ax
call fcn.0045d240
mov word [esi + 0x18], ax
lea eax, [esi + 0x1a]
push dword [edi]
push 2
push 0x12
push eax
call fcn.00595b79
push dword [edi]
call fcn.00595867
add esp, 0x40
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x50c1f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
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 + 0x14]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x16c]
push edi
push eax
mov dword [ebp - 0x170], esi
call fcn.00457d90
mov eax, dword [ebp + 0xc]
mov bx, word [ebp + 0x10]
movzx ecx, ax
movzx eax, bx
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x16c]
push eax
push esi
mov dword [ebp - 0x86], 0x4d4941
mov dword [ebp - 0x154], 0x80001
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x14c], ecx
call fcn.00456000
movzx edi, ax
add esp, 0xc
test di, di
jne 0x50c2df
xor eax, eax
xor esi, esi
cmp ax, bx
jae 0x50c2cb
mov edi, edi
mov eax, dword [ebp - 0x174]
push dword [eax]
push 1
push dword [ebp - 0x178]
push dword [ebp - 0x160]
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x50c2c6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x170]
call fcn.004585b0
movzx edi, ax
add esp, 0x10
test di, di
jne 0x50c2cb
inc esi
cmp si, bx
jb 0x50c280
jmp 0x50c2cb
mov edi, 4
push 0
push 0
push 0
push dword [ebp - 0x170]
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 0x50c300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x308], eax
call fcn.00593e38
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30c], ebx
test ebx, ebx
jne 0x50c357
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push dword [edi]
push 1
push esi
push ebx
call fcn.00595b79
push 0x38
lea eax, [ebp - 0x348]
mov dword [ebp - 0x328], 0x4c82e0
push 0x5d7d18
push eax
mov dword [ebp - 0x324], fcn.004f3030
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0x344], esi
call fcn.00535880
add esp, 0x1c
test eax, eax
je 0x50c3b9
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
lea eax, [ebp - 0x304]
mov dword [ebp - 0x338], 0x300
mov dword [ebp - 0x33c], eax
nop
lea eax, [ebp - 0x348]
push 1
push eax
call fcn.00534050
add esp, 8
cmp eax, 1
je 0x50c406
cmp eax, 0xfffffffd
jne 0x50c3fa
lea eax, [ebp - 0x348]
push eax
call fcn.00535a10
add esp, 4
test eax, eax
jne 0x50c406
cmp dword [ebp - 0x338], eax
ja 0x50c3d0
mov ebx, dword [ebp + 0x14]
xor esi, esi
xor edi, edi
test ebx, ebx
jle 0x50c4a7
jmp 0x50c420
mov eax, dword [ebp - 0x310]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x338], eax
jmp 0x50c440
lea eax, [ebp - 0x348]
push 1
push eax
call fcn.00534050
add esp, 8
cmp eax, 1
je 0x50c476
cmp eax, 0xfffffffd
jne 0x50c46a
lea eax, [ebp - 0x348]
push eax
call fcn.00535a10
add esp, 4
test eax, eax
jne 0x50c476
cmp dword [ebp - 0x338], eax
ja 0x50c440
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x308]
call fcn.004585b0
movzx esi, ax
add esp, 0x10
test si, si
jne 0x50c4a7
cmp dword [ebp - 0x338], 0
jne 0x50c4a2
inc edi
cmp edi, ebx
jl 0x50c420
jmp 0x50c4a7
mov esi, 4
push dword [ebp - 0x30c]
call fcn.00592c4b
lea eax, [ebp - 0x348]
push eax
call fcn.00535770
lea eax, [ebp - 0x304]
push eax
push 8
push 0x100
push dword [ebp - 0x308]
call fcn.00453f80
mov ecx, dword [ebp - 4]
add esp, 0x18
mov ax, si
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x50cbe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], 0
push dword [ebx]
call fcn.005960c7
push 2
push 0
push dword [ebx]
mov esi, eax
call fcn.00595cb4
push dword [ebx]
call fcn.005960c7
push 0
push esi
push dword [ebx]
mov edi, eax
sub edi, esi
call fcn.00595cb4
push edi
call fcn.00593e38
mov esi, eax
add esp, 0x24
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x50cc38
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx]
push 1
push edi
push esi
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x50cc5f
push esi
call fcn.00592c4b
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi - 1]
mov ebx, esi
add eax, esi
xor edi, edi
mov dword [ebp - 0xc], eax
cmp esi, eax
ja 0x50cce3
xor eax, eax
test ax, ax
jne 0x50cce0
mov cl, byte [ebx]
mov esi, 1
inc ebx
mov byte [ebp + 0xb], cl
mov dword [ebp - 4], ebx
cmp cl, 0x80
jne 0x50cca3
movzx esi, byte [ebx]
inc ebx
inc esi
mov dword [ebp - 4], ebx
cmp esi, 1
je 0x50cc9f
mov cl, byte [ebx]
inc ebx
mov byte [ebp + 0xb], cl
mov dword [ebp - 4], ebx
test esi, esi
je 0x50ccdb
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx + 0xc]
dec esi
mov byte [edi + eax], cl
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x50ccd1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x18]
xor edi, edi
call fcn.004585b0
mov cl, byte [ebp + 0xb]
add esp, 0x10
movzx eax, ax
mov dword [ebp - 8], eax
jmp 0x50ccd4
mov eax, dword [ebp - 8]
test esi, esi
jne 0x50cca6
mov ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 0xc]
jbe 0x50cc71
mov esi, dword [ebp - 0x10]
push esi
call fcn.00592c4b
mov ax, word [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50e2b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [ebx]
movzx eax, word [edi + 2]
test eax, 0xff00
jne 0x50e381
movzx esi, word [edi + 8]
imul esi, dword [ebp + 0x1c]
movzx eax, al
add esi, dword [ebp + 0x18]
imul esi, eax
movzx eax, word [edi + 6]
imul esi, eax
add esi, 0x200
call fcn.005960c7
add esp, 4
cmp esi, eax
jl 0x50e309
push dword [ebx]
call fcn.005960c7
sub esi, eax
push esi
push ebx
call fcn.0045d3f0
jmp 0x50e313
push 0
push esi
push dword [ebx]
call fcn.00595cb4
movzx eax, word [edi + 2]
add esp, 0xc
and eax, 0xff
dec eax
je 0x50e357
dec eax
jne 0x50e4b1
movsx eax, word [edi + 0x72]
push ebx
push eax
movzx eax, word [edi + 6]
push eax
push dword [ebp + 0x10]
push dword [edi + 0x84]
call fcn.0045d110
add esp, 0x14
test eax, eax
jne 0x50e4b1
pop edi
pop esi
mov eax, 4
pop ebx
pop ebp
ret
push dword [ebx]
movzx eax, word [edi + 6]
push eax
push 1
push dword [ebp + 0x10]
call fcn.00595b79
movzx ecx, word [edi + 6]
add esp, 0x10
cmp eax, ecx
je 0x50e4b1
pop edi
pop esi
mov eax, 4
pop ebx
pop ebp
ret
movzx ecx, word [edi + 8]
imul ecx, dword [ebp + 0x1c]
mov eax, dword [edi + 0x90]
add ecx, dword [ebp + 0x18]
mov esi, dword [eax + ecx*4]
call fcn.005960c7
add esp, 4
cmp esi, eax
jl 0x50e3b3
push dword [ebx]
call fcn.005960c7
sub esi, eax
push esi
push ebx
call fcn.0045d3f0
jmp 0x50e3bd
push 0
push esi
push dword [ebx]
call fcn.00595cb4
movzx ecx, word [edi + 8]
add esp, 0xc
imul ecx, dword [ebp + 0x1c]
mov eax, dword [edi + 0x94]
add ecx, dword [ebp + 0x18]
movzx edx, word [eax + ecx*4]
movzx eax, word [edi + 2]
and eax, 0xff
dec eax
je 0x50e447
dec eax
jne 0x50e4b1
cmp dx, 0xffff
je 0x50e44d
movsx eax, word [edi + 0x72]
push ebx
push eax
movsx esi, dx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push dword [edi + 0x84]
call fcn.0045d0b0
mov ebx, dword [ebp + 0x14]
push ebx
push esi
push dword [edi + 0x84]
call fcn.0050e160
xor eax, eax
add esp, 0x1c
xor ecx, ecx
cmp ax, word [edi + 6]
jae 0x50e4b1
mov edx, dword [ebp + 0x10]
mov edi, edi
mov al, byte [ebx + ecx*2 + 1]
mov byte [ecx + edx], al
inc ecx
movzx eax, word [edi + 6]
cmp ecx, eax
jl 0x50e430
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
cmp dx, 0xffff
jne 0x50e455
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
test dx, dx
jle 0x50e34d
movzx ecx, word [edi + 6]
mov eax, ecx
movsx esi, dx
sar eax, 4
and eax, 0xfffffffc
lea eax, [eax + ecx*4]
cmp esi, eax
jg 0x50e34d
push dword [ebx]
push esi
push 1
push dword [edi + 0x84]
call fcn.00595b79
add esp, 0x10
cmp eax, esi
jne 0x50e34d
movzx ecx, word [edi + 0xa]
movzx eax, word [edi + 6]
imul ecx, eax
push ecx
push dword [ebp + 0x10]
push esi
push dword [edi + 0x84]
call fcn.0050e1f0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x50e6e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0x47e0
call fcn.00593e38
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x50e89f
push esi
mov esi, dword [ebp + 8]
push 0
push 0x7d08
push dword [esi]
call fcn.00595cb4
push dword [esi]
push 1
push 0x47e0
push ebx
call fcn.00595b79
add esp, 0x1c
test eax, eax
jne 0x50e73e
push ebx
lea esi, [eax + 4]
call fcn.00592c4b
add esp, 4
mov ax, si
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3c0
push 0
push dword [ebp + 0x10]
call fcn.00595760
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x14]
call fcn.004585b0
add esp, 0x1c
mov eax, 1
mov dword [ebp - 4], eax
push edi
mov esi, dword [ebp + 0x10]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 8], ebx
push edi
push eax
push dword [ebp + 0xc]
call fcn.0050eae0
add esp, 0xc
movzx edx, al
test al, al
je 0x50e839
mov eax, dword [ebp - 4]
movzx ebx, ax
mov eax, edx
and eax, 1
mov dword [ebp - 0xc], eax
mov ax, dx
shr ax, 1
mov cx, ax
shl ax, 2
add cx, ax
add cx, word [ebp - 0xc]
shl cx, 2
add cx, 0x29
movzx eax, cx
cmp dword [ebp - 8], eax
jl 0x50e7f8
lea eax, [edx - 1]
add edx, 0xffff
sar eax, 1
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0xc]
shl ecx, 2
shl eax, 2
sub ecx, eax
mov dword [ebp - 0xc], 0
add ecx, 0xd1
movzx eax, cx
mov ecx, 0x1e
cmp dword [ebp - 8], eax
cmovl ecx, dword [ebp - 0xc]
movzx eax, cx
mov dword [ebp - 0xc], eax
jmp 0x50e811
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 0xc], 0x3c
movzx ebx, ax
test ax, ax
mov eax, 0xc7
cmove ebx, eax
movzx eax, bx
imul ecx, eax, 0x2e
movzx eax, dx
push esi
add ecx, eax
mov eax, dword [ebp - 0xc]
movzx eax, ax
add eax, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x5c]
push eax
call fcn.0050e660
mov ebx, dword [ebp - 8]
add esp, 8
jmp 0x50e842
mov word [esi + 1], 0
mov byte [esi], 0
mov eax, 0x140
inc edi
inc ebx
add esi, 3
cmp di, ax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
jl 0x50e771
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x14]
call fcn.004585b0
movzx esi, ax
add esp, 0x10
test si, si
jne 0x50e889
mov eax, dword [ebp - 4]
mov ecx, 0xc8
inc eax
mov dword [ebp - 4], eax
cmp ax, cx
jl 0x50e767
mov ebx, dword [ebp - 0x10]
pop edi
push ebx
call fcn.00592c4b
add esp, 4
mov ax, si
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50eb50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x4aa0
call fcn.00593e38
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x50eb75
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
push 0
push 0x7d00
push dword [esi]
call fcn.00595cb4
push dword [esi]
push 0xc7
push 0x60
push ebx
call fcn.00595b79
add esp, 0x1c
cmp eax, 0xc7
je 0x50ebb4
push ebx
call fcn.00592c4b
add esp, 4
mov eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0x10]
push 0x3c0
push 0
push edi
call fcn.00595760
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x14]
call fcn.004585b0
mov dword [ebp - 4], ebx
add esp, 0x1c
mov ebx, 1
mov edi, edi
xor esi, esi
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0050ea70
mov ecx, dword [ebp - 4]
add esp, 0xc
movzx eax, ax
push edi
movzx eax, word [eax + ecx]
push eax
call fcn.0045c6f0
mov ecx, 0x777
add esp, 4
and ax, cx
movzx eax, ax
push eax
call fcn.0050e9f0
inc esi
mov eax, 0x140
add esp, 8
add edi, 3
cmp si, ax
jb 0x50ebe2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x14]
call fcn.004585b0
movzx esi, ax
add esp, 0x10
test si, si
jne 0x50ec50
add dword [ebp - 4], 0x60
inc ebx
mov edi, dword [ebp + 0x10]
mov eax, 0xc8
cmp bx, ax
jb 0x50ebe0
push dword [ebp - 8]
call fcn.00592c4b
add esp, 4
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511870
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
movdqu xmm0, xmmword [str.Image_Magick__PseudoClass_]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x300
movdqu xmmword [esi + 0xe6], xmm0
push 0
movq xmm0, qword [0x5eeba8]
movq qword [esi + 0xf6], xmm0
movzx eax, word [0x5eebb0]
mov word [esi + 0xfe], ax
mov al, byte [0x5eebb2]
mov byte [esi + 0x100], al
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x30c], edi
mov dword [ebp - 0x308], ebx
call fcn.00595760
mov ax, word [ebp + 0x14]
add esp, 0xc
test ax, ax
je 0x511923
push dword [edi]
cwde
push 3
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00595b79
add esp, 0x10
cmp eax, 3
je 0x511923
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push esi
push ebx
call fcn.00456000
movzx edi, ax
add esp, 8
test di, di
jne 0x5119b3
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jle 0x511988
lea esp, [esp]
mov eax, dword [ebp - 0x30c]
push dword [eax]
push 1
push dword [esi + 0x20]
push dword [esi + 0xc]
call fcn.00595b79
add esp, 0x10
cmp eax, 1
jne 0x511983
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x308]
call fcn.004585b0
movzx edi, ax
add esp, 0x10
test di, di
jne 0x511988
inc ebx
movsx eax, bx
cmp eax, dword [esi + 0x14]
jl 0x511940
jmp 0x511988
mov edi, 4
cmp word [ebp + 0x14], 0
je 0x51199f
lea eax, [ebp - 0x304]
push eax
push 8
push 0x100
jmp 0x5119a5
push 0
push 0
push 0
push dword [ebp - 0x308]
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 0x5119d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.Image_Magick__PseudoClass___RLE_]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
movdqu xmmword [ebx + 0xe6], xmm0
push 0x300
movdqu xmm0, xmmword [0x5eebc4]
push 0
mov dword [ebp - 0x31c], edi
movdqu xmmword [ebx + 0xf6], xmm0
mov al, byte [0x5eebd4]
mov byte [ebx + 0x106], al
lea eax, [ebp - 0x30c]
push eax
mov dword [ebp - 0x314], esi
call fcn.00595760
mov ax, word [ebp + 0x14]
add esp, 0xc
test ax, ax
je 0x511a75
push dword [edi]
cwde
push 3
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.00595b79
add esp, 0x10
cmp eax, 3
je 0x511a75
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.00456000
movzx eax, ax
add esp, 8
mov dword [ebp - 0x310], eax
test ax, ax
jne 0x511b88
xor esi, esi
xor edi, edi
cmp dword [ebx + 0x14], esi
jle 0x511b57
mov edi, edi
test ax, ax
jne 0x511b57
mov eax, dword [ebp - 0x31c]
push dword [eax]
lea eax, [ebp - 0xc]
push 1
push 2
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x511b4d
movzx eax, byte [ebp - 0xb]
inc eax
mov dword [ebp - 0x318], 0
test eax, eax
jle 0x511b39
lea esp, [esp]
mov ecx, dword [ebx + 0xc]
mov al, byte [ebp - 0xc]
movsx edx, si
inc esi
mov byte [edx + ecx], al
movsx eax, si
cmp eax, dword [ebx + 0x10]
jl 0x511b22
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x314]
call fcn.004585b0
movzx eax, ax
add esp, 0x10
mov dword [ebp - 0x310], eax
test ax, ax
jne 0x511b39
inc edi
xor esi, esi
movsx eax, di
cmp eax, dword [ebx + 0x14]
jge 0x511b39
mov eax, dword [ebp - 0x318]
movzx ecx, byte [ebp - 0xb]
inc eax
mov dword [ebp - 0x318], eax
inc ecx
cwde
cmp eax, ecx
jl 0x511ae0
movsx eax, di
cmp eax, dword [ebx + 0x14]
mov eax, dword [ebp - 0x310]
jl 0x511aa0
jmp 0x511b57
mov dword [ebp - 0x310], 4
cmp word [ebp + 0x14], 0
je 0x511b6e
lea eax, [ebp - 0x30c]
push eax
push 8
push 0x100
jmp 0x511b74
push 0
push 0
push 0
push dword [ebp - 0x314]
call fcn.00453f80
mov eax, dword [ebp - 0x310]
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x511ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp word [esi + 0x1a], 0x18
jne 0x511be9
movdqu xmm0, xmmword [str.Image_Magick__DirectClass_]
movdqu xmmword [esi + 0xe6], xmm0
movq xmm0, qword [0x5eeb1c]
movq qword [esi + 0xf6], xmm0
mov ax, word [0x5eeb24]
mov word [esi + 0xfe], ax
mov al, byte [0x5eeb26]
mov byte [esi + 0x100], al
jmp 0x511c14
movdqu xmm0, xmmword [str.Image_Magick__DirectClassAlpha_]
movdqu xmmword [esi + 0xe6], xmm0
movdqu xmm0, xmmword [0x5eeb38]
movdqu xmmword [esi + 0xf6], xmm0
mov al, byte [0x5eeb48]
mov byte [esi + 0x106], al
push esi
push dword [ebp + 0xc]
call fcn.00456000
movzx edi, ax
add esp, 8
test di, di
jne 0x511c84
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jle 0x511c72
mov eax, dword [ebp + 8]
push dword [eax]
push 1
push dword [esi + 0x20]
push dword [esi + 0xc]
call fcn.00595b79
add esp, 0x10
cmp eax, 1
jne 0x511c6d
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.004585b0
movzx edi, ax
add esp, 0x10
test di, di
jne 0x511c72
inc ebx
movsx eax, bx
cmp eax, dword [esi + 0x14]
jl 0x511c30
jmp 0x511c72
mov edi, 4
push 0
push 0
push 0
push dword [ebp + 0xc]
call fcn.00453f80
add esp, 0x10
pop ebx
mov ax, di
pop edi
pop esi
pop ebp
ret
Function at 0x513bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
add esi, 4
push ebx
inc edi
call fcn.0045d070
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x513c43
cmp eax, dword [ebx + 4]
jae 0x513c43
push eax
call fcn.00593e38
mov dword [esi + 8], eax
lea eax, [esi - 4]
push dword [ebx]
push 1
push 4
push eax
call fcn.00595b79
mov eax, dword [esi]
add esp, 0x14
test eax, eax
je 0x513c17
push dword [ebx]
push 1
push eax
push dword [esi + 8]
call fcn.00595b79
add esp, 0x10
push ebx
call fcn.0045d070
add esp, 4
mov dword [esi + 4], eax
cmp dword [esi - 4], 0x444e4549
je 0x513c3c
add esi, 0x10
cmp edi, 0x20
jl 0x513bd1
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [edi - 1]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5143a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
push dword [edi]
push 1
push 8
push 0x5eec88
call fcn.0059628c
mov ebx, dword [ebp + 0x10]
add esp, 0x10
test ebx, ebx
jle 0x51441c
push esi
mov esi, dword [ebp + 0xc]
add esi, 4
lea esp, [esp]
cmp dword [esi - 4], 0x49426743
je 0x514415
push edi
push dword [esi]
call fcn.0045d510
push dword [edi]
lea eax, [esi - 4]
push 1
push 4
push eax
call fcn.0059628c
mov eax, dword [esi]
add esp, 0x18
test eax, eax
je 0x514409
push dword [edi]
push 1
push eax
push dword [esi + 8]
call fcn.0059628c
add esp, 0x10
push edi
push dword [esi + 4]
call fcn.0045d510
add esp, 8
add esi, 0x10
dec ebx
jne 0x5143d0
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret