joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5c7cec]
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, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov edi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
mov dword [ebp - 0x244], esi
mov byte [ebp - 0x23d], 0
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
push 0x2a
push str.SoftwareAdobeAcrobat_ReaderDCInstaller
call fcn.00408740
mov ebx, dword [0x5ccda4]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x41a009
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebx + 0x49]
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
test bl, bl
je 0x41a003
push 0x29
push str.SoftwareAdobeAdobe_AcrobatDCInstaller
lea ecx, [ebp - 0x238]
call fcn.00408740
mov esi, dword [ebp - 0x244]
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x23c]
push ecx
push 0x20019
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a0a3
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x20a
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push str.Path
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a097
cmp word [ebp - 0x21c], ax
je 0x41a097
test edi, edi
je 0x41a090
cmp word [edi], ax
je 0x41a090
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x41a097
mov byte [ebp - 0x23d], 1
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x23d], 0
lea edx, [ebp - 0x21c]
mov eax, 0x569908
mov dword [esi + 0x10], 0
cmove edx, eax
mov dword [esi + 0x14], 7
mov ecx, edx
xor eax, eax
mov word [esi], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00408740
lea ecx, [ebp - 0x238]
call fcn.00408e50
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 - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x4285b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556e30
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5c7cec]
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, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x42878b
mov edi, dword [esi + 0x14]
mov edx, esi
cmp edi, 8
jb 0x4285fb
mov edx, dword [esi]
test ecx, ecx
je 0x42878b
mov eax, edx
cmp word [eax], 0x25
je 0x428618
add eax, 2
sub ecx, 1
jne 0x428605
jmp 0x42878b
test eax, eax
je 0x42878b
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x42878b
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
cmp edi, 8
jb 0x428651
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
je 0x428783
lea eax, [ebp - 0x29]
mov dword [ebp - 0x34], 0
push eax
xorps xmm0, xmm0
lea edi, [ebx + 1]
push edi
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.00446a20
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 1
jb 0x428693
mov eax, dword [esi]
push edi
mov edi, dword [ebp - 0x3c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x42874f
cmp eax, ebx
ja 0x42874f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4286b4
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00408740
mov byte [ebp - 4], 3
test edi, edi
je 0x428705
mov ecx, dword [ebp - 0x34]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4286fb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4287a9
push ecx
push edi
call fcn.004097e6
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x42870d
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jne 0x428743
test ecx, ecx
je 0x428783
sub edx, esi
nop dword [eax + eax]
mov ax, word [esi + edx]
cmp ax, word [esi]
jne 0x428743
add esi, 2
sub ecx, 1
jne 0x428730
jmp 0x428783
lea ecx, [ebp - 0x28]
call fcn.00408e50
mov al, 1
jmp 0x42878d
mov byte [ebp - 4], 2
test edi, edi
je 0x428783
mov ecx, dword [ebp - 0x34]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x428779
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4287a9
push ecx
push edi
call fcn.004097e6
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00408e50
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 - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
int3
Function at 0x42a300
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov byte [eax], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42a32d
mov eax, dword [esi]
push 8
push str.__UNC_
push eax
call fcn.004263eb
add esp, 0xc
test eax, eax
je 0x42a563
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42a34f
mov eax, dword [esi]
push 2
push 0x56b950
push eax
call fcn.004263eb
add esp, 0xc
test eax, eax
jne 0x42a37e
cmp dword [esi + 0x10], 3
jbe 0x42a37e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42a373
mov eax, dword [esi]
cmp word [eax + 4], 0x3f
jne 0x42a563
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42a388
mov eax, dword [esi]
push 8
push str._UNC_
push eax
call fcn.004263eb
add esp, 0xc
test eax, eax
je 0x42a563
push ebx
push edi
push 0
push 0x3a
mov ecx, esi
call fcn.004278a0
test eax, eax
je 0x42a527
cmp eax, 0xffffffff
je 0x42a527
cmp eax, 1
jbe 0x42a3d9
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x42a3cd
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 4], 0x5c
jne 0x42a527
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 8
jb 0x42a3e5
mov ecx, dword [esi]
lea ebx, [eax + eax]
movzx ecx, word [ebx + ecx - 2]
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x42a3fb
lea eax, [ecx - 0x61]
jmp 0x42a40b
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x42a527
lea eax, [ecx - 0x41]
lea eax, [eax*4 + 0x5ccdb8]
mov dword [ebp - 0x218], eax
mov eax, dword [eax]
cmp eax, 1
je 0x42a547
cmp eax, 2
je 0x42a527
push 0x208
lea eax, [ebp - 0x214]
xorps xmm0, xmm0
push 0
push eax
movq qword [ebp - 0xc], xmm0
call fcn.005290f0
add esp, 0xc
cmp edi, 8
jb 0x42a451
mov esi, dword [esi]
push 4
lea eax, [ebx - 2]
add eax, esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.0042a5a0
add esp, 0x10
test eax, eax
jne 0x42a527
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x42a527
cmp eax, 0x104
je 0x42a527
mov dword [ebp - 0x234], str.DeviceMup_
xor esi, esi
mov dword [ebp - 0x230], str.DeviceLanmanRedirector_
mov dword [ebp - 0x22c], str.DeviceWebDavRedirector_
mov dword [ebp - 0x228], str.DeviceWinDfs_
mov dword [ebp - 0x224], str.DeviceNetWareRedirector_
mov dword [ebp - 0x220], str.Device_nwrdr_
nop word [eax + eax]
mov edx, dword [ebp + esi*4 - 0x234]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a4f0
sub ecx, edi
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push edx
push eax
call fcn.004263eb
add esp, 0xc
test eax, eax
je 0x42a53a
inc esi
cmp esi, 6
jb 0x42a4e0
mov ecx, dword [ebp - 0x218]
mov eax, 2
xchg dword [ecx], eax
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x218]
mov eax, 1
xchg dword [ecx], eax
mov eax, dword [ebp - 0x21c]
pop edi
pop ebx
pop esi
mov byte [eax], 1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x42fee0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
xor al, al
test edi, edi
je 0x42ff5c
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42ff5b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ff3e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x497df0
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
test eax, eax
jne 0x42ff44
pop ebx
mov al, 1
pop edi
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
pop ebx
pop edi
pop ebp
ret
Function at 0x435810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55784e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea edi, [ecx + 4]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp + 8]
lea esi, [ecx + 0x14]
mov dword [ecx], vtable.acrobat_broker::SandboxPreviewDispatcher.0
mov dword [ecx + 0x10], eax
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00432d00
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x58], 0
add esi, 0x5c
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00435a30
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x435914
movups xmm0, xmmword [0x596468]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x596478]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x596488]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x596498]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x5964a8]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x5964b0]
mov dword [ecx + 0x48], eax
add dword [edi + 4], 0x4c
jmp 0x435921
push 0x596468
push ecx
mov ecx, edi
call fcn.004192e0
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x43596f
movups xmm0, xmmword [0x5964b8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x5964c8]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x5964d8]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x5964e8]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x5964f8]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x596500]
mov dword [ecx + 0x48], eax
add dword [edi + 4], 0x4c
jmp 0x43597c
push 0x5964b8
push ecx
mov ecx, edi
call fcn.004192e0
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x4359ca
movups xmm0, xmmword [0x596508]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x596518]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x596528]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x596538]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x596548]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x596550]
mov dword [ecx + 0x48], eax
add dword [edi + 4], 0x4c
jmp 0x4359d7
push 0x596508
push ecx
mov ecx, edi
call fcn.004192e0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
push eax
push 0
push esi
push 0x4507f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x435a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557883
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [esi], vtable.acrobat_broker::SandboxDDEDispatcher.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
cmp dword [0x5ccda4], 0
mov byte [ebp - 4], 1
je 0x435bf1
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esi + 8]
cmp dword [esi + 0xc], ecx
je 0x435b30
movups xmm0, xmmword [0x58b840]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x58b850]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x58b860]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x58b870]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x58b880]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x58b888]
mov dword [ecx + 0x48], eax
add dword [esi + 8], 0x4c
jmp 0x435b3e
push 0x58b840
push ecx
lea ecx, [esi + 4]
call fcn.004192e0
mov ecx, dword [esi + 8]
cmp dword [esi + 0xc], ecx
je 0x435b8c
movups xmm0, xmmword [0x58b890]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x58b8a0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x58b8b0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x58b8c0]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x58b8d0]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x58b8d8]
mov dword [ecx + 0x48], eax
add dword [esi + 8], 0x4c
jmp 0x435b9a
push 0x58b890
push ecx
lea ecx, [esi + 4]
call fcn.004192e0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x448c60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00435c10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1c]
call fcn.0048a000
push 0x5b6878
lea eax, [ebp - 0x1c]
push eax
call fcn.005281d5
int3
Function at 0x43a1eb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00540b60
Function at 0x43c5b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43c649
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x43c649
cmp byte [ebp + 0xc], 0
je 0x43c60e
push 0x58ac30
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.0043d120
test eax, eax
js 0x43c649
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c630
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
jmp 0x43c662
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x569908
mov ecx, esi
call fcn.00408740
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x43c9b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5580e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5c7cec]
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 + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
test esi, esi
je 0x43ca5f
cmp word [esi], 0
je 0x43ca5f
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
je 0x43ca57
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x1e]
push eax
push ecx
push ebx
call fcn.0043cb00
push ebx
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [ebx - 1]
cmp ecx, eax
je 0x43ca57
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x43ca5f
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jne 0x43ca64
mov edx, 0x569908
mov ecx, edx
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ca80
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408740
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], 1
test edx, edx
je 0x43cad2
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x43cac8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43caf0
push ecx
push edx
call fcn.004097e6
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
int3
Function at 0x43d000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
jne 0x43d034
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
push ebx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x43d041
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x43d060
cmp eax, 0x50
je 0x43d060
cmp eax, 0xb7
jne 0x43d0fd
cmp dword [esi + 0x14], 8
jb 0x43d068
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
mov edx, 0x105
mov eax, ecx
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x43d09e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43d09e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x43d080
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x43d0fd
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x43d0fd
push 0x58ac30
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.0043d120
test eax, eax
js 0x43d0fd
mov edi, dword [edi]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5677a4]
mov ecx, edi
call esi
test eax, eax
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4

