joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417ced
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x9c], eax
lea edi, [ebp - 0x58]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
xor eax, eax
push 0
stosd dword es:[edi], eax
push 0x8000000
push 3
push 0
stosd dword es:[edi], eax
push 1
push SysReAllocString
push ebx
stosd dword es:[edi], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x98], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call fcn.004180cd
push 1
push 0
push 1
push 0
mov esi, eax
push 1
push ebx
mov ecx, esi
call fcn.0043f34b
push dword [ebp - 0x98]
mov ecx, esi
mov bl, al
call fcn.0043e9c7
test bl, bl
je 0x417e7d
test al, al
jne 0x417e7d
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x98]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 4
push 1
push ebx
push ebx
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x417de7
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xd0], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0xcc], ecx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x417e6d
push 0x3c
lea eax, [ebp - 0x94]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x9c]
add esp, 0xc
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x90], 0x440
push eax
mov dword [ebp - 0x88], 0x451648
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x84], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x417e6d
cmp dword [ebp - 0x74], 0x20
jle 0x417e6d
mov esi, dword [ebp - 0xa0]
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
inc ebx
push eax
mov dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [esi + 0xcc], eax
mov eax, dword [ebp - 0xa4]
and dword [eax], 0
cmp edi, 0xffffffff
je 0x417e79
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x417e8b
cmp edi, 0xffffffff
je 0x417e89
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442ef0
leave
ret 0x14
Function at 0x418013
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, eax
test edi, edi
je 0x418086
mov cl, byte [esi + 0x10]
mov ebx, dword [ebx + 0x190]
mov dl, cl
or cl, 0x80
and dl, 0x7f
movzx ecx, cl
and bl, 1
mov ebx, dword [ebp - 4]
movzx eax, dl
cmove ecx, eax
mov byte [esi + 0x10], cl
mov cl, byte [esi + 0x11]
mov edx, dword [ebx + 0x190]
mov al, cl
and al, 0x7f
or cl, 0x80
and dl, 2
movzx eax, al
movzx ecx, cl
cmove ecx, eax
mov al, byte [esi + 0x12]
mov byte [esi + 0x11], cl
test byte [ebx + 0x190], 4
je 0x418081
or al, 0x80
jmp 0x418083
and al, 0x7f
mov byte [esi + 0x12], al
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41808f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
call fcn.004180b6
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx ecx, ax
xor edx, edx
movzx eax, cl
test cx, cx
cmovg edx, eax
movzx eax, dx
pop ebp
ret 4
Function at 0x419813
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
mov eax, dword [esi + 0x190]
shr eax, 2
test al, 1
je 0x419850
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x419897
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push 0x12
push 0x20
call fcn.00418639
mov ecx, dword [ebp + 8]
mov bl, al
mov byte [ecx], 1
jmp 0x419897
push edi
mov edi, 0xa4
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x419873
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push edi
push 0x21
call fcn.00418639
mov bl, al
mov edi, 0xa5
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x419896
xor eax, eax
mov ecx, esi
push eax
push eax
push 1
push eax
push edi
push 0x21
call fcn.00418639
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x41bf00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x490bfc]
cmp eax, dword [ebp + 0xc]
jb 0x41bf7f
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0041bd9f
mov bl, al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test bl, bl
jne 0x41bf6a
sub eax, dword [0x490c00]
cmp eax, 0x7d0
jb 0x41bf6f
mov eax, dword [0x48f30c]
mov ecx, esi
sub eax, dword [esi + 0xc4]
mov dword [ebp - 8], eax
mov eax, dword [0x48f310]
sub eax, dword [esi + 0xc8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.0041d628
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x490c00], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x490bfc], eax
mov al, bl
pop ebx
jmp 0x41bf81
xor al, al
pop esi
leave
ret 8
Function at 0x420032
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x204]
push esi
push edi
push 0x80
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x420129
xor eax, eax
mov esi, 0x451978
mov edi, eax
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x420114
cmp word [esi], ax
je 0x42013c
push 0x100
push eax
lea eax, [ebp - 0x104]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x80
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x420114
xor ecx, ecx
cmp word [esi + 0x80], cx
je 0x42013c
push 0x104
lea eax, [ebp - 0x40c]
push eax
push ebx
call fcn.0043b1bb
add esp, 0xc
test al, al
je 0x420114
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x40c]
push eax
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42013c
mov eax, 0xc0
add edi, eax
add esi, eax
cmp edi, 0x780
jb 0x42006f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442ef0
leave
ret 4
mov al, 1
jmp 0x42012b
Function at 0x4218f0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xa8
mov eax, 0x4475af
call fcn.00442f6c
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x98]
mov dword [ebp - 0xb4], eax
cmp dword [eax + 0x18], 0
mov dword [ebp - 0xa0], ecx
je 0x421929
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xa0]
mov byte [ebp - 0xb0], 1
and dword [ebp - 4], 0
mov esi, 0x4520f8
lea edi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ecx]
mov dword [ebp - 0xac], edi
test edi, edi
je 0x421acf
mov eax, dword [ecx + 4]
mov dword [ebx + 0x38], eax
mov eax, dword [ecx + 4]
xor ecx, ecx
mov dword [ebx + 0x40], eax
mov dword [ebx], 4
mov dword [ebp - 0xa0], ecx
cmp dword [edi + 4], ecx
jle 0x4219ff
lea esi, [ebx + 0x74]
add edi, 8
mov edx, dword [edi]
mov eax, dword [esi]
mov dword [ebp - 0xa4], edx
jmp 0x42198c
cmp dword [eax], edx
je 0x4219e6
add eax, 4
cmp eax, dword [esi + 4]
jne 0x421985
push edx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x4219e0
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
call fcn.00406233
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebx + 0x8c]
call fcn.00406233
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, dword [edi]
sar ecx, 2
mov dword [ebx + ecx*4 + 0xd4], eax
inc dword [ebx + 0xd4]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xac]
inc ecx
add edi, 4
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [eax + 4]
jl 0x421979
call fcn.00403fdb
cmp dword [eax + 4], 1
jbe 0x421a1d
push ebx
push 0x41f9e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, ebx
call fcn.004211d1
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x421a39
push 1
push eax
push eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [ebx + 0x70], eax
test eax, eax
je 0x421acf
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0x68
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x30]
call fcn.0040687e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push dword [ebx + 0x70]
call fcn.00401463
mov dword [ebx + 0xb8], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 0x70]
push eax
call fcn.004031cf
mov al, byte [ebp - 0x74]
lea edi, [ebx + 0x24]
push dword [ebx + 0x70]
lea esi, [ebp - 0x94]
mov dword [ebx + 0xd0], 0x48
movsd dword es:[edi], dword [esi]
and al, 1
mov byte [ebx + 0x1c], al
mov ecx, ebx
lea eax, [ebx + 0x80]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041f6a6
mov eax, dword [ebx + 0x74]
cmp eax, dword [ebx + 0x78]
setne byte [ebp - 0x99]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004012d8
jmp 0x421ad6
mov byte [ebp - 0x99], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x98]
cmp dword [ecx + 0x18], 0
je 0x421aed
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x99]
call fcn.00442f16
ret 4
Function at 0x435414
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x4917fc]
push esi
xor esi, esi
jmp 0x435426
cmp dword [edx + 4], esi
jne 0x43547f
mov edx, dword [edx]
test edx, edx
jne 0x43541f
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x435483
push 0x20
mov dword [edx + 4], esi
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop esi
mov eax, dword [edx + 4]
add esi, 0x20
mov dword [ecx], eax
mov dword [edx + 4], ecx
add ecx, 0x20
cmp esi, 0xfe0
jbe 0x43544f
mov eax, dword [0x4917fc]
mov dword [edx], eax
mov dword [0x4917fc], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
test edx, edx
jne 0x435472
xor eax, eax
pop esi
ret

