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

Disassembly:
call fcn.00701c46
xlatb
inc esi
aam 0xb3
dec esi
sti
arpl bx, di
imul ecx, dword [esi], 0xfffffffd
cmp dword [ebx - 0x24], ecx
jb fcn.00701c2a
in al, 0x20
test eax, 0x66cf0fc8
xchg ecx, edi

Function at 0x719242
Capabilities:
Encrypt data using aes

Disassembly:
lea edx, [edx + ebp]
sub esp, 0x17
mov eax, ebp
lea esp, [esp + 3]
jmp 0x71928e
jmp 0x7190e7
lea esp, [esp + 4]
popal
shr edi, 0x18
shr ebp, cl
mov ebp, dword [esp]
jmp 0x719132
xor eax, edi
pushal
mov dword [esp], edx
popal
jmp 0x71911c
and edi, esi
mov bp, word [esp]
mov bp, bx
mov bp, 0x8c38
jmp 0x7191b2
mov bp, 0xdf53
movzx edi, byte [edi*4 + 0x6f09f0]
mov ebp, edi
inc ebp
mov bp, word [esp]
jmp 0x7190f6
add ebp, 0x3b55b62a
call 0x719161
xor eax, edi
mov di, 0x3160
inc di
jmp 0x7191c7
lea ebp, [ebp*4]
mov edi, dword [edi*4 + 0x6f09f0]
mov ebp, 0xc4ab48d6
jmp 0x719177
lea esp, [esp + 0xc]
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
jmp 0x7191f9
adc al, 0xc
mov eax, dword [ecx + 8]
jmp 0x719207
xor ebx, eax
mov dword [edi], eax
mov eax, dword [esp]
setnp ah
xchg ah, al
jmp 0x7191d2
xor eax, ebx
jmp 0x719242
mov dword [esi], ebx
pop esi
setns bh
mov ebx, dword [esp]
mov bx, cx
lea ebx, [ebp + 0x51]
jmp 0x719260
push esi
mov esi, ecx
add esi, 0x14
jmp 0x719228
xor edx, eax
dec al
jmp 0x7192c3
mov dword [ecx + 0x18], eax
mov bx, di
dec bl
lea ebx, [ecx*4]
jmp 0x71924a
mov eax, edi
not dl
mov ecx, 0xc49e326b
mov dx, si
lea edx, [ecx + ecx]
jmp 0x7192d4
mov ebx, 0x6f21f4
jmp 0x6e57ba
mov dword [ecx + 0x1c], edx
bsr cx, sp
bt bx, si
stc
mov cl, byte [esp]
jmp 0x7192a4
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
jmp 0x7192e2
mov edi, edx
and ecx, esi
push edi
jmp 0x719b85
pop edi
sub esp, 0x18
shr edi, 0x10
and edi, esi
call 0x719526
mov edi, ecx
lea edi, [edi*4]
lea edi, [edi + 0x6f09f0]
mov ecx, dword [edi]
jmp 0x7198c1

Function at 0x719375
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x19
lea esp, [esp + 1]
and edx, ebp
jmp 0x7193be
lea edx, [ebp - 0x6ab49433]
mov edi, dword [esp]
mov edi, ecx
jmp 0x7193a8
lea edi, [eax + 0x10]
jmp 0x7193ee
mov edi, dword [esp]
xor ecx, edx
lea esp, [esp + 0x28]
xor ecx, dword [ebx]
jmp 0x719380
mov dword [edi], ecx
mov dl, byte [esp]
bswap edx
mov edx, dword [eax + 4]
cmc
jmp 0x71940c
mov ecx, dword [eax + 8]
jmp 0x7193f6
xor ecx, dword [eax]
clc
add ebx, 4
jmp 0x7193cb
xor ecx, edx
lea edx, [ebp + 0xd144]
not dh
seto dh
jmp 0x719415
xor edx, ecx
mov dword [eax + 0x14], edx
rcl cl, 1
jmp 0x7193d8
lea edx, [ecx*4]
jmp 0x71946c
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
jmp 0x71944f
push ax
lea esp, [esp + 2]
cmp ebx, 0x6f2218
jmp 0x71949d
mov dword [eax + 0x18], ecx
dec dh
mov dh, ch
setge dh
mov dx, sp
jmp 0x719441
jne 0x6e57ba
mov ax, word [esp]
push 0xa
lea eax, [0x41d2c79f]
call fcn.0071947b
pop ebp
pushal
jmp 0x71950f
lea esp, [esp + 0x20]
pop ebx
ret
Function at 0x71995e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ebx, byte [esi + 2]
jmp 0x71990e
and ebx, ecx
pushfd
lea esp, [esp + 0xc]
xor edi, dword [ebx*4 + 0x6f15f0]
lea ebx, [eax + ecx]
jmp 0x7198cf
lea edi, [edi + 0x6f09f0]
mov ebx, dword [edi]
pop edi
push di
lea esp, [esp + 2]
jmp 0x719930
push edi
mov edi, ebx
lea edi, [edi*4]
jmp 0x7198f8
and ebx, ecx
call 0x71991a
mov edi, dword [edi*4 + 0x6f0df0]
pushfd
jmp 0x7198e5

