joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436c60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4423
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4e4150]
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
movq qword [ebp - 0x1c], xmm0
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov edx, 2
mul edx
push 0x4ea610
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.004416d6
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x436d79
push dword [ebp - 0x2c]
push ebx
push eax
call fcn.0047e850
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
mov eax, dword [ebp - 0x20]
je 0x436d60
mov edi, eax
cmp word [eax], bx
je 0x436d5d
cmp ebx, esi
je 0x436d2a
mov ax, word [edi]
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x18], esi
jmp 0x436d3a
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.004353e0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436d40
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x436d18
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push eax
call fcn.00441241
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi], ecx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
jmp 0x436e47
call fcn.00440230
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x436e33
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
call fcn.004087e0
push 3
push 0x4bb7c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004087e0
mov byte [ebp - 4], 2
call fcn.00440230
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x8c
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00405c60
mov esi, eax
push str.new_fail
push esi
mov byte [ebp - 4], 3
call fcn.00406b60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00406d70
lea ecx, [ebp - 0x44]
call fcn.00406600
lea ecx, [ebp - 0x5c]
call fcn.00406600
mov edi, dword [ebp - 0x24]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00410c70
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.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x436e90
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x436eb9
mov eax, dword [esi]
mov byte [eax], 0
xor eax, eax
mov word [ebp - 0x20c], ax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x436ecd
jmp dword [eax*4 + 0x4370b4]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0043eda0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x436f2f
mov ecx, esi
call fcn.00406600
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x22c]
call fcn.00406600
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437091
cmp dword [0x4e40e4], 0
je 0x437046
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4bd3c0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43703c
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x238]
push ecx
movups xmmword [ebp - 0x238], xmm0
movups xmmword [ebp - 0x228], xmm0
call eax
mov ax, word [ebp - 0x238]
cmp ax, 9
je 0x437032
cmp ax, 6
je 0x437032
cmp ax, 0xc
je 0x437032
push str.IsWow64Process2
push 0x4be690
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x437029
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x437029
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ea2dc], eax
jmp 0x43703c
xor eax, eax
mov dword [0x4ea2dc], eax
jmp 0x43703c
mov dword [0x4ea2dc], 1
mov dword [0x4e40e4], 0
cmp dword [0x4ea2dc], 0
lea eax, [ebp - 0x20c]
je 0x436f52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x436ecd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns case.default.0x436ecd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x436ed4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x436eb9
mov eax, dword [esi]
mov byte [eax], 0
xor eax, eax
mov word [ebp - 0x20c], ax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x436ecd
jmp dword [eax*4 + 0x4370b4]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0043eda0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x436f2f
mov ecx, esi
call fcn.00406600
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x22c]
call fcn.00406600
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437091
cmp dword [0x4e40e4], 0
je 0x437046
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4bd3c0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43703c
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x238]
push ecx
movups xmmword [ebp - 0x238], xmm0
movups xmmword [ebp - 0x228], xmm0
call eax
mov ax, word [ebp - 0x238]
cmp ax, 9
je 0x437032
cmp ax, 6
je 0x437032
cmp ax, 0xc
je 0x437032
push str.IsWow64Process2
push 0x4be690
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x437029
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x437029
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ea2dc], eax
jmp 0x43703c
xor eax, eax
mov dword [0x4ea2dc], eax
jmp 0x43703c
mov dword [0x4ea2dc], 1
mov dword [0x4e40e4], 0
cmp dword [0x4ea2dc], 0
lea eax, [ebp - 0x20c]
je 0x436f52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x436ecd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns case.default.0x436ecd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x436f4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x436eb9
mov eax, dword [esi]
mov byte [eax], 0
xor eax, eax
mov word [ebp - 0x20c], ax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x436ecd
jmp dword [eax*4 + 0x4370b4]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0043eda0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x436f2f
mov ecx, esi
call fcn.00406600
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x22c]
call fcn.00406600
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437091
cmp dword [0x4e40e4], 0
je 0x437046
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4bd3c0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43703c
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x238]
push ecx
movups xmmword [ebp - 0x238], xmm0
movups xmmword [ebp - 0x228], xmm0
call eax
mov ax, word [ebp - 0x238]
cmp ax, 9
je 0x437032
cmp ax, 6
je 0x437032
cmp ax, 0xc
je 0x437032
push str.IsWow64Process2
push 0x4be690
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x437029
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x437029
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ea2dc], eax
jmp 0x43703c
xor eax, eax
mov dword [0x4ea2dc], eax
jmp 0x43703c
mov dword [0x4ea2dc], 1
mov dword [0x4e40e4], 0
cmp dword [0x4ea2dc], 0
lea eax, [ebp - 0x20c]
je 0x436f52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x436ecd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns case.default.0x436ecd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x436f5e
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x436eb9
mov eax, dword [esi]
mov byte [eax], 0
xor eax, eax
mov word [ebp - 0x20c], ax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x436ecd
jmp dword [eax*4 + 0x4370b4]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0043eda0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x436f2f
mov ecx, esi
call fcn.00406600
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x22c]
call fcn.00406600
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437091
cmp dword [0x4e40e4], 0
je 0x437046
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4bd3c0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43703c
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x238]
push ecx
movups xmmword [ebp - 0x238], xmm0
movups xmmword [ebp - 0x228], xmm0
call eax
mov ax, word [ebp - 0x238]
cmp ax, 9
je 0x437032
cmp ax, 6
je 0x437032
cmp ax, 0xc
je 0x437032
push str.IsWow64Process2
push 0x4be690
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x437029
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x437029
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ea2dc], eax
jmp 0x43703c
xor eax, eax
mov dword [0x4ea2dc], eax
jmp 0x43703c
mov dword [0x4ea2dc], 1
mov dword [0x4e40e4], 0
cmp dword [0x4ea2dc], 0
lea eax, [ebp - 0x20c]
je 0x436f52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x436ecd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns case.default.0x436ecd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x437084
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x436eb9
mov eax, dword [esi]
mov byte [eax], 0
xor eax, eax
mov word [ebp - 0x20c], ax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x436ecd
jmp dword [eax*4 + 0x4370b4]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0043eda0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x436f2f
mov ecx, esi
call fcn.00406600
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x22c]
call fcn.00406600
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437091
cmp dword [0x4e40e4], 0
je 0x437046
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4bd3c0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43703c
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x238]
push ecx
movups xmmword [ebp - 0x238], xmm0
movups xmmword [ebp - 0x228], xmm0
call eax
mov ax, word [ebp - 0x238]
cmp ax, 9
je 0x437032
cmp ax, 6
je 0x437032
cmp ax, 0xc
je 0x437032
push str.IsWow64Process2
push 0x4be690
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x437029
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x437029
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ea2dc], eax
jmp 0x43703c
xor eax, eax
mov dword [0x4ea2dc], eax
jmp 0x43703c
mov dword [0x4ea2dc], 1
mov dword [0x4e40e4], 0
cmp dword [0x4ea2dc], 0
lea eax, [ebp - 0x20c]
je 0x436f52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x436ecd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns case.default.0x436ecd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x437390
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x21c]
or esi, 0xffffffff
push 0
push eax
call fcn.0047e850
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4be7a0
push 0x104
push eax
call fcn.00435b90
add esp, 0x1c
lea eax, [ebp - 0x21c]
push 0
push 0
push 3
push 0
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x43757d
push ebx
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0
push eax
push 0x28
lea eax, [ebp - 0x260]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push 0x2d1400
push edi
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x250], xmm0
movq qword [ebp - 0x240], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x25c]
push eax
mov dword [ebp - 0x264], eax
call fcn.00441238
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x437575
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.0047e850
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push eax
push esi
push ebx
push 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebx + 0x1c]
add eax, 0xfffffff9
cmp eax, 0xb
ja case.0x4374c6.8
movzx eax, byte [eax + 0x4375a4]
jmp dword [eax*4 + 0x437590]
mov esi, 1
jmp 0x43756c
mov esi, 3
jmp 0x43756c
mov esi, 4
jmp 0x43756c
mov esi, 5
jmp 0x43756c
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x238]
mov dword [ebp - 0x22c], 7
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push edi
mov esi, 2
mov dword [ebp - 8], 0
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43756c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.00441241
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret
Function at 0x4374f2
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x21c]
or esi, 0xffffffff
push 0
push eax
call fcn.0047e850
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4be7a0
push 0x104
push eax
call fcn.00435b90
add esp, 0x1c
lea eax, [ebp - 0x21c]
push 0
push 0
push 3
push 0
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x43757d
push ebx
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0
push eax
push 0x28
lea eax, [ebp - 0x260]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push 0x2d1400
push edi
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x250], xmm0
movq qword [ebp - 0x240], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x25c]
push eax
mov dword [ebp - 0x264], eax
call fcn.00441238
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x437575
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.0047e850
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push eax
push esi
push ebx
push 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebx + 0x1c]
add eax, 0xfffffff9
cmp eax, 0xb
ja case.0x4374c6.8
movzx eax, byte [eax + 0x4375a4]
jmp dword [eax*4 + 0x437590]
mov esi, 1
jmp 0x43756c
mov esi, 3
jmp 0x43756c
mov esi, 4
jmp 0x43756c
mov esi, 5
jmp 0x43756c
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x238]
mov dword [ebp - 0x22c], 7
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push edi
mov esi, 2
mov dword [ebp - 8], 0
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43756c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.00441241
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004414e0
mov esp, ebp
pop ebp
ret

Function at 0x4379e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0047e850
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x437a58
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x437a51
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x437a36
jmp 0x437a57
mov ebx, dword [ebp - 0x218]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004414e0
mov esp, ebp
pop ebp
ret