joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f570
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6c38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4d9180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x10], esi
call fcn.00431300
add esp, 4
push 0x15
push str.duplicate_file_clean
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040bc40
push eax
mov ecx, esi
call fcn.00409c50
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42f5fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f5f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f622
push edx
push ecx
call fcn.00439e3a
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42f605
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00478c79
int3
Function at 0x42f970
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x4bc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x3e8
push 0
push eax
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x4c0], ebx
call fcn.00475800
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00475800
add esp, 0x18
test esi, esi
je 0x42fa70
test ebx, ebx
je 0x42fa70
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42fa70
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x42fa70
xor ecx, ecx
movzx edx, ax
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x42fa5b
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c4]
call fcn.0047d7be
add esp, 0xc
test eax, eax
je 0x42fa83
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x42fa01
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x42fad9
cmp edi, 0x7fffffff
ja 0x42fad0
mov ecx, ebx
mov esi, 0x7ffffffe
lea ebx, [ebp - 0xc]
sub esi, edi
mov edx, edi
sub ebx, ecx
nop
lea eax, [esi + edx]
test eax, eax
je 0x42fabb
movzx eax, word [ebx + ecx]
test ax, ax
je 0x42fabb
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42faa0
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x42fad9
test edi, edi
je 0x42fad9
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x42fae7
cmp edi, 0x7fffffff
jbe 0x42faec
mov ecx, 0x80070057
test ecx, ecx
js 0x42fb1e
mov esi, edi
mov eax, ebx
test edi, edi
je 0x42fb06
cmp word [eax], 0
je 0x42fb06
add eax, 2
sub esi, 1
jne 0x42faf8
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x42fb20
xor esi, esi
test ecx, ecx
js 0x42fb76
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x42fb69
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
mov eax, dword [ebp - 0x4c8]
add eax, eax
sub eax, ecx
add edi, eax
nop word [eax + eax]
test esi, esi
je 0x42fb69
movzx eax, word [edi + ecx]
test ax, ax
je 0x42fb69
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x42fb50
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x42fea0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa3f3
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4d9180]
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 0x4df1a0
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.0043a2e6
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x42ffb9
push dword [ebp - 0x2c]
push ebx
push eax
call fcn.00475800
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 0x42ffa0
mov edi, eax
cmp word [eax], bx
je 0x42ff9d
cmp ebx, esi
je 0x42ff6a
mov ax, word [edi]
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x18], esi
jmp 0x42ff7a
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0042ea70
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 0x42ff80
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x42ff58
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push eax
call fcn.00439e51
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi], ecx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
jmp 0x430087
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430073
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.004083d0
push 3
push 0x4b17c0
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.004083d0
mov byte [ebp - 4], 2
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x85
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00405850
mov esi, eax
push str.new_fail
push esi
mov byte [ebp - 4], 3
call fcn.00406750
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00406960
lea ecx, [ebp - 0x44]
call fcn.004061f0
lea ecx, [ebp - 0x5c]
call fcn.004061f0
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.0040fae0
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.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x4300d0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d9180]
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 0x4300f9
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.0x43010d
jmp dword [eax*4 + 0x4302f4]
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.00437ba0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x43016f
mov ecx, esi
call fcn.004061f0
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.004061f0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x4302d1
cmp dword [0x4d9114], 0
je 0x430286
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b3208
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43027c
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 0x430272
cmp ax, 6
je 0x430272
cmp ax, 0xc
je 0x430272
push str.IsWow64Process2
push 0x4b4098
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 0x430269
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 0x430269
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4dee74], eax
jmp 0x43027c
xor eax, eax
mov dword [0x4dee74], eax
jmp 0x43027c
mov dword [0x4dee74], 1
mov dword [0x4d9114], 0
cmp dword [0x4dee74], 0
lea eax, [ebp - 0x20c]
je 0x430192
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x43010d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
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.0x43010d
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x430114
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d9180]
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 0x4300f9
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.0x43010d
jmp dword [eax*4 + 0x4302f4]
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.00437ba0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x43016f
mov ecx, esi
call fcn.004061f0
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.004061f0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x4302d1
cmp dword [0x4d9114], 0
je 0x430286
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b3208
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43027c
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 0x430272
cmp ax, 6
je 0x430272
cmp ax, 0xc
je 0x430272
push str.IsWow64Process2
push 0x4b4098
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 0x430269
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 0x430269
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4dee74], eax
jmp 0x43027c
xor eax, eax
mov dword [0x4dee74], eax
jmp 0x43027c
mov dword [0x4dee74], 1
mov dword [0x4d9114], 0
cmp dword [0x4dee74], 0
lea eax, [ebp - 0x20c]
je 0x430192
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x43010d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
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.0x43010d
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x43018c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d9180]
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 0x4300f9
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.0x43010d
jmp dword [eax*4 + 0x4302f4]
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.00437ba0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x43016f
mov ecx, esi
call fcn.004061f0
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.004061f0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x4302d1
cmp dword [0x4d9114], 0
je 0x430286
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b3208
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43027c
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 0x430272
cmp ax, 6
je 0x430272
cmp ax, 0xc
je 0x430272
push str.IsWow64Process2
push 0x4b4098
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 0x430269
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 0x430269
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4dee74], eax
jmp 0x43027c
xor eax, eax
mov dword [0x4dee74], eax
jmp 0x43027c
mov dword [0x4dee74], 1
mov dword [0x4d9114], 0
cmp dword [0x4dee74], 0
lea eax, [ebp - 0x20c]
je 0x430192
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x43010d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
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.0x43010d
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x43019e
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d9180]
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 0x4300f9
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.0x43010d
jmp dword [eax*4 + 0x4302f4]
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.00437ba0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x43016f
mov ecx, esi
call fcn.004061f0
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.004061f0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x4302d1
cmp dword [0x4d9114], 0
je 0x430286
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b3208
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43027c
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 0x430272
cmp ax, 6
je 0x430272
cmp ax, 0xc
je 0x430272
push str.IsWow64Process2
push 0x4b4098
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 0x430269
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 0x430269
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4dee74], eax
jmp 0x43027c
xor eax, eax
mov dword [0x4dee74], eax
jmp 0x43027c
mov dword [0x4dee74], 1
mov dword [0x4d9114], 0
cmp dword [0x4dee74], 0
lea eax, [ebp - 0x20c]
je 0x430192
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x43010d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
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.0x43010d
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x4302c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d9180]
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 0x4300f9
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.0x43010d
jmp dword [eax*4 + 0x4302f4]
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.00437ba0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x43016f
mov ecx, esi
call fcn.004061f0
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.004061f0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x4302d1
cmp dword [0x4d9114], 0
je 0x430286
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b3208
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43027c
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 0x430272
cmp ax, 6
je 0x430272
cmp ax, 0xc
je 0x430272
push str.IsWow64Process2
push 0x4b4098
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 0x430269
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 0x430269
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4dee74], eax
jmp 0x43027c
xor eax, eax
mov dword [0x4dee74], eax
jmp 0x43027c
mov dword [0x4dee74], 1
mov dword [0x4d9114], 0
cmp dword [0x4dee74], 0
lea eax, [ebp - 0x20c]
je 0x430192
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x43010d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a0f2
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.0x43010d
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret
Function at 0x4305d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d9180]
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.00475800
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4b41a8
push 0x104
push eax
call fcn.0042f0b0
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 0x4307bd
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.00439e48
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4307b5
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.00475800
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.0x430706.8
movzx eax, byte [eax + 0x4307e4]
jmp dword [eax*4 + 0x4307d0]
mov esi, 1
jmp 0x4307ac
mov esi, 3
jmp 0x4307ac
mov esi, 4
jmp 0x4307ac
mov esi, 5
jmp 0x4307ac
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 0x4307ac
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.00439e51
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.0043a0f2
mov esp, ebp
pop ebp
ret