joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011f2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4321d0]
test ecx, ecx
je 0x401218
call fcn.00403400
test al, al
jne 0x40123b
lea eax, [ebp - 0x20c]
push eax
call fcn.00402737
pop ecx
test eax, eax
je 0x40123f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40123f
mov al, 1
jmp 0x401241
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b168
leave
ret
Function at 0x401e12
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor edi, edi
push edi
push eax
call fcn.0040d070
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0040d070
add esp, 0x18
lea eax, [ebp - 0x20c]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x424610
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x401ebc
push esi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401ebc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 4
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0040b168
leave
ret

Function at 0x40214a
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.0040d070
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0040d070
push 1
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push edi
push ebx
call fcn.004027f1
add esp, 0x30
test eax, eax
je 0x402268
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0040d070
lea eax, [ebp - 0x414]
mov esi, 0x104
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00413334
push str..tmp
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004132bf
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
call fcn.004020ce
test esi, esi
je 0x402264
xor ecx, ecx
inc ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.004070fb
test al, al
jne 0x40223f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x402276
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40223b
mov eax, esi
jmp 0x402276
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x40223b
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret
Function at 0x40237f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x40c]
push eax
push dword [0x4321cc]
call fcn.0040270a
pop ecx
pop ecx
push 0x424654
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.004020ce
push 1
xor edi, edi
lea ecx, [ebp - 0x40c]
push edi
push edi
push edi
push 1
push ecx
mov ecx, eax
call fcn.004070fb
test al, al
je 0x402544
push esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x44c]
push edi
push eax
call fcn.0040d070
mov dword [ebp - 0x44c], esi
mov ecx, str.open
mov esi, dword [ebp + 0x14]
mov eax, str.runas
test esi, esi
mov dword [ebp - 0x448], 0x540
push 0x200
cmove eax, ecx
mov dword [ebp - 0x430], 4
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.0040d070
mov eax, dword [ebp + 8]
add esp, 0x18
sub eax, edi
je 0x4024a9
sub eax, 1
je 0x40247e
sub eax, 1
je 0x402477
sub eax, 1
jne 0x4024dc
push str._stop
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.00413334
add esp, 0xc
jmp 0x4024dc
push str._start
jmp 0x402461
mov ecx, 0x424b14
test esi, esi
mov eax, str._elevate
cmove eax, ecx
push eax
push str._uninstall
lea eax, [ebp - 0x204]
push str._s__s
push eax
call fcn.00401ba1
add esp, 0x10
jmp 0x4024dc
lea eax, [ebp - 0x204]
push str.Zoom
push str._product
test esi, esi
je 0x4024c4
push str._elevate
jmp 0x4024c9
push 0x424b14
push str._install
push str._s__s__s__s
push eax
call fcn.00401ba1
add esp, 0x18
lea eax, [ebp - 0x204]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov eax, dword [ebp - 0x42c]
pop esi
je 0x402547
cmp eax, 0x20
jle 0x402547
cmp dword [ebp + 0x10], edi
je 0x402540
push 0x7530
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x402544
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], edi
push eax
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x410]
jmp 0x402547
xor eax, eax
jmp 0x402547
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040b168
leave
ret

Function at 0x402786
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4027b7
cmp dword [ebp + 0xc], 0
je 0x4027b7
push dword [ebp + 8]
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4027b7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4027f1
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040d070
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0040d070
add esp, 0x18
test edi, edi
je 0x40286e
xor eax, eax
cmp word [edi], ax
je 0x40286e
push edi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00413334
add esp, 0xc
jmp 0x402887
lea eax, [ebp - 0x414]
push eax
xor eax, eax
push eax
call fcn.0040270a
pop ecx
pop ecx
test eax, eax
je 0x402962
mov edi, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test esi, esi
je 0x4028bd
xor eax, eax
cmp word [esi], ax
je 0x4028bd
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00413334
add esp, 0xc
jmp 0x4028e9
lea eax, [ebp - 0x20c]
push eax
call fcn.00402737
pop ecx
test eax, eax
je 0x402962
cmp byte [ebp + 0x1c], 0
je 0x4028e9
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x402916
lea ecx, [ebp - 0x414]
push ecx
push 0x104
push eax
call fcn.00413334
add esp, 0xc
test ebx, ebx
je 0x40292f
lea eax, [ebp - 0x20c]
push eax
push 0x104
push ebx
call fcn.00413334
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40295d
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00401ecd
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
jmp 0x40296c
xor eax, eax
inc eax
jmp 0x40296c
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret

