joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f7d6c
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 0x4f7d9d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4f7d85
add dl, dl
jne 0x4f7da8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4f7df9
xor eax, eax
add dl, dl
jne 0x4f7db5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4f7e96
add dl, dl
jne 0x4f7dc4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f7dcf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f7dda
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f7de5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x4f7def
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x4f7d94
mov eax, 1
add dl, dl
jne 0x4f7e07
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f7e12
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4f7dfe
sub eax, ebx
mov ebx, 1
jne 0x4f7e45
mov ecx, 1
add dl, dl
jne 0x4f7e2b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4f7e36
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4f7e22
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4f7d94
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x4f7e5c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4f7e67
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4f7e53
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 0x4f7d94
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4f7eb7
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 0x4f7d94
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 0x503fec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x50401a
mov eax, ebx
call fcn.00504aa0
cmp dword [ebx + 0x40], 0
je 0x504013
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x50408b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x50407d
cmp dword [ebx + 8], 0
je 0x50403c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x50404e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50407d
cmp dword [ebx + 8], 0
je 0x50402f
cmp eax, 3
je 0x504061
dec eax
jne 0x50402f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50402f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x50402f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5040a9
cmp dword [ebx + 0x14], 0xcc
je 0x5040a9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005040b4
pop ebx
ret
Function at 0x51c634
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x1385584
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x51c656
shr eax, 1
xor eax, 0xedb88320
jmp 0x51c658
shr eax, 1
dec edx
jne 0x51c644
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x51c63d
mov byte [0x1385984], 1
pop esi
pop ebx
ret