Function at 0x435d1e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
imul esi, eax, 0x28
push edi
push 7
pop edi
push 5
add esi, dword [0x4917f0]
mov dword [ebp - 0xc], esi
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
shl ecx, 0x1f
sar ecx, 0x1f
lea ebx, [eax - 5]
test ecx, ecx
cmove ebx, eax
pop eax
cmove edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x435d79
push 0xa
pop eax
jmp 0x435dfa
cmp dword [ebp + 0xc], 0
je 0x435d9c
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x435dbe
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x435dbe
test byte [esi + 0x14], 1
je 0x435db3
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
jmp 0x435dbe
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp + 0xc]
and eax, 1
mov ecx, eax
add eax, eax
and ecx, 0xfffffffd
or ecx, eax
mov eax, dword [esi + 0x14]
add ecx, ecx
and eax, 0xfffffff9
or ecx, eax
xor eax, eax
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442ef0
leave
ret
Function at 0x435e36
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x435f0c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
jmp 0x435efd
cmp dword [ebp - 0x20], 0x10
jb 0x435eec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x435eec
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x435eec
mov edx, dword [esi]
test edx, edx
jne 0x435eba
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x490c68]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x435f05
jmp 0x435ee0
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x435ee0
shl eax, 3
push eax
push edx
push 0
push dword [0x490c68]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x435f05
shl dword [esi + 4], 1
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x435e75
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00442ef0
leave
ret