Function at 0x40297b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00402737
pop ecx
test eax, eax
je 0x402a2c
lea ecx, [ebp - 0x20c]
push esi
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4029af
sub ecx, edx
sar ecx, 1
cmp ecx, 0x102
jge 0x402a2b
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x402a40
xor eax, eax
mov dword [ebp - 0x212], esi
mov word [ebp + ecx - 0x20c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x20c]
movlpd qword [ebp - 0x21a], xmm0
mov dword [ebp - 0x224], eax
mov eax, 0x454
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 3
mov dword [ebp - 0x220], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
call fcn.00401e12
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0040b168
leave
ret
call fcn.0040b7cb
int3
Function at 0x4030ee
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0
je 0x403124
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x403124
mov eax, dword [ebp - 0x10]
jmp 0x403126
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b168
leave
ret

Function at 0x4031ed
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0
je 0x403217
lea eax, [ebp - 0x20]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x403217
mov eax, dword [ebp - 0x1c]
jmp 0x403219
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b168
leave
ret

Function at 0x403225
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], ebx
push eax
push str.WTSQueryUserToken
push str.Wtsapi32.dll
call fcn.00402a46
add esp, 0x14
cmp dword [ebp - 0x214], ebx
je 0x40335f
test esi, esi
je 0x40335f
mov ecx, str.Zoom
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4032b4
test dx, dx
je 0x4032b0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4032b4
add eax, 4
add ecx, 4
test dx, dx
jne 0x40328e
mov eax, ebx
jmp 0x4032b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x4032f3
mov ecx, str.ZoomRooms
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4032ea
test dx, dx
je 0x4032e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4032ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x4032c4
mov eax, ebx
jmp 0x4032ef
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40335f
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0040d070
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x210]
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40335f
test edi, edi
je 0x40335f
push 0x424c30
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004132bf
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004132bf
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call fcn.00413334
add esp, 0x24
mov bl, 1
cmp dword [ebp - 0x210], 0
je 0x403374
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret 0xc
Function at 0x4034ce
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x41c], eax
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040d070
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040d070
lea eax, [esi + 0x48]
add esp, 0x18
mov ecx, eax
mov dword [ebp - 0x418], eax
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x403530
sub ecx, edx
sar ecx, 1
je 0x4035cf
test ebx, ebx
je 0x4035cf
cmp dword [ebp - 0x41c], esi
je 0x4035cf
lea eax, [ebp - 0x20c]
push eax
call fcn.00402099
pop ecx
test eax, eax
je 0x4035cf
test edi, edi
je 0x403586
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str.__s___s
push eax
call fcn.00402e0b
add esp, 0x10
push 2
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4035cf
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x4035e2
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret 0xc
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x4035d1

Function at 0x40379f
Capabilities:
Start service

Disassembly:
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4037b7
xor al, al
jmp 0x4037da
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.004031ed
inc esi
cmp eax, 4
je 0x4037d7
cmp esi, 0x64
jl 0x4037b7
cmp eax, 4
sete al
pop edi
pop esi
ret