Function at 0x7199cf
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
mov edx, dword [edx*4 + 0x6f09f0]
clc
pushfd
jmp 0x719943

Function at 0x719c20
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 0x30]
xor edi, dword [ebx*4 + 0x6f15f0]
inc bx
inc ebx
jmp 0x719c01
lea esp, [esp + 3]
mov edi, dword [edi*4 + 0x6f0df0]
and ebx, ecx
jmp 0x719b9b
sub esp, 0x1f
pop dword [esp + 0x16]
pushal
lea esp, [esp + 3]
and ebx, ecx
call fcn.00719bc0
lea esp, [esp + 0x3c]
xor edi, dword [ebx*4 + 0x6f11f0]
clc
mov bx, 0x1f5f
jmp 0x719c13
mov ebx, dword [esp]
bswap ebx
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x6f09f0]
jmp 0x719bd6
movzx ebx, byte [esi + 0xd]
pushal
and edx, ecx
call 0x719c20
in eax, 0xeb
sub cl, byte [ebx - 0x35dea6ef]
lea esp, [esp + 0x24]
jmp 0x719ceb
and edi, ecx
sub esp, 0x15
pop word [esp + 9]
jmp 0x719bb1
pushfd
stc
push edx
mov dword [esi + 8], edi
lea edi, [edx - 0xb962]
jmp 0x719c78
xor edi, dword [edx*4 + 0x6f19f0]
sub esp, 0x1f
add dx, 0x2c6
lea esp, [esp + 3]
mov edx, dword [esi + 0xc]
jmp 0x719c8e

Function at 0x719dc8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
call 0x719db2
sub byte [ebp + 0x1daf5c35], ah
pop edx
salc
inc esp
and ebx, esi
pop ds
enter 0xffffffffffffdb4b, 0xffffffffffffffbe
dec ebp
cmc
outsb dx, byte [esi]
jns 0x719e3a
and byte [ebx + 0x60], ah
Function at 0x8f06ef
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.008f076e
jae 0x8f06fb
xor ecx, ecx
call fcn.008f076e
jae 0x8f0725
xor eax, eax
call fcn.008f076e
jae 0x8f0736
mov al, 0x10
call fcn.008f076e
adc al, al
jae 0x8f0717
jne 0x8f0763
stosb byte es:[edi], al
jmp 0x8f06fc
call fcn.008f077a
dec ecx
loop 0x8f0742
mov eax, ebp
call fcn.008f0778
jmp 0x8f0764
lodsb al, byte [esi]
shr eax, 1
je 0x8f078a
adc ecx, 2
mov ebp, eax
jmp 0x8f0764
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.008f0778
cmp eax, 0x7d00
jae 0x8f0762
cmp eax, 0x500
jae 0x8f0763
cmp eax, 0x7f
ja 0x8f0764
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f06fc
pop ebp
ret 8
Function at 0x401070
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.daemon
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [eax + 0x18], 0
jne 0x4010e7
lea eax, [ebp - 4]
push eax
push str.EXIT__d
push esi
call dword [sym.imp.MSVCR110.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x4010c2
push dword [ebp - 4]
push dword [ebp + 8]
push str._s:_EXIT__d_n
call fcn.00409df0
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.MSVCR110.dll_exit]
push esi
call dword [sym.imp.MSVCR110.dll_system]
add esp, 4
cmp eax, 0xffffffff
jne 0x40110c
push esi
push dword [ebp + 8]
push str._s:_system__s__failed_n
call fcn.00409df0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push 0
push esi
push esi
push 1
call dword [sym.imp.MSVCR110.dll__spawnlp]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40110c
push esi
push dword [ebp + 8]
push str._s:_couldnt_execute___s_._n
call fcn.00409df0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push edi
push 0x1fe
push eax
mov word [ebp - 0x214], ax
mov dword [ebp - 0x20a], eax
mov word [ebp - 0x206], ax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x212], xmm0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [ebp - 0x22c]
push str.Software_
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
xor ebx, ebx
or ebx, dword [ebp - 0x230]
push eax
and edi, 0x7fffffff
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push str.EpiphanyAPCP
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x204]
push eax
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4012f4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.dwHighDateTime
push dword [ebp - 0x218]
mov dword [ebp - 0x220], 4
mov dword [ebp - 0x21c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.dwLowDateTime
push dword [ebp - 0x218]
mov dword [ebp - 0x220], 4
mov dword [ebp - 0x21c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x224]
xor eax, eax
or eax, dword [ebp - 0x228]
and ecx, 0x7fffffff
push 0
sub ebx, eax
push 0x989680
sbb edi, ecx
push edi
push ebx
call fcn.0040a4f0
pop edi
pop ebx
test edx, edx
jl 0x40133c
jg 0x401329
cmp eax, 0x35e8
jbe 0x40133c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
Function at 0x401350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call sub.MSVCR110.dll_memset
push str.Software_
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push str.EpiphanyAPCP
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x24
lea eax, [ebp - 0x218]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x401473
mov word [ebp - 0x214], ax
mov dword [ebp - 0x20a], eax
mov word [ebp - 0x206], ax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x214]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x212], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 4
lea eax, [ebp - 0x21c]
push eax
push 4
push 0
push str.dwHighDateTime
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.dwLowDateTime
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret

