joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4acae4
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4acad3
jg 0x4aca30
test edx, edx
je 0x4acad3
nop dword [eax]
call fcn.0044b6d0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4aca84
jg 0x4aca47
test esi, esi
je 0x4aca84
cmp ebx, eax
jg 0x4aca57
jl 0x4aca51
cmp edi, esi
jae 0x4aca57
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
push dword [eax]
call fcn.004c7170
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4acab7
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call dword [0x5c3794]
mov ecx, dword [esp + 0x10]
call esi
cmp eax, 0xffffffff
je 0x4acacd
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x4aca30
jl 0x4acacd
test edi, edi
jne 0x4aca30
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4acb06
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x4acb08
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x4acb86
jg 0x4acb1b
test esi, esi
je 0x4acb86
test eax, eax
jl 0x4acb6a
jg 0x4acb25
test ebx, ebx
je 0x4acb6a
cmp edi, eax
jg 0x4acb35
jl 0x4acb2f
cmp esi, ebx
jae 0x4acb35
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004c7170
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x4acb86
jg 0x4acb6d
test esi, esi
je 0x4acb86
jmp 0x4acb6d
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4acb86
push eax
push esi
push 1
push edx
call fcn.004d7f19
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ad190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x4ad1c0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x4ad1fc
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x4ad1fc
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x4ad2f4
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [esi], eax
jne 0x4ad224
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4ad25a
push dword [edi + 0x4c]
movsx eax, bl
push eax
call fcn.004dce6f
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov esi, dword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [esi + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x5c3794]
mov ecx, dword [ebp - 0x2c]
call esi
sub eax, 0
je 0x4ad2c7
sub eax, 1
je 0x4ad2c7
sub eax, 2
jne 0x4ad2f4
push dword [edi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004dce6f
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4ad2e4
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.004d7f19
add esp, 0x10
cmp esi, eax
jne 0x4ad2f4
lea eax, [ebp - 0x25]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x4ad1e7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x4ad7d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4ad8a8
cmp byte [ebx + 0x3d], 0
je 0x4ad8a8
mov eax, dword [ebx]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5c3794]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x4ad896
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x4ad85e
sub eax, 1
je 0x4ad862
sub eax, 2
jne 0x4ad896
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4ad87f
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.004d7f19
add esp, 0x10
cmp esi, eax
jne 0x4ad896
cmp byte [ebx + 0x3d], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.004c59c5
mov esp, ebp
pop ebp
ret

Function at 0x4b1400
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x68117c], 0
jne 0x4b1416
mov eax, 0xfeae0007
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.004b1600
mov esi, eax
test esi, esi
je 0x4b1457
push 0
push 0
push esi
push str.CThreadLocalStorage::getTLSValue
push 0x45
push 0xa5
push str.C:drone_src_srcCommonUtilityThreadLocalStorage.h
push str.CThreadLocalStorage_unsigned_long_::FreeData
call fcn.00573980
add esp, 0x20
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b14ac
push 4
push eax
call fcn.004c5d7f
add esp, 8
push 0
push dword [0x681178]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4b14ac
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::TlsSetValue
push 0x45
push 0xb2
push str.C:drone_src_srcCommonUtilityThreadLocalStorage.h
push str.CThreadLocalStorage_unsigned_long_::FreeData
call fcn.00573980
add esp, 0x20
mov eax, 0xfeae000c
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b1540
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x68117c], 0
jne 0x4b1558
mov eax, 0xfeae0007
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.004b1600
mov esi, eax
test esi, esi
je 0x4b1598
push 0
push 0
push esi
push str.CThreadLocalStorage::getTLSValue
push 0x45
push 0x5f
push str.C:drone_src_srcCommonUtilityThreadLocalStorage.h
push str.CThreadLocalStorage_unsigned_long_::SetData
call fcn.00573980
add esp, 0x20
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b15a9
push 4
call fcn.004c59e9
add esp, 4
mov ecx, dword [ebp + 8]
push eax
mov dword [eax], ecx
push dword [0x681178]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4b15ef
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::TlsSetValue
push 0x45
push 0x6f
push str.C:drone_src_srcCommonUtilityThreadLocalStorage.h
push str.CThreadLocalStorage_unsigned_long_::SetData
call fcn.00573980
add esp, 0x20
mov eax, 0xfeae000c
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4b1600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x681178]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b164a
push 0
push 0
push eax
push str.::TlsGetValue
push 0x45
push 0xca
push str.C:drone_src_srcCommonUtilityThreadLocalStorage.h
push str.CThreadLocalStorage_unsigned_long_::getTLSValue
call fcn.00573980
add esp, 0x20
mov eax, 0xfeae000a
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4