Function at 0x40388c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea esi, [ecx + 0x48]
mov edx, esi
push edi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40389b
sub edx, edi
sar edx, 1
jne 0x4038b0
xor al, al
jmp 0x4038ef
call fcn.00403400
test al, al
jne 0x4038bd
inc al
jmp 0x4038ef
push ebx
push 0xf01ff
push 2
xorps xmm0, xmm0
lea ecx, [ebp - 8]
push esi
movlpd qword [ebp - 8], xmm0
call fcn.00402f53
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
lea ecx, [ebp - 8]
setne bl
call fcn.00403001
mov al, bl
pop ebx
pop edi
pop esi
leave
ret
Function at 0x403d08
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x403dd1
test eax, eax
je 0x403dd1
cmp dword [ebp + 0x10], 0
je 0x403dd1
push ebx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403dcc
push edi
push eax
call fcn.0040b40d
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x403dc4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x424c30
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x403dc4
cmp dword [ebp - 0xc], ebx
je 0x403dc4
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0xfeef04bd
jne 0x403dc4
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._04d
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call fcn.0040484a
add esp, 0x1c
mov bl, 1
push edi
call fcn.0040b179
pop ecx
pop edi
mov al, bl
pop ebx
jmp 0x403dd3
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b168
leave
ret
Function at 0x403de0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
test esi, esi
je 0x403ff6
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x403ff6
xor eax, eax
mov byte [ebp - 0x95], al
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x88]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x94], eax
test eax, eax
je 0x403fee
push edi
push eax
call fcn.0040b40d
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x94]
push dword [ebp - 0x88]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x403fe6
test bl, 1
je 0x403eda
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
push 0x424c30
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x403eda
cmp dword [ebp - 0x8c], 0
mov esi, dword [ebp - 0x9c]
je 0x403ee0
mov ecx, dword [ebp - 0x90]
cmp dword [ecx], 0xfeef04bd
jne 0x403ee0
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._04d
push 0x40
push esi
call fcn.0040484a
add esp, 0x1c
mov byte [ebp - 0x95], 1
jmp 0x403ee0
mov esi, dword [ebp - 0x9c]
test bl, 2
je 0x403fe6
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
push str.VarFileInfoTranslation
lea ebx, [esi + 0x40]
push edi
mov byte [ebx], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403fe6
cmp dword [ebp - 0x8c], 4
jb 0x403fe6
mov esi, 0x80
lea eax, [ebp - 0x84]
push esi
push 0
push eax
call fcn.0040d070
mov ecx, dword [ebp - 0x94]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.0040484a
add esp, 0x20
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403fe6
mov esi, dword [ebp - 0x8c]
test esi, esi
je 0x403fe6
cmp dword [ebp - 0x90], 0
je 0x403fe6
mov eax, 0xff
lea ecx, [eax + 1]
cmp esi, ecx
cmovae esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x403fdb
test ebx, ebx
jne 0x403fba
call fcn.00413e1a
mov dword [eax], 0x16
call fcn.0041325e
mov esi, dword [ebp - 0x8c]
jmp 0x403fdb
cmp esi, ecx
jbe 0x403fcb
call fcn.00413e1a
mov dword [eax], 0x22
jmp 0x403fad
push esi
push dword [ebp - 0x90]
push ebx
call fcn.0040d7c0
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + esi + 0x40], 0
push edi
call fcn.0040b179
pop ecx
pop edi
mov al, byte [ebp - 0x95]
jmp 0x403ff8
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret
Function at 0x404622
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4046db
xor eax, eax
cmp ax, word [esi]
je 0x4046db
push 0x410
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040d070
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4046db
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4046d7
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.downlevel
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4046db
mov al, 1
jmp 0x4046dd
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b168
leave
ret

Function at 0x4046ea
Capabilities:
Enumerate processes
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x33c], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x404721
xor al, al
jmp 0x40480d
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x404804
lea eax, [ebp - 0x314]
push edi
push eax
call fcn.00413ea9
pop ecx
pop ecx
test eax, eax
jne 0x4047ed
push dword [ebp - 0x330]
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404802
cmp dword [ebp + 0xc], ebx
jl 0x4047a1
or dword [ebp - 0x10c], 0xffffffff
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x330]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x4047a1
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10c], eax
jne 0x4047e7
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0040d070
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
push 0x3e7
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x33c]
lea eax, [ebp - 0x338]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x404740
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret
Function at 0x405302
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, ebx
push 0x424610
lea esi, [edi + 0xe0]
call fcn.00401d5a
test al, al
je 0x405388
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.0040d070
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x405390
lea eax, [ebp - 0x204]
mov ecx, esi
push eax
call fcn.00401b0c
push 0x424c30
mov ecx, esi
call fcn.00404d1a
push str.Zoom
mov ecx, esi
call fcn.00404d1a
jmp 0x405390
push ebx
mov ecx, esi
call fcn.00404c11
push esi
mov ecx, edi
call fcn.00404c11
push str.data_
mov ecx, edi
call fcn.00404d1a
push str.Zoom.us.ini
mov ecx, edi
call fcn.00404d1a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b168
leave
ret 4