Function at 0x51c674
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x1385984], 0
jne 0x51c68b
call fcn.0051c634
mov eax, edi
dec eax
test eax, eax
jl 0x51c6b4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1385584]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x51c695
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x51f114
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x51f145
dec al
je 0x51f181
dec al
je 0x51f1c5
dec al
je 0x51f230
jmp 0x51f2ba
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x51f2ba
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x51f155
jmp 0x51f2ba
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x51f2ba
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x51f191
jmp 0x51f2ba
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x51f2ba
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x51f1f3
xor ebp, ebp
jmp 0x51f204
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x51f20d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x51f1d5
jmp 0x51f2ba
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x51f2ba
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x51f288
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0051c6bc
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x51f244
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x4026e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
push ecx
push str.SELECT_Value_FROM_Settings_WHERE__Group_SETTINGS_AND__item_SPF_ENABLED
push eax
call fcn.004025c0
test al, al
jne 0x402757
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x402790
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403980
jmp 0x402790
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00403420
mov dword [esi], eax
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40277e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403980
mov al, 1
jmp 0x402792
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409de0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5409a7
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa8c], ebx
lea ecx, [ebx + 4]
mov dword [ebp - 4], 0
call fcn.0040c600
push 8
mov ecx, ebx
call fcn.0040c670
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40a05f
cmp word [esi], 0
je 0x40a05f
push 0x250
lea eax, [ebp - 0xa84]
push 0
push eax
call fcn.00516d20
push 0x800
lea eax, [ebp - 0x81c]
push 0
push eax
call fcn.00516d20
push 0x400
lea edx, [ebp - 0x81c]
mov ecx, esi
call fcn.00408370
add esp, 0x1c
test al, al
jne 0x409e96
mov esi, 0xe
jmp 0x40a064
lea esi, [ebp - 0x81c]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x409ea0
sub esi, ecx
sar esi, 1
cmp esi, 0x3f3
jae 0x409e8c
cmp word [ebp + esi*2 - 0x81e], 0x5c
je 0x409ed0
mov eax, 0x5c
mov word [ebp + esi*2 - 0x81c], ax
inc esi
push 0x400
lea edx, [ebp - 0x81c]
mov ecx, str.MsiLog_.LOG
call fcn.0040a8d0
add esp, 4
test al, al
je 0x409e8c
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0xa88], edi
cmp edi, 0xffffffff
jne 0x409f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x40a064
xor esi, esi
jmp 0x40a064
mov dword [ebp - 4], 1
lea esp, [esp]
test byte [ebp - 0xa84], 0x10
jne 0x409fef
xor eax, eax
mov dword [ebp - 0x820], 7
mov word [ebp - 0x834], ax
lea ecx, [ebp - 0x834]
push esi
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x824], 0
push eax
call fcn.00403fe0
mov byte [ebp - 4], 2
cmp word [ebp - 0xa58], 0
jne 0x409f7f
xor ecx, ecx
jmp 0x409f9f
lea ecx, [ebp - 0xa58]
lea edx, [ecx + 2]
jmp 0x409f90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409f90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa58]
push eax
lea ecx, [ebp - 0x834]
call fcn.0040c930
push dword [ebp - 0xa88]
lea eax, [ebp - 0x834]
mov ecx, ebx
push eax
lea eax, [ebp - 0xa94]
push eax
call fcn.0040df50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x820]
cmp eax, 8
jb 0x409fef
inc eax
lea ecx, [ebp - 0x834]
push eax
push dword [ebp - 0x834]
call fcn.00403300
lea eax, [ebp - 0xa84]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [eax - 0x12]
neg esi
sbb esi, esi
and esi, eax
test edi, edi
je 0x40a064
cmp edi, 0xffffffff
je 0x40a064
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40a064
mov esi, 0x57
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret
Function at 0x40a090
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [0x5868f4]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
xor eax, eax
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
test edi, edi
je 0x40a1f5
cmp word [edi], ax
je 0x40a1f5
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40a250
push ecx
mov edx, str.O:BAG:BAD:_A_OICI_GA___BA__A_OICI_GA___SY_
lea ecx, [esp + 0x28]
call fcn.00409cd0
mov esi, eax
add esp, 4
test esi, esi
je 0x40a167
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00407db0
mov dword [esp + 0xc], str.Utilities.cpp
mov dword [esp + 0x10], str.Utilities::CreateDirectoryIfNotPresent
mov dword [esp + 0x14], 0x1324
mov dword [esp + 0x18], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push str.Log.txt
mov edx, str._ProgramData_QualysQualysAgent
mov dword [esp + 0x24], eax
call fcn.004265b0
lea eax, [esp + 0x38]
push eax
push edi
push str.Failed_to_create_DACL_list_for_directory___s_:__s
push 0
push 2
lea eax, [esp + 0x28]
push 0x565f3c
push eax
call fcn.00424820
add esp, 0x24
jmp 0x40a250
lea eax, [esp + 0x24]
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
test esi, esi
je 0x40a250
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
lea ecx, [esp + 0x34]
push esi
call fcn.00407db0
mov dword [esp + 0xc], str.Utilities.cpp
mov dword [esp + 0x10], str.Utilities::CreateDirectoryIfNotPresent
mov dword [esp + 0x14], 0x132c
mov dword [esp + 0x18], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push str.Log.txt
mov edx, str._ProgramData_QualysQualysAgent
mov dword [esp + 0x24], eax
call fcn.004265b0
lea eax, [esp + 0x38]
push eax
push edi
push str.Failed_to_create_patch_directory___s_:__s
push 0
push 2
lea eax, [esp + 0x28]
push 0x565f9c
push eax
call fcn.00424820
add esp, 0x24
jmp 0x40a250
mov esi, 0x57
mov dword [esp + 0xc], str.Utilities.cpp
mov dword [esp + 0x10], str.Utilities::CreateDirectoryIfNotPresent
mov dword [esp + 0x14], 0x131a
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push str.Log.txt
mov edx, str._ProgramData_QualysQualysAgent
mov dword [esp + 0x24], eax
call fcn.004265b0
push str.Invalid_parameter_passed_to_directory_creator.
push 0
push 2
lea eax, [esp + 0x20]
push 0x565ed0
push eax
call fcn.00424820
add esp, 0x1c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40a25f
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x434]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret
Function at 0x40a280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5409d0
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x820], esi
xor edi, edi
mov dword [ebp - 0x824], edi
test esi, esi
jne 0x40a2fc
push str.Invalid_file_name_passed.
push edi
push 2
push 0x565ff8
push edi
push edi
push str.Utilities::QLoadLibraryEx
push 0x16ef
push str.Utilities.cpp
lea ecx, [ebp - 0x83c]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x14
jmp 0x40a4f8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
test ebx, ebx
je 0x40a4f8
mov ecx, esi
call fcn.00408880
inc eax
mov dword [ebp - 4], 0
add eax, ebx
xor ecx, ecx
mov dword [ebp - 0x81c], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004feec5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x40a3a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push eax
lea ecx, [ebp - 0x418]
call fcn.00407db0
lea eax, [ebp - 0x418]
push eax
push str.Failed_to_retrieve_system_directory_path:__s
push 0
push 2
push 0x566064
push 0
push 0
push str.Utilities::QLoadLibraryEx
push 0x170a
push str.Utilities.cpp
lea ecx, [ebp - 0x83c]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x18
jmp 0x40a4a8
xor ecx, ecx
test esi, esi
je 0x40a3bb
nop
mov ax, word [esi + ecx*2]
inc ecx
test ax, ax
jne 0x40a3b0
dec ecx
cmp word [esi + ecx*2 - 2], 0x5c
mov ebx, dword [ebp - 0x81c]
je 0x40a417
push ebx
mov edx, esi
mov ecx, 0x565aa8
call fcn.00408540
add esp, 4
test al, al
jne 0x40a417
push str.Failed_to_concatenate_system_path_with_backslash_character.
push 0
push 2
push 0x5660e8
push 0
push 0
push str.Utilities::QLoadLibraryEx
push 0x1712
push str.Utilities.cpp
lea ecx, [ebp - 0x83c]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x14
jmp 0x40a4a8
mov ecx, dword [ebp - 0x820]
mov edx, esi
push ebx
call fcn.00408540
add esp, 4
test al, al
jne 0x40a44a
push str.Failed_to_concatenate_system_path_with_file_name.
push 0
push 2
push 0x566154
push 0
push 0
push str.Utilities::QLoadLibraryEx
push 0x1719
jmp 0x40a3f9
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40a4a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push eax
lea ecx, [ebp - 0x818]
call fcn.00407db0
lea eax, [ebp - 0x818]
push eax
push esi
push str.Failed_to_load_module__s:__s
push edi
push 2
push 0x56619c
push edi
push edi
push str.Utilities::QLoadLibraryEx
push 0x1721
push str.Utilities.cpp
lea ecx, [ebp - 0x854]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x1c
test esi, esi
je 0x40a4f8
push esi
call fcn.004fdfa4
add esp, 4
jmp 0x40a4f8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret
Function at 0x40d0e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540b36
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5868f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004fdf4e
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004ea91e
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40df50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540c30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5868f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x40df97
mov esi, dword [eax]
jmp 0x40df99
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x40dfb5
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x40dfa4
mov eax, dword [ebx + 0x18]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], ecx
mov edi, dword [eax + ecx]
cmp edi, dword [ebx + 4]
jne 0x40dfd4
mov esi, dword [ebx + 4]
jmp 0x40dfda
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x40dffc
mov edi, edi
mov esi, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
call fcn.00407260
test eax, eax
sete al
test al, al
jne 0x40e02d
cmp esi, edi
jne 0x40dfe0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
mov edi, dword [eax]
push dword [edi + 4]
push edi
call fcn.0040eec0
mov ecx, 0x7fffffe
mov edx, eax
sub ecx, dword [ebx + 8]
cmp ecx, 1
jae 0x40e04a
push str.list_T__too_long
call fcn.004ea4f4
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc dword [ebx + 8]
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x40e084
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x40e09e
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x40e0c0
cmp eax, esi
jne 0x40e0a6
mov dword [ecx], edi
jmp 0x40e0c0
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x40e0c0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0040e200
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x40e2bb
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x40e2d7
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40e2c6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x40e30d
cmp dword [ecx], edi
jne 0x40e305
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x40e315
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x40e315
cmp dword [ecx], edi
jne 0x40e318
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ebx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [edx + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x40e340
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00403300
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x40e356
mov ebx, dword [ebx]
xor eax, eax
push edi
mov word [ebx], ax
call fcn.00451480
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8