Function at 0x4016d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR110.dll__strupr]
add esp, 4
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCR110.dll__strupr]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR110.dll_strstr]
mov ecx, dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
Function at 0x402c90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 6
push esi
call sub.libav.dll_Ordinal_44340
add esp, 8
cmp eax, 0xffffffff
jne 0x402df5
push edi
push str._s.cvd
lea eax, [ebp - 0x24]
push 0x20
push eax
call sub.libav.dll_Ordinal_44276
add esp, 0x10
cmp eax, 0x20
jae 0x402dd4
cmp eax, 0xffffffff
je 0x402dd4
lea eax, [ebp - 0x24]
push 4
push eax
call sub.libav.dll_Ordinal_44340
add esp, 8
cmp eax, 0xffffffff
jne 0x402d68
push edi
push str._s.cld
lea eax, [ebp - 0x24]
push 0x20
push eax
call sub.libav.dll_Ordinal_44276
add esp, 0x10
cmp eax, 0x20
jae 0x402d47
cmp eax, 0xffffffff
je 0x402d47
lea eax, [ebp - 0x24]
push 4
push eax
call sub.libav.dll_Ordinal_44340
add esp, 8
cmp eax, 0xffffffff
jne 0x402d68
push edi
push str._chdir_tmp:_Cant_access_local__s_database_n
call fcn.00409df0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push edi
push str._chdir_tmp:_dbname_parameter_value_too_long_to_create_cld_file_name:__s_n
call fcn.00409df0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.MSVCR110.dll__mkdir]
add esp, 4
push esi
cmp eax, 0xffffffff
jne 0x402d98
push str._chdir_tmp:_Cant_create_directory__s_n
call fcn.00409df0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call sub.libav.dll_Ordinal_44213
add esp, 8
cmp eax, 0xffffffff
jne 0x402df5
push esi
lea eax, [ebp - 0x24]
push eax
push str._chdir_tmp:_Cant_unpack__s_into__s_n
call fcn.00409df0
push esi
call sub.libav.dll_Ordinal_44210
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push edi
push str._chdir_tmp:_dbname_parameter_value_too_long_to_create_cvd_file_name:__s_n
call fcn.00409df0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.MSVCR110.dll__chdir]
add esp, 4
cmp eax, 0xffffffff
jne 0x402e25
push esi
push str._chdir_tmp:_Cant_change_directory_to__s_n
call fcn.00409df0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
Function at 0x402e40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push 0x4139a0
mov dword [ebp - 0x40c], esi
call sub.libav.dll_Ordinal_44272
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x402e95
push 0x4139a0
push str._checkdbdir:_Cant_open_directory__s_n
call fcn.00409df0
add esp, 8
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push ebx
call sub.libav.dll_Ordinal_44273
add esp, 4
test eax, eax
je 0x402fe6
push edi
mov edi, dword [sym.imp.MSVCR110.dll__unlink]
lea ecx, [ecx]
cmp word [eax], 0
je 0x402fd4
lea esi, [eax + 3]
push str..cld
push esi
call sub.libav.dll_Ordinal_44258
add esp, 8
test eax, eax
jne 0x402ee5
push str..cvd
push esi
call sub.libav.dll_Ordinal_44258
add esp, 8
test eax, eax
je 0x402fce
push esi
push 0x4139a0
push 0x40e670
lea eax, [ebp - 0x204]
push 0x200
push eax
call sub.libav.dll_Ordinal_44276
lea eax, [ebp - 0x204]
push eax
call sub.libav.dll_Ordinal_5
add esp, 0x18
test eax, eax
je 0x402fce
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call sub.libav.dll_Ordinal_27
push eax
lea eax, [ebp - 0x204]
push eax
push str._Corrupted_database_file__s:__s_n
call fcn.00409e10
lea eax, [ebp - 0x204]
push eax
push str._s.broken
lea eax, [ebp - 0x408]
push 0x201
push eax
call sub.libav.dll_Ordinal_44276
lea eax, [ebp - 0x408]
push 4
push eax
call sub.libav.dll_Ordinal_44340
add esp, 0x28
test eax, eax
jne 0x402f77
lea eax, [ebp - 0x408]
push eax
call edi
add esp, 4
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.MSVCR110.dll_rename]
add esp, 8
test eax, eax
je 0x402fb8
lea eax, [ebp - 0x204]
push eax
call edi
add esp, 4
test eax, eax
je 0x402fd4
lea eax, [ebp - 0x204]
push eax
push str._Cant_remove_broken_database_file__s__please_delete_it_manually_and_restart_PCAccelerateProUpdater_n
call fcn.00409e10
add esp, 8
jmp 0x402fd4
lea eax, [ebp - 0x408]
push eax
push str.Corrupted_database_file_renamed_to__s_n
call fcn.00409e10
add esp, 8
jmp 0x402fd4
mov esi, dword [ebp - 0x40c]
push ebx
call sub.libav.dll_Ordinal_44273
add esp, 4
test eax, eax
jne 0x402eb0
pop edi
push ebx
call sub.libav.dll_Ordinal_44274
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
Function at 0x4038f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4c], eax
xor eax, eax
movsw word es:[edi], word [esi]
xor edi, edi
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x50], edi
cmp dword [ebp + 0x10], eax
jbe 0x40399b
mov esi, dword [ebp - 0x4c]
lea ecx, [ecx]
mov ecx, dword [ebp + 0xc]
shl ebx, 8
movsx cx, byte [edi + ecx]
add cx, bx
movzx ebx, cx
add edx, 8
mov dword [ebp - 0x54], ebx
cmp dx, 6
jbe 0x403973
movzx edi, bx
lea ebx, [edx - 6]
mov cl, bl
mov edx, edi
shr edx, cl
inc eax
and edx, 0x3f
mov cl, byte [ebp + edx - 0x48]
movzx edx, bx
mov byte [esi + eax - 1], cl
cmp edx, 6
ja 0x403950
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
inc edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp + 0x10]
jb 0x403930
test dx, dx
je 0x4039a0
mov cl, 6
sub cl, dl
movzx edx, bx
shl dx, cl
and edx, 0x3f
inc eax
mov cl, byte [ebp + edx - 0x48]
mov edx, esi
mov byte [edx + eax - 1], cl
jmp 0x4039a2
mov edx, dword [ebp - 0x4c]
jmp 0x4039a2
mov edx, esi
pop edi
pop esi
pop ebx
test al, 3
je 0x4039b9
lea esp, [esp]
mov byte [edx + eax], 0x3d
inc eax
test al, 3
jne 0x4039b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
Function at 0x406e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
movq qword [ebx], xmm0
movq qword [ebx + 8], xmm0
movq qword [ebx + 0x10], xmm0
movq qword [ebx + 0x18], xmm0
mov dword [ebx + 0x20], 0
mov byte [ebx], al
test al, al
jne 0x406e81
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push esi
push 0x8000
push ecx
call dword [sym.imp.MSVCR110.dll__open]
mov esi, eax
add esp, 8
mov dword [ebp - 0x40], esi
cmp esi, 0xffffffff
jne 0x406ead
pop esi
or eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push edi
push 0x34
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.MSVCR110.dll__read]
mov edi, eax
add esp, 0xc
cmp edi, 0x34
jne 0x406f0f
mov eax, dword [ebx + 4]
inc eax
imul eax, eax, 0x34
push eax
push dword [ebx + 0x20]
call dword [sym.imp.MSVCR110.dll_realloc]
add esp, 8
mov dword [ebx + 0x20], eax
test eax, eax
je 0x406f4f
mov edi, dword [ebx + 4]
imul edi, edi, 0x34
add edi, eax
mov ecx, 0xd
lea esi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x40]
inc dword [ebx + 4]
push 0x34
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.MSVCR110.dll__read]
mov edi, eax
add esp, 0xc
cmp edi, 0x34
je 0x406ec5
push esi
call dword [sym.imp.MSVCR110.dll__close]
add esp, 4
test edi, edi
je 0x406f93
mov esi, dword [ebp - 0x3c]
push esi
push str.Removing_broken__s_file._n
call fcn.00409df0
push esi
call dword [sym.imp.MSVCR110.dll__unlink]
push ebx
call fcn.00406d00
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push str._Cant_allocate_memory_for_mdat__mirtab_n
call fcn.00409df0
add esp, 4
cmp dword [ebx + 4], 0
je 0x406f75
push dword [ebx + 0x20]
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov dword [ebx + 4], 0
push esi
call dword [sym.imp.MSVCR110.dll__close]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
Function at 0x40a110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2238
call fcn.0040a7b0
mov eax, dword [0x413080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x8000
push eax
mov dword [ebp - 0x2238], eax
xor esi, esi
call dword [sym.imp.MSVCR110.dll__open]
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x40a225
lea eax, [ebp - 0x2034]
push eax
push edi
call dword [sym.imp.MSVCR110.dll__fstat64i32]
add esp, 8
cmp eax, 0xffffffff
je 0x40a21b
push 0x200
lea eax, [ebp - 0x2234]
push esi
push eax
call sub.MSVCR110.dll_memset
push 0x64
push dword [ebp - 0x2238]
lea eax, [ebp - 0x2234]
push eax
call dword [sym.imp.MSVCR110.dll_strncpy]
push dword [ebp - 0x2020]
lea eax, [ebp - 0x21b8]
push 0x4114f0
push 0xc
push eax
mov byte [ebp - 0x21d1], 0
call sub.libav.dll_Ordinal_44276
add esp, 0x28
xor ecx, ecx
xor edx, edx
lea ebx, [ebx]
movzx eax, byte [ebp + ecx - 0x2234]
add esi, eax
movzx eax, byte [ebp + ecx - 0x2233]
add ecx, 2
add edx, eax
cmp ecx, 0x200
jb 0x40a1c0
lea eax, [esi + 0x100]
add eax, edx
push eax
push str._06o
lea eax, [ebp - 0x21a0]
push 8
push eax
call sub.libav.dll_Ordinal_44276
add esp, 0x10
lea eax, [ebp - 0x2234]
push 0x200
push eax
test ebx, ebx
je 0x40a239
push ebx
call sub.libav.dll_Ordinal_44294
add esp, 0xc
test eax, eax
jne 0x40a24c
push edi
call dword [sym.imp.MSVCR110.dll__close]
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll__write]
add esp, 0xc
cmp eax, 0x200
jne 0x40a21b
push 0x2000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.MSVCR110.dll__read]
mov esi, eax
add esp, 0xc
test esi, esi
jle 0x40a2af
push esi
lea eax, [ebp - 0x2004]
push eax
test ebx, ebx
je 0x40a283
push ebx
call sub.libav.dll_Ordinal_44294
add esp, 0xc
test eax, eax
je 0x40a21b
jmp 0x40a293
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll__write]
add esp, 0xc
cmp eax, esi
jne 0x40a21b
push 0x2000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.MSVCR110.dll__read]
mov esi, eax
add esp, 0xc
test esi, esi
jg 0x40a268
push edi
call dword [sym.imp.MSVCR110.dll__close]
mov esi, dword [ebp - 0x2020]
add esp, 4
and esi, 0x800001ff
jns 0x40a2cf
dec esi
or esi, 0xfffffe00
inc esi
je 0x40a330
push 0x200
lea eax, [ebp - 0x2234]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov eax, 0x200
sub eax, esi
push eax
lea eax, [ebp - 0x2234]
push eax
test ebx, ebx
je 0x40a31b
push ebx
call sub.libav.dll_Ordinal_44294
add esp, 0xc
test eax, eax
jne 0x40a330
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll__write]
add esp, 0xc
cmp eax, 0xffffffff
je 0x40a225
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040a4d6
mov esp, ebp
pop ebp
ret