joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437b5e
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e9154]
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 0x437ab9
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.0x437acd
jmp dword [eax*4 + 0x437cb4]
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.00440190
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x437b2f
mov ecx, esi
call fcn.00405a20
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.00405a20
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e83b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437c91
cmp dword [0x4e90ec], 0
je 0x437c46
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4c1658
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437c3c
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 0x437c32
cmp ax, 6
je 0x437c32
cmp ax, 0xc
je 0x437c32
push str.IsWow64Process2
push 0x4c1690
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 0x437c29
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 0x437c29
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ef5ac], eax
jmp 0x437c3c
xor eax, eax
mov dword [0x4ef5ac], eax
jmp 0x437c3c
mov dword [0x4ef5ac], 1
mov dword [0x4e90ec], 0
cmp dword [0x4ef5ac], 0
lea eax, [ebp - 0x20c]
je 0x437b52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x437acd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e83b
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.0x437acd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043e83b
mov esp, ebp
pop ebp
ret
Function at 0x437c84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e9154]
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 0x437ab9
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.0x437acd
jmp dword [eax*4 + 0x437cb4]
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.00440190
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x437b2f
mov ecx, esi
call fcn.00405a20
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.00405a20
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e83b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
jmp 0x437c91
cmp dword [0x4e90ec], 0
je 0x437c46
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4c1658
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437c3c
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 0x437c32
cmp ax, 6
je 0x437c32
cmp ax, 0xc
je 0x437c32
push str.IsWow64Process2
push 0x4c1690
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 0x437c29
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 0x437c29
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x210], cx
sete al
mov dword [0x4ef5ac], eax
jmp 0x437c3c
xor eax, eax
mov dword [0x4ef5ac], eax
jmp 0x437c3c
mov dword [0x4ef5ac], 1
mov dword [0x4e90ec], 0
cmp dword [0x4ef5ac], 0
lea eax, [ebp - 0x20c]
je 0x437b52
push 0x104
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne case.default.0x437acd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e83b
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.0x437acd
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043e83b
mov esp, ebp
pop ebp
ret
Function at 0x437fa0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e9154]
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.00481c80
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4c2a24
push 0x104
push eax
call fcn.00436eb0
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 0x43818d
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.0043ec1a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x438185
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.00481c80
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.0x4380d6.8
movzx eax, byte [eax + 0x4381b4]
jmp dword [eax*4 + 0x4381a0]
mov esi, 1
jmp 0x43817c
mov esi, 3
jmp 0x43817c
mov esi, 4
jmp 0x43817c
mov esi, 5
jmp 0x43817c
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 0x43817c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.0043e836
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.0043e83b
mov esp, ebp
pop ebp
ret
Function at 0x438102
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e9154]
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.00481c80
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4c2a24
push 0x104
push eax
call fcn.00436eb0
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 0x43818d
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.0043ec1a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x438185
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.00481c80
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.0x4380d6.8
movzx eax, byte [eax + 0x4381b4]
jmp dword [eax*4 + 0x4381a0]
mov esi, 1
jmp 0x43817c
mov esi, 3
jmp 0x43817c
mov esi, 4
jmp 0x43817c
mov esi, 5
jmp 0x43817c
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 0x43817c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.0043e836
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.0043e83b
mov esp, ebp
pop ebp
ret

Function at 0x438620
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e9154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00481c80
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 0x438698
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x438691
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x438676
jmp 0x438697
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.0043e83b
mov esp, ebp
pop ebp
ret
Function at 0x4386c0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0043e850
mov eax, dword [0x4e9154]
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 0x438830
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jb 0x438830
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x438725
push ebx
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x438830
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00481c80
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 0x4387e8
push 0x800
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00481c80
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.00482392
add esp, 0x14
test eax, eax
je 0x4387a5
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 0x4387a5
lea ecx, [ebx + 1]
jmp 0x4387a7
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.00489aac
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.0043e83b
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 0x438816
push edi
push dword [ebp - 0x1008]
lea eax, [ebp - 0x804]
push eax
call fcn.004375a0
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.0043e83b
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.0043e83b
mov esp, ebp
pop ebp
ret