Function at 0x43d270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0x20a
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43d311
cmp word [ebp - 0x210], 0
je 0x43d311
test esi, esi
je 0x43d2de
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x43d311
cmp byte [ebp + 0x14], 0
je 0x43d30f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x43d311
push 0x58ac30
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.0043d120
test eax, eax
js 0x43d311
mov bl, 1
test bl, bl
mov dword [edi + 0x10], 0
mov eax, 0x569908
mov dword [edi + 0x14], 7
lea edx, [ebp - 0x210]
cmove edx, eax
xor eax, eax
mov ecx, edx
mov word [edi], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d340
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408740
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret
Function at 0x445410
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0x1c], edi
jne 0x44544a
pop edi
mov eax, 0x3f0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 2
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x445483
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
push esi
push eax
call fcn.0042c075
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
push eax
push dword [ebp - 8]
push esi
push 2
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4454cb
push esi
call fcn.0041e6ef
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [esi], ebx
jbe 0x4455d1
mov eax, dword [ebp - 0x10]
add esi, 4
nop
test dword [esi + 4], 0xc0000020
jne 0x4455bf
xor al, al
mov byte [ebp - 9], al
test edi, edi
je 0x445564
mov ebx, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, 0x78787879
mov ecx, dword [edi + 4]
sub ecx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x44555e
xor edi, edi
nop word [eax + eax]
push dword [esi]
lea ecx, [edi + ebx]
call fcn.004084b0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4455a8
mov eax, dword [ebp - 0x1c]
add edi, 0x44
inc dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x445520
mov edi, dword [ebp - 0x1c]
mov al, byte [ebp - 9]
mov ebx, dword [ebp - 0x14]
test al, al
jne 0x4455bc
push dword [esi]
lea ecx, [ebp - 0x64]
call fcn.004108d0
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1c]
cmp dword [edx + 0x20], ecx
je 0x4455af
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x40], eax
add dword [edx + 0x1c], 0x44
jmp 0x4455bc
mov edi, dword [ebp - 0x1c]
mov al, 1
jmp 0x445561
lea eax, [ebp - 0x64]
push eax
push ecx
lea ecx, [edx + 0x18]
call fcn.00445060
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 8
mov dword [ebp - 0x14], ebx
cmp ebx, dword [eax]
jb 0x4454e0
mov esi, dword [ebp - 0x10]
push esi
call fcn.0041e6ef
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
pop edi
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4