Function at 0x435f88
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00435e36
pop ecx
cmp dword [esi], ebx
je 0x435fe8
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x435fe7
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x435fde
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00436296
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x435fad
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4363ad
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x4363ff
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x4363ef
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x4363e6
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x4363c3
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x490c68]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret
Function at 0x438474
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x447ca6
call fcn.00442fda
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
push 0x404
push ebx
lea eax, [ebp - 0x420]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x438506
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x438506
call fcn.00437511
mov esi, eax
jmp 0x4385e1
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x438529
call fcn.00437511
jmp 0x4385d4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x43851f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x438559
mov esi, 0x8007000e
jmp 0x4385d6
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x420]
call fcn.004373d1
mov dword [ebp - 4], 1
jmp 0x43858d
cmp dword [ebp - 0x420], 0
je 0x438552
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x424]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x43851f
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x1c]
call fcn.0043832d
mov esi, eax
test edi, edi
je 0x4385e1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x4385fd
lea ecx, [ebp - 0x420]
call fcn.004377b5
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00442f27
ret 0x10
Function at 0x438e93
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x438ea7
push 0xd
pop eax
jmp 0x438eeb
push esi
xor eax, eax
push edi
mov dword [ebp - 4], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x438eba
sub ecx, dword [ebp - 8]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x438eb2
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x438ef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x438f02
push 0xd
pop eax
jmp 0x438f34
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x438f0b
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x4398ff
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push 0x5c
mov eax, 0x447e04
call fcn.00442f6c
call sub.DllSafeCheck.dll_HackCheck
call fcn.0043a0ea
lea eax, [ebp - 0x50]
xor edi, edi
push eax
mov dword [ebp - 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str._user_path
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.00402224
mov dword [ebp - 4], edi
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x50]
push eax
lea ecx, [esi + ecx*4]
push ecx
push esi
call fcn.0043a5f6
add esp, 0xc
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00403176
push esi
call fcn.0043f7f0
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00402435
mov dword [ebp - 4], 1
push 1
push 0xe1b75
call fcn.00439ba5
pop ecx
pop ecx
call fcn.00439696
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push edi
push dword [ebp + 8]
mov esi, 0x490eb0
push edi
mov ecx, esi
call fcn.00437883
test eax, eax
jne 0x4399f8
call fcn.004397de
call fcn.00435363
test eax, eax
je 0x4399f1
push edi
push edi
push 0x437990
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
push 0x38
lea eax, [ebp - 0x4c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x4c]
call fcn.0040229c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00402f37
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0040267d
mov ecx, esi
call fcn.00439047
call fcn.00439bd2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040276c
mov eax, 0x80004005
call fcn.00442f16
ret 0x10
Function at 0x439ac3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x439b17
cmp dword [ebp + 0xc], 0
jle 0x439b17
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x439b17
push str.ZoomdataZoom.us.ini
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 0x14
neg eax
sbb al, al
inc al
jmp 0x439b19
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00442ef0
leave
ret

Function at 0x439c48
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x439ce2
cmp dword [ebp + 0xc], 0
jle 0x439ce2
xor ebx, ebx
push ebx
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x439ce2
push str.Zoom
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.logs
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x18
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push str.zoomtest
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x439ce2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x439ce4
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00442ef0
leave
ret

Function at 0x43a2c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43a357
push str._vdp_rdpvcbridge.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43a357
push edi
push str.VDP_IsViewSession
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43a34f
push 0xffffffffffffffff
mov ecx, edi
call dword [0x44977c]
call edi
pop ecx
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00442ef0
leave
ret