joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcc4250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcd8808
push 0xcc8288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xcc4329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xcc4329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00cc71d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xcc4329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xcc4329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xcc432c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00cc4351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xcc4d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xcc4d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xcc4d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xcc4d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xcc4d94
push eax
push esi
call fcn.00cc720b
add esp, 8
pop esi
ret 0x10

Function at 0xcc4da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xcc4e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xcc4e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xcdd320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00cc6dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xcc4dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xcc4e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xcc4ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xcc4eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xcdd320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00cc6dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xcc4eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xcc4e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xcc5000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xcc5131
push esi
call fcn.00cc8145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00cb7080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xcc5131
push 0
push ebp
call fcn.00cb73a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00cb7260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xcc508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00cb72f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xcc5121
push 0xcdd918
push edi
call fcn.00cc63f0
push eax
push ebx
push esi
call fcn.00cc4f60
push 0xcdd8f8
push edi
call fcn.00cc63f0
push eax
push ebx
push esi
call fcn.00cc4f60
push 0xcdd8d8
push edi
call fcn.00cc63f0
push eax
push ebx
push esi
call fcn.00cc4f60
push 0xcdd8c0
push edi
call fcn.00cc63f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00cc4f60
push 0xcdd8a0
push edi
call fcn.00cc63f0
push eax
push ebx
push esi
call fcn.00cc4f60
push 0xcdd888
push edi
call fcn.00cc63f0
push eax
push ebx
push esi
call fcn.00cc4f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xcc61b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00cc6140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00cc6140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00cc6140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00cc6140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xcc6bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xcc6c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xcd887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xcc6c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xcc6c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40116f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
push ecx
push 4
push dword [ebp + 0x10]
add eax, edi
push eax
mov dword [ebp - 0x10], eax
call dword [0x441500c]
add esi, edi
mov dword [ebp + 0xc], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40121c
push ebx
add eax, edi
push eax
call dword [0x4415004]
mov ebx, dword [esi + 0x10]
mov edx, eax
mov eax, dword [esi]
add ebx, edi
mov dword [ebp - 0xc], edx
mov edi, ebx
test eax, eax
je 0x4011c3
mov edi, dword [ebp - 4]
add edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x40120b
mov esi, dword [ebp - 4]
jns 0x4011ea
mov eax, dword [edx + 0x3c]
movzx ecx, cx
mov eax, dword [eax + edx + 0x78]
sub ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x4011fa
lea eax, [esi + 2]
add eax, ecx
push eax
push edx
call dword [0x4415000]
mov edx, dword [ebp - 0xc]
add edi, 4
mov dword [ebx], eax
add ebx, 4
mov ecx, dword [edi]
test ecx, ecx
jne 0x4011cc
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
add esi, 0x14
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], esi
test eax, eax
jne 0x4011a3
pop ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [0x441500c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d380
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x41d39a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d3a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d390
mov eax, 1
add ebx, ebx
jne 0x41d3b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d3a8
jne 0x41d3c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d3a8
xor ecx, ecx
sub eax, 3
jb 0x41d3d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d44a
mov ebp, eax
add ebx, ebx
jne 0x41d3e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d3f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d414
inc ecx
add ebx, ebx
jne 0x41d400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d3f5
jne 0x41d411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d3f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d434
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d425
jmp 0x41d396
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d434
add edi, ecx
jmp 0x41d396
pop esi
mov edi, esi
mov ecx, 0x20b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d452
cmp byte [edi], 6
jne 0x41d452
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41d457
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d4cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f9c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fa04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d484
mov ecx, edi
jns 0x41d4b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fa0c]
or eax, eax
je 0x41d4c9
mov dword [ebx], eax
add ebx, 4
jmp 0x41d4a1
call dword [esi + 0x1fa08]
mov ebp, dword [esi + 0x1fa10]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41d503
sub esp, 0xffffff80
jmp 0x402938
Function at 0x40196f
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.daemon
push dword [ebp + 8]
mov esi, edx
mov edi, ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
cmp dword [eax + 0x18], 0
pop ecx
pop ecx
jne 0x4019d7
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 0x4019c1
push dword [ebp - 4]
push edi
push str._s:_EXIT__d_n
call fcn.004089d4
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.MSVCR110.dll_exit]
push esi
call dword [sym.imp.MSVCR110.dll_system]
pop ecx
cmp eax, 0xffffffff
jne 0x4019fa
push esi
push edi
push str._s:_system__s__failed_n
jmp 0x4019f2
push 0
push esi
push esi
push 1
call dword [sym.imp.MSVCR110.dll__spawnlp]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4019fa
push esi
push edi
push str._s:_couldnt_execute___s_._n
call fcn.004089d4
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x402385
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push 0x8000
call dword [sym.imp.MSVCR110.dll___iob_func]
push eax
call dword [sym.imp.MSVCR110.dll__fileno]
pop ecx
push eax
call dword [sym.imp.MSVCR110.dll__setmode]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.libav.dll_Ordinal_44286]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 0x10
jmp fcn.00401bb6
Function at 0x40373d
Capabilities:
Move file