Function at 0x4e6a48
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e66f9

Function at 0x4e6a53
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e6883

Function at 0x4ec193
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ebe10
Function at 0x4f3ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e405
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov edx, edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
cmp dword [edi + 0x14], 8
jb 0x4f3b11
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f3b31
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004459d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2200000
push 3
push 0
push 7
push 0x80
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4f3bc0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x4f3bb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f3c76
push edx
push ecx
call fcn.004c5d7f
add esp, 8
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x4f3c3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp eax, 5
jne 0x4f3c2c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4f3bf1
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f3c21
test esi, 0x400
jne 0x4f3c29
push esi
push edi
call fcn.004f3300
and esi, 0x10
mov dword [ebx + 4], eax
or esi, 0x20
add esp, 8
shr esi, 4
mov dword [ebx], esi
jmp 0x4f3c58
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f3c2c
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x2c]
push edi
push eax
push ebx
call fcn.004f36b0
add esp, 0x10
jmp 0x4f3c58
push dword [ebp - 0x2c]
push edi
push esi
push ebx
call fcn.004f3800
add esp, 0x10
push esi
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
call fcn.004d0f9f
int3
Function at 0x4fb0b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed5d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004fb600
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
je 0x4fb11d
cmp ebx, 5
je 0x4fb11d
mov bl, 1
jmp 0x4fb192
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
jb 0x4fb12d
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4fb16e
push esi
call fcn.004d4367
inc eax
add esp, 4
cmp eax, 0x3fffffff
jg 0x4fb16e
add eax, eax
mov dword [ebp - 0x2c], eax
call fcn.004c6740
mov edi, esp
test edi, edi
je 0x4fb16e
push 0
push 0
push dword [ebp - 0x2c]
mov byte [edi], 0
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x4fb170
xor eax, eax
push eax
push ebx
push str.Error__d_Creating_User_Instance_Mutex:__s
push 0x45
push 0x12f
push str.C:drone_srcGUIWindowsGUIInstance.cpp
push str.CGUIInstance::createCurrentSessionInstanceMutex
call fcn.00573940
add esp, 0x1c
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4fb1ad
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
mov al, bl
lea esp, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
Function at 0x5023e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f851
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.XmlDoc.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push 0x2844
mov dword [ebp - 4], 0
call fcn.004c59e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x283c]
lea ecx, [esi + 0x3c]
mov dword [esi], 0
mov eax, ecx
mov dword [esi + 4], 0
neg eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
and eax, 3
mov dword [esi + 0x18], 0
add eax, ecx
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], eax
mov eax, edi
mov dword [edx], 0
mov dword [esi + 0x2840], 0
mov dword [esi + 0x30], ecx
mov dword [esi + 0x38], edx
mov dword [edi + 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x509260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1f00
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x6340c4]
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 edi, ecx
mov esi, dword [ebp + 8]
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x50929f
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
xorps xmm0, xmm0
push 0x208
push ecx
lea eax, [ebp - 0x424]
mov dword [ebp - 0x45c], ecx
push eax
movlpd qword [ebp - 0x44c], xmm0
mov dword [ebp - 0x444], ecx
call fcn.004c76f0
mov eax, dword [edi + 0x5c]
lea ecx, [ebp - 0x440]
add esp, 0xc
mov dword [ebp - 0x460], eax
push ecx
push 0x11
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x509314
push str.Failed_to_get_desktop_location
push 0x45
push 0x364
push str.C:drone_srcGUIWindowsACFileDialog.cpp
push str.CACFileDialog::OpenFileandFolderDlg
call fcn.00573940
add esp, 0x14
jmp 0x509320
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x45c], eax
lea eax, [edi + 8]
mov dword [ebp - 0x450], 0x4241
push eax
lea ecx, [ebp - 0x43c]
call fcn.0044a700
mov dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x428], 8
cmovae eax, dword [ebp - 0x43c]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
je 0x5093f7
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004c76f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x5093d0
lea edx, [ebp - 0x21c]
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5093b0
sub edx, ecx
lea eax, [ebp - 0x21c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.004459d0
jmp 0x5093ee
push str.No_user_selection.
push 0x57
push 0x383
push str.C:drone_srcGUIWindowsACFileDialog.cpp
push str.CACFileDialog::OpenFileandFolderDlg
call fcn.00573940
add esp, 0x14
push edi
mov bl, 1
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x428]
cmp ecx, 8
jb 0x509418
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x43c]
call fcn.00446620
add esp, 8
mov al, bl
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.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x50e0f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov byte [esi + 0x4c], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0050c550
xor eax, eax
pop esi
ret 0x10