Function at 0x438860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [esi + 0x10], 0
je 0x43888b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43887a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43888b
pop esi
mov al, bl
pop ebx
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x438893
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x406
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0x4388b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4e9154]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c2924]
movq xmm0, qword [str._:]
push esi
mov dword [ebp - 0x204], eax
xor esi, esi
mov ax, word [0x4c2928]
push 0x1fa
mov word [ebp - 0x200], ax
lea eax, [ebp - 0x1fe]
push esi
push eax
movq qword [ebp - 0x20c], xmm0
call fcn.00481c80
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 0x438935
cmp cl, 0x5a
jle 0x43893c
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x4389b4
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 0x4389b1
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 0x4389b6
xor esi, esi
mov ecx, dword [ebp - 4]
cmp esi, 7
pop esi
sete al
xor ecx, ebp
call fcn.0043e83b
mov esp, ebp
pop ebp
ret
Function at 0x438b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b78eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4e9154]
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 0x438c70
call fcn.004417a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x438c70
push 0x8b
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_clean_clientduplicate_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.004070c0
push 3
push 0x4bfab8
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.004070c0
mov byte [ebp - 4], 1
call fcn.004417a0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x28b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408fc0
mov esi, eax
push str._error__read_file_failed
push esi
mov byte [ebp - 4], 2
call fcn.00409510
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00409720
lea ecx, [ebp - 0x2c]
call fcn.00405a20
lea ecx, [ebp - 0x44]
call fcn.00405a20
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.0043e83b
mov esp, ebp
pop ebp
ret

Function at 0x438f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4e9154]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00481c80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ecx, esi
cmp eax, 0x102
ja 0x438f9d
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x20c]
push 2
push eax
jmp 0x438fa8
xor eax, eax
push eax
mov word [esi], ax
push 0x4bf8c8
call fcn.004071c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043e83b
mov esp, ebp
pop ebp
ret
Function at 0x4394e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0xc
mov ecx, dword [ebp + 0x18]
and eax, 0x1f
mov dword [ebp + 0x14], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp eax, 8
jb 0x4395a1
shr eax, 3
mov dword [ebp - 4], eax
nop dword [eax]
cmp ecx, 1
jne 0x439526
movq xmm0, qword [esi]
movq qword [ebp - 0xc], xmm0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x43952b
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0xc2b2ae3d
push 0x27d4eb4f
push ecx
push eax
call fcn.0043eed0
mov ecx, eax
add esi, 8
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0043eed0
mov ecx, eax
xor edx, ebx
xor ecx, edi
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0043eed0
mov ecx, dword [ebp + 0x18]
mov edi, eax
mov eax, dword [ebp + 0x14]
add edi, 0xc2b2ae63
mov ebx, edx
adc ebx, 0x85ebca77
sub eax, 8
sub dword [ebp - 4], 1
mov dword [ebp + 0x14], eax
jne 0x439510
mov dword [ebp + 0x10], edi
cmp eax, 4
jb 0x4395fc
cmp ecx, 1
mov eax, 0x9e3779b1
mov ecx, dword [esi]
add esi, 4
mul ecx
push 0xc2b2ae3d
mov edi, eax
mov eax, 0x85ebca87
mul ecx
push 0x27d4eb4f
xor eax, dword [ebp + 0x10]
add edi, edx
xor edi, ebx
mov ecx, eax
shld ecx, edi, 0x17
shld edi, eax, 0x17
push edi
push ecx
call fcn.0043eed0
mov edi, eax
mov ebx, edx
mov eax, dword [ebp + 0x14]
add edi, 0x9e3779f9
adc ebx, 0x165667b1
sub eax, 4
mov dword [ebp + 0x14], eax
test eax, eax
je 0x439641
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0043eed0
xor edi, eax
lea esi, [esi + 1]
xor ebx, edx
mov eax, edi
push 0x9e3779b1
shld eax, ebx, 0xb
push 0x85ebca87
shld ebx, edi, 0xb
push ebx
push eax
call fcn.0043eed0
sub dword [ebp + 0x14], 1
mov edi, eax
mov ebx, edx
jne 0x439600
push 0xc2b2ae3d
xor ecx, ecx
mov esi, ebx
push 0x27d4eb4f
xor ecx, ebx
shr esi, 1
push ecx
xor esi, edi
push esi
call fcn.0043eed0
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.0043eed0
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4407c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7c9a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e9154]
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], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.0041e7f0
mov ecx, eax
test ecx, ecx
je 0x440984
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.0041e7f0
mov ecx, eax
test ecx, ecx
je 0x44098e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0041e7f0
mov ecx, eax
test ecx, ecx
je 0x440998
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x4408a2
xor ecx, ecx
jmp 0x4408c0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4408b0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00429e00
push edi
mov ecx, ebx
call fcn.00428a70
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4408dc
xor ecx, ecx
jmp 0x4408f4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4408e4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00429e00
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.00441330
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00428a70
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440935
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x44096e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x44096e
cmp dword [esi + 0x10], 0
je 0x440965
push dword [edi]
call fcn.00491537
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00428cc0
push 0x80004005
call fcn.00428cc0
push 0x80004005
call fcn.00428cc0
int3