Disassembly:
sub esp, 0x408
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
push edi
mov ebp, 0x410780
xor edi, edi
push ebp
mov ebx, edi
call dword [sym.imp.libav.dll_Ordinal_44272]
mov esi, eax
pop ecx
test esi, esi
jne 0x403780
push ebp
push str._checkdbdir:_Cant_open_directory__s_n
call fcn.004089d4
pop ecx
or eax, 0xffffffff
jmp 0x4038ad
mov ebp, dword [sym.imp.libav.dll_Ordinal_44273]
jmp 0x403898
cmp word [eax], di
je 0x403898
lea edi, [eax + 3]
push str..cld
push edi
call dword [sym.imp.libav.dll_Ordinal_44258]
pop ecx
pop ecx
test eax, eax
jne 0x4037bf
push str..cvd
push edi
call dword [sym.imp.libav.dll_Ordinal_44258]
pop ecx
pop ecx
test eax, eax
je 0x403896
push edi
push 0x410780
push 0x40d6bc
lea eax, [esp + 0x1c]
push 0x200
push eax
call dword [sym.imp.libav.dll_Ordinal_44276]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.libav.dll_Ordinal_5]
add esp, 0x18
test eax, eax
je 0x403896
push eax
or ebx, 0xffffffff
call dword [sym.imp.libav.dll_Ordinal_27]
push eax
lea eax, [esp + 0x18]
push eax
push str._Corrupted_database_file__s:__s_n
call fcn.00408771
lea eax, [esp + 0x20]
push eax
push str._s.broken
lea eax, [esp + 0x228]
push 0x201
push eax
call dword [sym.imp.libav.dll_Ordinal_44276]
lea eax, [esp + 0x230]
push 4
push eax
call dword [sym.imp.libav.dll_Ordinal_44340]
add esp, 0x28
test eax, eax
jne 0x40384d
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.MSVCR110.dll__unlink]
pop ecx
lea eax, [esp + 0x210]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCR110.dll_rename]
pop ecx
pop ecx
test eax, eax
je 0x403882
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCR110.dll__unlink]
pop ecx
test eax, eax
je 0x403896
lea eax, [esp + 0x10]
push eax
push str._Cant_remove_broken_database_file__s__please_delete_it_manually_and_restart_PCAccelerateProUpdater_n
jmp 0x40388f
lea eax, [esp + 0x210]
push eax
push str.Corrupted_database_file_renamed_to__s_n
call fcn.00408771
pop ecx
pop ecx
xor edi, edi
push esi
call ebp
pop ecx
test eax, eax
jne 0x40378b
push esi
call dword [sym.imp.libav.dll_Ordinal_44274]
mov eax, ebx
pop ecx
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x408
ret
Function at 0x4040e7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.libav.dll_Ordinal_44340]
push esi
push edi
mov esi, edx
push 6
push esi
mov edi, ecx
call ebx
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4041db
push edi
push str._s.cvd
lea eax, [ebp - 0x24]
push 0x20
push eax
call dword [sym.imp.libav.dll_Ordinal_44276]
add esp, 0x10
cmp eax, 0x20
jae 0x4041c9
cmp eax, 0xffffffff
je 0x4041c9
lea eax, [ebp - 0x24]
push 4
push eax
call ebx
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x404188
push edi
push str._s.cld
lea eax, [ebp - 0x24]
push 0x20
push eax
call dword [sym.imp.libav.dll_Ordinal_44276]
add esp, 0x10
cmp eax, 0x20
jae 0x404180
cmp eax, 0xffffffff
je 0x404180
lea eax, [ebp - 0x24]
push 4
push eax
call ebx
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x404188
push edi
push str._chdir_tmp:_Cant_access_local__s_database_n
jmp 0x4041cf
push edi
push str._chdir_tmp:_dbname_parameter_value_too_long_to_create_cld_file_name:__s_n
jmp 0x4041cf
push esi
call dword [sym.imp.MSVCR110.dll__mkdir]
pop ecx
push esi
cmp eax, 0xffffffff
jne 0x40419d
push str._chdir_tmp:_Cant_create_directory__s_n
jmp 0x4041cf
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.libav.dll_Ordinal_44213]
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4041db
push esi
lea eax, [ebp - 0x24]
push eax
push str._chdir_tmp:_Cant_unpack__s_into__s_n
call fcn.004089d4
push esi
call dword [sym.imp.libav.dll_Ordinal_44210]
add esp, 0x10
jmp 0x4041d6
push edi
push str._chdir_tmp:_dbname_parameter_value_too_long_to_create_cvd_file_name:__s_n
call fcn.004089d4
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x4041f2
push esi
call dword [sym.imp.MSVCR110.dll__chdir]
pop ecx
cmp eax, 0xffffffff
jne 0x4041f0
push esi
push str._chdir_tmp:_Cant_change_directory_to__s_n
jmp 0x4041cf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405328
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x64
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, ecx
push 0x10
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], edx
xor edx, edx
movsw word es:[edi], word [esi]
mov ebp, edx
mov ebx, edx
mov esi, edx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x78], edx
jbe 0x405414
push 6
pop ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
shl ebp, 8
movsx ax, byte [esi + eax]
add ax, bp
movzx ebp, ax
add edx, 8
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
cmp dx, cx
jbe 0x4053e4
movzx eax, bp
mov dword [esp + 0x20], eax
movzx ecx, dx
lea eax, [edx - 7]
push 6
pop ebp
xor dx, dx
mov esi, dword [esp + 0x20]
div bp
mov edx, dword [esp + 0x28]
sub ecx, ebp
mov dword [esp + 0x14], ecx
inc ax
movzx ebp, ax
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x14]
sub ecx, 6
add edx, 0xfffa
and eax, 0x3f
mov dword [esp + 0x14], ecx
mov al, byte [esp + eax + 0x2c]
mov byte [edi + ebx], al
inc ebx
dec ebp
jne 0x4053b6
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
push 6
pop ecx
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x78]
jb 0x40536b
test dx, dx
je 0x40540b
movzx eax, bp
sub cl, dl
shl ax, cl
and eax, 0x3f
mov al, byte [esp + eax + 0x2c]
mov byte [edi + ebx], al
inc ebx
mov eax, edi
jmp 0x405414
mov byte [eax + ebx], 0x3d
inc ebx
test bl, 3
jne 0x40540f
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x64
ret
Function at 0x406326
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push edi
mov ebx, edx
push 9
xor eax, eax
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x44]
mov byte [ebx], al
test al, al
jne 0x406352
xor eax, eax
jmp 0x4063f5
push ebp
push 0x8000
push str.mirrors.dat
call dword [sym.imp.MSVCR110.dll__open]
mov ebp, eax
pop ecx
pop ecx
cmp ebp, 0xffffffff
jne 0x406373
or eax, eax
jmp 0x4063f4
push esi
jmp 0x4063a4
mov eax, dword [ebx + 4]
inc eax
imul eax, eax, 0x34
push eax
push dword [ebx + 0x20]
call dword [sym.imp.MSVCR110.dll_realloc]
pop ecx
pop ecx
mov dword [ebx + 0x20], eax
test eax, eax
je 0x4063e0
mov edi, dword [ebx + 4]
imul edi, edi, 0x34
push 0xd
add edi, eax
pop ecx
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 4]
push 0x34
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.MSVCR110.dll__read]
mov esi, eax
add esp, 0xc
cmp esi, 0x34
je 0x406376
push ebp
call dword [sym.imp.MSVCR110.dll__close]
pop ecx
test esi, esi
je 0x4063f1
push str.mirrors.dat
call dword [sym.imp.MSVCR110.dll__unlink]
pop ecx
mov ecx, ebx
call fcn.00406406
or eax, 0xffffffff
jmp 0x4063f3
mov ecx, ebx
call fcn.00406406
push ebp
call dword [sym.imp.MSVCR110.dll__close]
pop ecx
jmp 0x4063db
xor eax, eax
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x38
ret
Function at 0x407e04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x61766441
mov dword [ebp - 0xb], 0x6c6c64
mov dword [ebp - 0x10], 0x32336970
mov byte [ebp - 0xc], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret

Function at 0x407e7e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], 0x6c6c642e
mov word [ebp - 0x11], 0x656e
mov word [ebp - 0x14], 0x654b
mov word [ebp - 0xe], 0x3233
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 8], 0
mov byte [ebp - 0x12], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret

Function at 0x407ec9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0x10], eax
inc edi
call fcn.00407e04
mov esi, eax
test esi, esi
je 0x407f40
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0x53676552
mov dword [esp + 0x26], 0x57784565
mov dword [esp + 0x22], 0x756c6156
mov byte [esp + 0x2a], 0
mov word [esp + 0x20], 0x7465
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407f39
push 4
push dword [esp + 0x14]
push 4
push 0
push ebp
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x18
ret

Function at 0x407f55
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
mov word [ebp - 9], 0x57
mov dword [ebp - 0x13], 0x74616572
mov byte [ebp - 0x14], 0x43
mov dword [ebp - 0xe], 0x6574754d
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x78
call fcn.00407e7e
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407fa7
push str.GlobalAweAPCPDBUpdMutex
push ebx
push ebx
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret