joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4339e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e0150]
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 0x4339c9
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.0x4339dd
jmp dword [eax*4 + 0x433bc4]
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.0043b470
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x433a3f
mov ecx, esi
call fcn.004063d0
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.004063d0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x433ba1
cmp dword [0x4e00e4], 0
je 0x433b56
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b92d0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433b4c
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 0x433b42
cmp ax, 6
je 0x433b42
cmp ax, 0xc
je 0x433b42
push str.IsWow64Process2
push 0x4ba3c4
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 0x433b39
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 0x433b39
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4e6004], eax
jmp 0x433b4c
xor eax, eax
mov dword [0x4e6004], eax
jmp 0x433b4c
mov dword [0x4e6004], 1
mov dword [0x4e00e4], 0
cmp dword [0x4e6004], 0
lea eax, [ebp - 0x20c]
je 0x433a62
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x4339dd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
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.0x4339dd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x433a5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e0150]
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 0x4339c9
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.0x4339dd
jmp dword [eax*4 + 0x433bc4]
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.0043b470
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x433a3f
mov ecx, esi
call fcn.004063d0
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.004063d0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x433ba1
cmp dword [0x4e00e4], 0
je 0x433b56
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b92d0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433b4c
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 0x433b42
cmp ax, 6
je 0x433b42
cmp ax, 0xc
je 0x433b42
push str.IsWow64Process2
push 0x4ba3c4
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 0x433b39
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 0x433b39
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4e6004], eax
jmp 0x433b4c
xor eax, eax
mov dword [0x4e6004], eax
jmp 0x433b4c
mov dword [0x4e6004], 1
mov dword [0x4e00e4], 0
cmp dword [0x4e6004], 0
lea eax, [ebp - 0x20c]
je 0x433a62
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x4339dd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
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.0x4339dd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x433a6e
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e0150]
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 0x4339c9
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.0x4339dd
jmp dword [eax*4 + 0x433bc4]
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.0043b470
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x433a3f
mov ecx, esi
call fcn.004063d0
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.004063d0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x433ba1
cmp dword [0x4e00e4], 0
je 0x433b56
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b92d0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433b4c
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 0x433b42
cmp ax, 6
je 0x433b42
cmp ax, 0xc
je 0x433b42
push str.IsWow64Process2
push 0x4ba3c4
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 0x433b39
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 0x433b39
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4e6004], eax
jmp 0x433b4c
xor eax, eax
mov dword [0x4e6004], eax
jmp 0x433b4c
mov dword [0x4e6004], 1
mov dword [0x4e00e4], 0
cmp dword [0x4e6004], 0
lea eax, [ebp - 0x20c]
je 0x433a62
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x4339dd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
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.0x4339dd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x433b94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e0150]
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 0x4339c9
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.0x4339dd
jmp dword [eax*4 + 0x433bc4]
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.0043b470
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x433a3f
mov ecx, esi
call fcn.004063d0
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.004063d0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x433ba1
cmp dword [0x4e00e4], 0
je 0x433b56
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b92d0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433b4c
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 0x433b42
cmp ax, 6
je 0x433b42
cmp ax, 0xc
je 0x433b42
push str.IsWow64Process2
push 0x4ba3c4
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 0x433b39
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 0x433b39
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4e6004], eax
jmp 0x433b4c
xor eax, eax
mov dword [0x4e6004], eax
jmp 0x433b4c
mov dword [0x4e6004], 1
mov dword [0x4e00e4], 0
cmp dword [0x4e6004], 0
lea eax, [ebp - 0x20c]
je 0x433a62
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x4339dd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
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.0x4339dd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x433ea0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e0150]
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.0047adc0
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4ba4d8
push 0x104
push eax
call fcn.00432980
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 0x43408d
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.0043d718
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x434085
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.0047adc0
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.0x433fd6.8
movzx eax, byte [eax + 0x4340b4]
jmp dword [eax*4 + 0x4340a0]
mov esi, 1
jmp 0x43407c
mov esi, 3
jmp 0x43407c
mov esi, 4
jmp 0x43407c
mov esi, 5
jmp 0x43407c
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 0x43407c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.0043d721
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.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x434002
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e0150]
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.0047adc0
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4ba4d8
push 0x104
push eax
call fcn.00432980
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 0x43408d
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.0043d718
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x434085
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.0047adc0
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.0x433fd6.8
movzx eax, byte [eax + 0x4340b4]
jmp dword [eax*4 + 0x4340a0]
mov esi, 1
jmp 0x43407c
mov esi, 3
jmp 0x43407c
mov esi, 4
jmp 0x43407c
mov esi, 5
jmp 0x43407c
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 0x43407c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.0043d721
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.0043d9c0
mov esp, ebp
pop ebp
ret

Function at 0x4344f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e0150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0047adc0
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 0x434568
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x434561
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434546
jmp 0x434567
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.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x434590
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0043d9e0
mov eax, dword [0x4e0150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1008], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x434700
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jb 0x434700
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4345f5
push ebx
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x434700
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0047adc0
add esp, 0xc
lea eax, [ebp - 0x804]
xor ebx, ebx
push 0x400
push eax
push ebx
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x4346b8
push 0x800
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0047adc0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.0047b4d2
add esp, 0x14
test eax, eax
je 0x434675
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x434675
lea ecx, [ebx + 1]
jmp 0x434677
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
push edi
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push dword [ebp - 0x1008]
call fcn.00482d73
add esp, 0x10
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x4346e6
push edi
push dword [ebp - 0x1008]
lea eax, [ebp - 0x804]
push eax
call fcn.00433240
add esp, 0xc
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
Function at 0x434730
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4e0150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4ba3f4]
movq xmm0, qword [str._:]
push esi
mov dword [ebp - 0x204], eax
xor esi, esi
mov ax, word [0x4ba3f8]
push 0x1fa
mov word [ebp - 0x200], ax
lea eax, [ebp - 0x1fe]
push esi
push eax
movq qword [ebp - 0x20c], xmm0
call fcn.0047adc0
mov cl, byte [ebp + 8]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
movq qword [ebp - 0x224], xmm0
movups xmmword [ebp - 0x244], xmm0
movups xmmword [ebp - 0x234], xmm0
cmp cl, 0x41
jl 0x4347b5
cmp cl, 0x5a
jle 0x4347bc
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x434834
push edi
push 0
push 0x80
push 3
movsx ax, cl
push 0
push 3
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x20c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x434831
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], esi
push eax
push 0x28
lea eax, [ebp - 0x244]
mov dword [ebp - 0x21c], esi
push eax
push 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push edi
cmovne esi, dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
jmp 0x434836
xor esi, esi
mov ecx, dword [ebp - 4]
cmp esi, 7
pop esi
sete al
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret

Function at 0x434850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac798
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4e0150]
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.00434bd0
add esp, 4
push 4
push str.log
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040c1a0
push eax
mov ecx, esi
call fcn.00409e30
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4348db
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4348d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434902
push edx
push ecx
call fcn.0043d70a
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4348e5
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.0047e239
int3
Function at 0x434aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b055b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4e0150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0
push edx
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434bad
call fcn.0043c710
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x434bad
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.004085b0
push 3
push 0x4b77c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004085b0
mov byte [ebp - 4], 1
call fcn.0043c710
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x291
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405a20
mov esi, eax
push str._error__read_file_failed
push esi
mov byte [ebp - 4], 2
call fcn.00406930
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406b40
lea ecx, [ebp - 0x2c]
call fcn.004063d0
lea ecx, [ebp - 0x44]
call fcn.004063d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret