joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65d7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
test esi, esi
jbe 0x65d804
mov eax, 1
mov ebx, ecx
add ebx, eax
dec ebx
mov bl, byte [ebx]
mov edi, edx
add edi, eax
dec edi
xor byte [edi], bl
inc eax
dec esi
jne 0x65d7f2
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x65db94
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, eax
lea edi, [esp + 4]
mov eax, dword [edx]
mov dword [edi], eax
add edx, 4
mov eax, dword [edx]
lea edx, [edi + 4]
mov dword [edx], eax
mov ebx, 4
mov eax, edi
mov dx, word [eax]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax], cx
add eax, 2
dec ebx
jne 0x65dbb9
xor ebx, ebx
mov ebp, ebx
add ebp, ebp
lea ebp, [ebp + ebp*2]
mov dx, word [esi + ebp*2 + 0x14]
mov eax, edi
call fcn.0065db54
mov ax, word [esi + ebp*2 + 0x16]
add word [edi + 2], ax
mov ax, word [esi + ebp*2 + 0x18]
add word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x1a]
lea eax, [edi + 6]
call fcn.0065db54
mov ax, word [edi + 4]
mov word [esp + 0xc], ax
mov ax, word [edi]
xor word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x1c]
lea eax, [edi + 4]
call fcn.0065db54
mov ax, word [edi + 2]
mov word [esp + 0xe], ax
mov ax, word [edi + 6]
xor word [edi + 2], ax
mov ax, word [edi + 4]
add word [edi + 2], ax
mov dx, word [esi + ebp*2 + 0x1e]
lea eax, [edi + 2]
call fcn.0065db54
mov ax, word [edi + 2]
add word [edi + 4], ax
mov ax, word [edi + 2]
xor word [edi], ax
mov ax, word [edi + 4]
xor word [edi + 6], ax
mov ax, word [esp + 0xc]
xor word [edi + 2], ax
mov ax, word [esp + 0xe]
xor word [edi + 4], ax
inc ebx
cmp ebx, 8
jne 0x65dbd5
mov dx, word [esi + 0x74]
mov eax, edi
call fcn.0065db54
mov ax, word [esi + 0x76]
add word [edi + 4], ax
mov ax, word [esi + 0x78]
add word [edi + 2], ax
mov dx, word [esi + 0x7a]
lea eax, [edi + 6]
call fcn.0065db54
mov ax, word [edi]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi], dx
mov ax, word [edi + 4]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [esp + 0xe], dx
mov ax, word [edi + 2]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 4], dx
mov ax, word [edi + 6]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 6], dx
mov ax, word [esp + 0xe]
mov word [edi + 2], ax
mov eax, dword [edi]
mov edx, dword [esp]
mov dword [edx], eax
lea eax, [edi + 4]
mov eax, dword [eax]
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x65dd24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, eax
lea edi, [esp + 4]
mov eax, dword [edx]
mov dword [edi], eax
add edx, 4
mov eax, dword [edx]
lea edx, [edi + 4]
mov dword [edx], eax
mov ebx, 4
mov eax, edi
mov dx, word [eax]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax], cx
add eax, 2
dec ebx
jne 0x65dd49
xor ebx, ebx
mov ebp, ebx
add ebp, ebp
lea ebp, [ebp + ebp*2]
mov dx, word [esi + ebp*2 + 0x7c]
mov eax, edi
call fcn.0065db54
mov ax, word [esi + ebp*2 + 0x7e]
add word [edi + 2], ax
mov ax, word [esi + ebp*2 + 0x80]
add word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x82]
lea eax, [edi + 6]
call fcn.0065db54
mov ax, word [edi + 4]
mov word [esp + 0xc], ax
mov ax, word [edi]
xor word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x84]
lea eax, [edi + 4]
call fcn.0065db54
mov ax, word [edi + 2]
mov word [esp + 0xe], ax
mov ax, word [edi + 6]
xor word [edi + 2], ax
mov ax, word [edi + 4]
add word [edi + 2], ax
mov dx, word [esi + ebp*2 + 0x86]
lea eax, [edi + 2]
call fcn.0065db54
mov ax, word [edi + 2]
add word [edi + 4], ax
mov ax, word [edi + 2]
xor word [edi], ax
mov ax, word [edi + 4]
xor word [edi + 6], ax
mov ax, word [esp + 0xc]
xor word [edi + 2], ax
mov ax, word [esp + 0xe]
xor word [edi + 4], ax
inc ebx
cmp ebx, 8
jne 0x65dd65
mov dx, word [esi + 0xdc]
mov eax, edi
call fcn.0065db54
mov ax, word [esi + 0xde]
add word [edi + 4], ax
mov ax, word [esi + 0xe0]
add word [edi + 2], ax
mov dx, word [esi + 0xe2]
lea eax, [edi + 6]
call fcn.0065db54
mov ax, word [edi]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi], dx
mov ax, word [edi + 4]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [esp + 0xe], dx
mov ax, word [edi + 2]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 4], dx
mov ax, word [edi + 6]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 6], dx
mov ax, word [esp + 0xe]
mov word [edi + 2], ax
mov eax, dword [edi]
mov edx, dword [esp]
mov dword [edx], eax
lea eax, [edi + 4]
mov eax, dword [eax]
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x66de5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x66df0f
add edx, ebx
mov eax, edx
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x20]
add edx, ebx
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x66def3
test edi, edi
jbe 0x66df0f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.005b7444
test eax, eax
jne 0x66dee4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x66df0f
add ebx, esi
mov esi, ebx
jmp 0x66df0f
add dword [ebp - 8], 2
add dword [ebp - 4], 4
dec edi
test edi, edi
ja 0x66deb9
jmp 0x66df0f
mov edi, edx
sub edi, dword [eax + 0x10]
cmp edi, dword [eax + 0x14]
jae 0x66df0f
mov eax, edi
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x66df0f
add ebx, esi
mov esi, ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x67ed34
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x67ed65
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67ed4d
add dl, dl
jne 0x67ed70
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67edc1
xor eax, eax
add dl, dl
jne 0x67ed7d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67ee5e
add dl, dl
jne 0x67ed8c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67ed97
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67eda2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67edad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x67edb7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x67ed5c
mov eax, 1
add dl, dl
jne 0x67edcf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67edda
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67edc6
sub eax, ebx
mov ebx, 1
jne 0x67ee0d
mov ecx, 1
add dl, dl
jne 0x67edf3
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67edfe
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67edea
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67ed5c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x67ee24
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67ee2f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67ee1b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67ed5c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x67ee7f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x67ed5c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x67efb8
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x67efe9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67efd1
add dl, dl
jne 0x67eff4
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67f045
xor eax, eax
add dl, dl
jne 0x67f001
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67f0e2
add dl, dl
jne 0x67f010
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f01b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f026
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f031
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x67f03b
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x67efe0
mov eax, 1
add dl, dl
jne 0x67f053
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f05e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67f04a
sub eax, ebx
mov ebx, 1
jne 0x67f091
mov ecx, 1
add dl, dl
jne 0x67f077
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67f082
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67f06e
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67efe0
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x67f0a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67f0b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67f09f
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67efe0
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x67f103
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x67efe0
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x67f590
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x67f623
xor ebx, ebx
mov byte [ebp - 9], 0
lea eax, [ebp - 0x110]
mov ecx, 0x100
mov edx, dword [ebp + 8]
call fcn.005b47c0
dec edi
test edi, edi
jl 0x67f623
inc edi
mov dword [ebp - 0x10], edi
xor edx, edx
inc ebx
mov esi, ebx
and esi, 0xff
mov al, byte [ebp + esi - 0x110]
add byte [ebp - 9], al
xor ecx, ecx
mov cl, byte [ebp - 9]
mov cl, byte [ebp + ecx - 0x110]
mov byte [ebp + esi - 0x110], cl
xor ecx, ecx
mov cl, byte [ebp - 9]
mov byte [ebp + ecx - 0x110], al
add al, byte [ebp + esi - 0x110]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x10]
jne 0x67f5cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x67ffc4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x67ffd7
add esp, 0xfffffff0
call fcn.005b04f0
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.005b015c
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x67fffd
cmp dword [esi + 0x58], 0x40
jb 0x6801e3
jmp 0x680003
jl 0x6801e3
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.005b47c8
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0067f8c8
cmp word [ebx + 0xc], 0x5a4d
jne 0x6801e3
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x6801e3
cmp ecx, 0x10000
jge 0x6801e3
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x68005e
cmp eax, dword [esi + 0x58]
ja 0x6801e3
jmp 0x680064
jg 0x6801e3
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.005b47c8
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0067f8c8
cmp dword [ebx + 0x4c], 0x4550
jne 0x6801e3
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.005b47c8
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0067f8c8
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x68011b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x6800df
cmp eax, dword [esi + 0x58]
ja 0x68016c
jmp 0x6800e5
jg 0x68016c
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.005b47c8
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0067f8c8
mov byte [ebx + 4], 1
jmp 0x68016c
cmp ax, 0x14c
jne 0x68016c
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x68013c
cmp eax, dword [esi + 0x58]
ja 0x68016c
jmp 0x68013e
jg 0x68016c
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.005b47c8
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0067f8c8
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x6801e3
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x68019d
cmp eax, dword [esi + 0x58]
ja 0x6801e3
jmp 0x68019f
jg 0x6801e3
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x3fa550]
call fcn.005b279c
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0067f8c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6801fa
call fcn.005b0548
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x680ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3fc19f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x680f91
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x680f7a
test esi, esi
jbe 0x680f91
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.005b7444
test eax, eax
jne 0x680f6c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x680f91
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x680f49
jmp 0x680f91
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x680f91
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3fc1a6
ret
Function at 0x6819c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x3fcd6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.005b1780
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x6819fb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x681a14
lea eax, [ebp - 0x10]
mov edx, dword [0x45cc48]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.005b17e0
jmp 0x681a27
lea eax, [ebp - 0x10]
mov edx, dword [0x45cc48]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.005b17e0
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x681a33
adc edx, 0
mov edx, dword [edx*4 + 0x44a8ac]
call fcn.005b19ec
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.005b19d0
push eax
call fcn.005b394c
mov esi, eax
cmp esi, 0xffffffff
je 0x681b41
mov eax, 0x40
call fcn.005af514
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.005b3d5c
test eax, eax
je 0x681b34
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x681b34
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.005b3dcc
mov eax, edi
call fcn.005af534
mov eax, 0x18
call fcn.005af514
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.005b3d5c
test eax, eax
je 0x681b34
mov eax, edi
cmp dword [eax], 0x4550
jne 0x681b34
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x681b34
cmp dx, 0x150
ja 0x681b34
mov eax, edi
call fcn.005af534
mov eax, 0xe0
call fcn.005af514
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.005b3d5c
test eax, eax
je 0x681b34
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x681b34
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.005b17bc
mov eax, edi
call fcn.005af534
push esi
call fcn.005b3904
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.005b1af8
jne 0x681b59
inc ebx
cmp ebx, 0x19
jne 0x6819ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3fcd76
lea eax, [ebp - 0x10]
call fcn.005b1780
ret
Function at 0x681e7c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
xor ebx, ebx
push 0
push 0
push 0
push edi
call fcn.005b3dcc
push 0
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call fcn.005b3d5c
test eax, eax
je 0x681f19
cmp word [esi], 0x5a4d
jne 0x681f19
push 0
push 0
mov eax, dword [esi + 0x3c]
push eax
push edi
call fcn.005b3dcc
push 0
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.005b3d5c
test eax, eax
je 0x681f19
cmp dword [ebp - 0x1c], 0x4550
jne 0x681f19
lea edx, [ebp - 0x18]
mov ecx, 0x14
mov eax, dword [ebp + 0xc]
call fcn.005b47c0
mov ax, word [ebp - 0x18]
cmp ax, 0x14c
jb 0x681f19
cmp ax, 0x150
ja 0x681f19
push 0
lea eax, [ebp - 4]
push eax
push 0xe0
mov eax, dword [ebp + 8]
push eax
push edi
call fcn.005b3d5c
test eax, eax
je 0x681f19
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x401280
Capabilities:
Query environment variable

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x14
and esp, 0xfffffff0
call fcn.004017f0
call fcn.004014c0
mov ebx, str.VLC_media_player__s_n
call sub.libvlc.dll_VLC_Version
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], str.VLC_VERBOSE
call sub.msvcrt.dll_getenv
test eax, eax
je 0x401340
call sub.libvlc.dll_rootwrap
call sub.libvlc.dll_VLC_Create
test eax, eax
js 0x401339
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov edx, dword [ebp + 8]
mov dword [esp], 0
mov dword [esp + 4], edx
call sub.libvlc.dll_VLC_Init
test eax, eax
mov ebx, eax
js 0x401351
mov dword [esp], 0
mov ecx, 1
mov edx, 1
mov dword [esp + 0xc], ecx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.libvlc.dll_VLC_AddIntf
mov dword [esp], 0
mov ebx, eax
call sub.libvlc.dll_VLC_CleanUp
mov dword [esp], 0
call sub.libvlc.dll_VLC_Destroy
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], str.VLC_VERBOSE0
call sub.msvcrt.dll__putenv
jmp 0x4012cb
mov dword [esp], 0
call sub.libvlc.dll_VLC_Destroy
cmp ebx, 0xfffffc19
mov eax, ebx
jne 0x401339
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret