joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450604
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4507af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450790
mov dl, 1
mov eax, dword [0x411b20]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45077f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043e610
test al, al
je 0x450772
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4507c0
lea eax, [ebp - 0x254]
call fcn.00408a94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450772
xor eax, eax
push ebp
push 0x45076b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4507f8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450754
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450754
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450772
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450675
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004155fc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4507b6
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x4510e4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x459bdc]
cmp byte [eax + 0xa5], 0
jne 0x451155
cmp dword [0x459bf4], 0
jne 0x451116
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4510a0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x459bf4], eax
cmp dword [0x459bf0], 0
jne 0x451131
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x459bf0], eax
cmp dword [0x459bf8], 0
jne 0x451155
push esp
push 0
push 0
push 0x451044
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x459bf8], eax
pop edx
ret
Function at 0x45124c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451263
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041947c
mov eax, dword [0x457fd0]
cmp word [eax + 2], 0
jne 0x45128b
mov eax, dword [0x457fd0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452924
mov eax, dword [0x45807c]
cmp word [eax + 2], 0
jne 0x4512a5
mov eax, dword [0x45807c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452b1c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411704]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411704]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b9b0]
call fcn.00422dc0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45142c
mov eax, dword [0x457ef4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423190
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4530bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457ef4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c164
test eax, eax
je 0x45139a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408488
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c18c
test eax, eax
je 0x4513ae
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x457de4]
cmp byte [eax], 0
jne 0x4513e2
mov eax, ebx
call fcn.00451554
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00453298
mov eax, ebx
call fcn.00453c5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451422
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4517d4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x459bdc]
cmp dword [eax + 0x30], 0
je 0x45187e
cmp dword [ebx + 0x94], 0
jne 0x451878
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451764
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451878
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45183e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451878
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413a6c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45184d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4523e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452415
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x452422
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453474
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4534b5
mov eax, esi
call fcn.00439c3c
test al, al
je 0x4534b5
mov eax, dword [ebx + 0x84]
call fcn.00439938
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4534b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439938
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455af4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004042fc
xor eax, eax
push ebp
push 0x455c1d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00453fa8
mov edi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, edi
call fcn.00453fc8
xor ebx, ebx
jmp 0x455be9
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004040bc
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040831c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00407a18
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00407a18
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404258
jne 0x455bdc
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push esi
call sub.kernel32.dll_CloseHandle
mov bl, 1
lea edx, [ebp - 0x12c]
mov eax, edi
call fcn.00453fe8
test eax, eax
jne 0x455b5f
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c24
lea eax, [ebp - 0x13c]
mov edx, 4
call fcn.00403e70
lea eax, [ebp - 4]
call fcn.00403e4c
ret
Function at 0x455c84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004042fc
xor eax, eax
push ebp
push 0x455de3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x455dae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040430c
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.004026bc
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x455df4
push edi
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00407e54
mov eax, dword [ebp - 8]
push dword [eax]
push 0x455e00
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00407e54
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.004041cc
mov eax, dword [ebp - 8]
push dword [eax]
push 0x455e00
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00407e54
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.004041cc
mov eax, dword [ebp - 8]
push dword [eax]
push 0x455e00
mov eax, dword [ebx + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00407e54
push dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.004041cc
mov edx, esi
mov eax, edi
call fcn.004026dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455dea
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403e70
lea eax, [ebp - 4]
call fcn.00403e4c
ret
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
xor eax, eax
cmp dword [ebp - 8], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x401058
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e0
push 0x104
lea eax, [ebp - 0x3e0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [str.C:_advapi32.bat]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [0x404004]
mov dword [ebp - 0x2d4], edx
mov eax, dword [0x404008]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [0x40400c]
mov dword [ebp - 0x2cc], ecx
push 0x2be
push 0
lea edx, [ebp - 0x2c4]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x3e0]
push edx
push str.:tm_r_ndel__s_r_nif_exists__s_goto_tm_r_ndel__s
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp - 0x2d8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c8], eax
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [ebp - 0x2d8]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x401160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x401249
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov al, byte [0x404ca0]
mov byte [ebp - 0x10], al
xor ecx, ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov dword [ebp - 7], ecx
mov word [ebp - 3], cx
mov byte [ebp - 1], cl
push 0xa
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401349
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x18]
push edx
call fcn.004011c1
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
push str.c:_s._s
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x30], eax
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
test ecx, ecx
je 0x401349
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret
Function at 0x40134d
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCRT.dll_srand
add esp, 4
call sub.MSVCRT.dll_rand
cdq
mov ecx, 0xa
idiv ecx
add edx, 1
mov dword [ebp - 8], edx
push 0
push 0
push 3
push 0
push 2
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xa00000
jae 0x40141d
push 2
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [0x404048]
mov dword [ebp - 0x14], edx
mov ax, word [0x40404c]
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0
jmp 0x4013d9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov eax, 0x18c00
cdq
idiv dword [ebp - 8]
cmp dword [ebp - 4], eax
jge 0x401408
push 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4013d0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x18c00
cdq
idiv dword [ebp - 8]
jmp 0x401429
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x34b41766
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x7e646e5b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x710c83
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x7109ec
push eax
pop edi
call fcn.00710cb5
or edi, edi
or eax, eax
add edi, 0x2fc74200
xor dword [ebx], esi
add eax, edi
and eax, edi
inc ebx
mov eax, edi
add edi, 0xe65fb456
cmp ebx, ecx
jne fcn.00710c83
mov eax, 0x4e778f9e
ret
Function at 0x4013c1
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401421
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
xor eax, eax
inc eax
cmp dword [ebp - 0x10], ebx
cmovne ebx, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00410e60
leave
ret

Function at 0x401430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ecx
call fcn.0040139f
pop ecx
test eax, eax
jne 0x401447
push 0xb
pop eax
jmp 0x401468
call fcn.004012f0
test eax, eax
jne 0x401455
call fcn.004013c1
push 1
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4015bd
xor edi, edi
push edi
push 0x1a
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4015bd
push 0x414b04
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.logs
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push str.zoomtest
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4015bd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x4015bf
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410e60
leave
ret
Function at 0x4015cd
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x42000c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0x1a
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40166f
push str.ZoomdataZoom.us.ini
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
pop ecx
pop ecx
test eax, eax
jne 0x40166f
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push 0
push str.com.zoom.test.disable_crash_handler
push 0x414b78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40166f
lea eax, [ebp - 0x14]
push 0x414b8c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
neg eax
pop ecx
sbb al, al
pop ecx
inc al
jmp 0x401671
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00410e60
leave
ret
Function at 0x406244
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov eax, dword [0x420028]
push esi
test eax, eax
jns 0x406272
mov esi, 0x80010106
cmp eax, esi
je 0x406272
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x420028], eax
cmp eax, esi
je 0x406272
test eax, eax
jns 0x406272
xor eax, eax
pop esi
ret
cmp dword [0x4226b8], 0
jne 0x4062a8
push 0x4226b8
push 0x416df8
push 1
push 0
push 0x416e28
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4062a1
cmp dword [0x4226b8], 0
jne 0x4062a8
call fcn.004062ad
jmp 0x40626e
xor eax, eax
inc eax
pop esi
ret