Function at 0x50e3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a27fd
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
push 0x4b4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x31
mov dword [esi + 0x24], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x10
mov byte [ebp - 0x56], 5
mov dword [ebp - 0x60], 0x258
mov dword [ebp - 0x70], 0xfffffff4
call fcn.004c59e9
mov edx, eax
add esp, 4
mov dword [ebp - 0x74], edx
xorps xmm0, xmm0
movq qword [edx], xmm0
lea ecx, [edx + 0xc]
mov dword [edx + 8], 0
mov dword [edx + 4], 1
mov dword [edx + 8], 1
mov dword [edx], vtable.std::_Ref_count_obj2_class_WTL::CFontT_1__.0
call fcn.00446a90
mov dword [ebp - 0x80], ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x7c], edx
push ecx
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.00444640
mov edi, dword [ebp - 0x7c]
test edi, edi
je 0x50e4d5
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x50e4d5
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x50e4d5
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
mov esi, dword [edi]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi], eax
mov eax, dword [edi]
mov esi, dword [ebp - 0x78]
push 1
push dword [eax]
push 0x30
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x50e600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a287d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x20], vtable.IToastNotificationPluginCB.0
mov dword [ebx], vtable.CACToastNotification.1.0
mov dword [ebx + 0x20], vtable.CACToastNotification.0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x38]
mov dword [ebx + 0x34], 7
mov byte [ebp - 4], 3
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00446660
add esp, 4
mov dword [ebp - 0x10], edi
mov esi, eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0046e750
mov dword [edi], esi
mov dword [esi], edi
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov byte [ebp - 4], 5
mov ecx, ebx
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
call fcn.0050c2c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50f680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a298d
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x428]
mov dword [ebp - 0x460], 0
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
push 0
push eax
movlpd qword [ebp - 0x450], xmm0
call fcn.004c76f0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x444]
add esp, 0xc
mov dword [ebp - 0x464], eax
push ecx
push 0x11
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x50f70e
mov eax, 0xcf
mov ecx, str.Failed_to_get_desktop_location
jmp 0x50f724
mov eax, dword [ebp - 0x444]
mov ecx, str.Successfully_obtained_folder_ppidl
mov dword [ebp - 0x460], eax
mov eax, 0xd4
push ecx
push 0x45
push eax
push str.C:drone_srcGUIWindowsAMPExclusionsTab.cpp
push str.CAMPExclusionsTab::OnBnClickedAmpExclTabBrowseBtn
call fcn.00573940
add esp, 0x14
mov dword [ebp - 0x454], 0x4240
lea ecx, [ebp - 0x440]
call fcn.005734f0
push 0x672968
mov dword [ebp - 4], 0
call fcn.00443fb0
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
test ebx, ebx
je 0x50f7f4
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004c76f0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x50f7cf
mov eax, dword [edi + 0xf4]
lea ecx, [ebp - 0x220]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x5c3794]
lea ecx, [edi + 0xf4]
call esi
jmp 0x50f7ed
push str.No_selection
push 0x45
push 0xf1
push str.C:drone_srcGUIWindowsAMPExclusionsTab.cpp
push str.CAMPExclusionsTab::OnBnClickedAmpExclTabBrowseBtn
call fcn.00573940
add esp, 0x14
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x440]
call fcn.005734b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10