joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b0f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
jl 0x100b0fa0
cmp dword [ebp + 8], 9
jle 0x100b0fad
push str.bad_pack_level
call fcn.100b2600
add esp, 4
mov eax, dword [ebp + 8]
mov dword [0x100d96e8], eax
push 0x10000
push 0
push 0x1011a200
call fcn.1007f650
add esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*8 + 0x100d576a]
mov dword [0x100d96f0], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax*8 + 0x100d5768]
mov dword [0x100dd7c4], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx*8 + 0x100d576c]
mov dword [0x100dd7dc], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*8 + 0x100d576e]
mov dword [0x100dd7cc], edx
cmp dword [ebp + 8], 1
jne 0x100b1023
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
or ecx, 4
mov edx, dword [ebp + 0xc]
mov word [edx], cx
jmp 0x100b1038
cmp dword [ebp + 8], 9
jne 0x100b1038
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
or ecx, 2
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov dword [0x100dd7d8], 0
mov dword [0x100dd7d4], 0
push 0x10000
push 0x100f59a0
call dword [0x100dd7c0]
add esp, 8
mov dword [0x100d96ec], eax
cmp dword [0x100d96ec], 0
je 0x100b1076
cmp dword [0x100d96ec], 0xffffffff
jne 0x100b108c
mov dword [0x100d967c], 1
mov dword [0x100d96ec], 0
jmp 0x100b10f7
mov dword [0x100d967c], 0
cmp dword [0x100d96ec], 0x106
jae 0x100b10b2
cmp dword [0x100d967c], 0
jne 0x100b10b2
call fcn.100b0b40
jmp 0x100b1096
mov dword [0x100d96f4], 0
mov dword [ebp - 4], 0
jmp 0x100b10ce
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jae 0x100b10f7
mov ecx, dword [0x100d96f4]
shl ecx, 5
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x100f59a0]
xor ecx, eax
and ecx, 0x7fff
mov dword [0x100d96f4], ecx
jmp 0x100b10c5
mov esp, ebp
pop ebp
ret
Function at 0x100b24c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x100b24d3
mov dword [ebp - 4], 0xffffffff
jmp 0x100b2514
mov eax, dword [0x100d59a4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x100b2514
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [edx*4 + 0x100d59f8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp + 0xc], edx
jne 0x100b24e1
mov eax, dword [ebp - 4]
mov dword [0x100d59a4], eax
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x100b2720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x1012a200], 0
call fcn.100862a4
mov dword [eax], 0
mov eax, 0x8000
sub eax, dword [0x1012a200]
push eax
mov ecx, dword [0x1012a200]
add ecx, 0x100ed940
push ecx
mov edx, dword [0x1010a1f4]
push edx
call fcn.100a7114
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b2770
cmp dword [ebp - 4], 0xffffffff
jne 0x100b2772
jmp 0x100b278b
mov eax, dword [0x1012a200]
add eax, dword [ebp - 4]
mov dword [0x1012a200], eax
cmp dword [0x1012a200], 0x8000
jb 0x100b2739
cmp dword [0x1012a200], 0
jne 0x100b27a4
cmp dword [ebp + 8], 0
je 0x100b279f
or eax, 0xffffffff
jmp 0x100b27c7
call fcn.100b25d0
mov ecx, dword [0x100f5988]
add ecx, dword [0x1012a200]
mov dword [0x100f5988], ecx
mov dword [0x1012a324], 1
movzx eax, byte [0x100ed940]
mov esp, ebp
pop ebp
ret
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call fcn.10001520
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call fcn.10001598
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call fcn.10001598
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call fcn.100015d4
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x15dadd4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x15dadde
pushal
call 0x15dade4
pop ebp
sub ebp, 0x10
sub ebp, 0x11dadd4
jmp 0x15dadfa
mov eax, 0x11dadd4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c6
mov edx, 0x7b31610f
xor byte [eax], dl
inc eax
dec ecx
jne 0x15dae11
jmp 0x15dae24
test dl, al
test byte [esi + 0xf0f0f33], al
mov cs, esi
test dword [edi], 0xc20c0f0f
mov bh, 0xa
invalid
Function at 0x4014e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401538
cmp byte [esi + ebx - 1], 0xa
je 0x40150c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x405084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x401d38
mov edi, dword [0x405084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x401c47
test byte [0x402044], 8
jne 0x401ce0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x402054], 8
jne 0x401ca0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401be9
cmp esi, 3
jbe 0x401c58
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x401bfa
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x403118]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x401be9
mov dword [esp], 0x402054
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x401bc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x401bc0
mov dword [esp], 0x402044
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x401bab
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x401bb3
mov eax, 0xffffffff
jmp 0x401c47

Function at 0x401e00
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x401e70
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401efb
cmp ax, 9
je 0x401ee8
cmp ax, 0x20
je 0x401ee8
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x401f50
cmp ax, 0x22
je 0x401f60
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401efb
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401ea0
test edi, 1
jne 0x401ea0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x401ee8
cmp ax, 0x20
je 0x401ee8
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x401f78
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x401ebb
and dword [ebp - 0x54], 1
jne 0x401eb4
xor edi, 1
jmp 0x401ebb
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x401f14
Function at 0x401181
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41c00c]
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 0x4011e1
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.0040d350
leave
ret

Function at 0x4011f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ecx
call fcn.0040115f
pop ecx
test eax, eax
jne 0x401207
push 0xb
pop eax
jmp 0x401228
call fcn.004010b0
test eax, eax
jne 0x401215
call fcn.00401181
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 0x4012f3
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
test esi, esi
je 0x401389
xor ebx, ebx
push ebx
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x401389
push edi
push 0x411a64
mov edi, 0x104
push edi
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push 0x411a70
push edi
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]
pop edi
test eax, eax
je 0x401389
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x40138b
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d350
leave
ret
Function at 0x401399
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x41c00c]
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 0x40143b
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 0x40143b
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 0x411ad8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40143b
lea eax, [ebp - 0x14]
push 0x411aec
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 0x40143d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040d350
leave
ret

Function at 0x401cba
Capabilities:
Enumerate processes

Disassembly:
push 0x294
mov eax, 0x40e715
call fcn.0040e648
mov edi, ecx
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.004043f2
xor ebx, ebx
mov dword [esi + 4], esi
push ebx
mov dword [esi], esi
mov dword [esi + 8], esi
push 2
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401cfa
xor eax, eax
jmp 0x401dee
push 0x228
lea eax, [ebp - 0x284]
mov dword [ebp - 0x288], 0x22c
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x18], ebx
add esp, 0xc
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x288]
mov dword [ebp - 4], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x401dd4
mov ebx, dword [ebp - 0x270]
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x28c], ebx
push eax
mov ecx, edi
call fcn.00404b13
mov eax, dword [ebp - 0x290]
cmp byte [eax + 0xd], 0
jne 0x401d75
cmp ebx, dword [eax + 0x10]
jb 0x401d75
cmp eax, dword [edi]
jne 0x401d77
xor ebx, ebx
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x30]
push eax
mov edx, ebx
call fcn.00401b82
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.00403d87
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2a0]
mov ecx, edi
push eax
call fcn.00404ec9
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00403d29
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401d3f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00403d29
xor eax, eax
inc eax
call fcn.0040e603
ret
Function at 0x4024ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7cf
mov edi, 0x41c4c8
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402664
push edi
mov ecx, 0x41e410
call fcn.00403fa3
mov esi, 0x7d0
mov ecx, edi
mov edx, esi
call fcn.0040500d
push eax
mov ecx, 0x41e428
call fcn.00403fa3
mov edx, esi
mov ecx, edi
call fcn.00404fc8
test eax, eax
je 0x40251f
cmp eax, 0x7cf
jae 0x40251f
xor ecx, ecx
mov word [eax*2 + 0x41c4ca], cx
push ebx
push 0x1a
mov esi, 0x41d468
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40253e
push ecx
mov ecx, esi
call fcn.0040502a
add esp, 4
push 4
xor edi, edi
mov dword [ebp - 0x214], 0x24
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x41e40c], eax
test eax, eax
je 0x402664
mov dword [eax], ebx
mov esi, ebx
push 0x20c
lea eax, [ebp - 0x210]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push dword [ebp + esi - 0x214]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4025c3
cmp dword [ebp + esi - 0x214], 0x24
jne 0x402659
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x402659
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4025cc
sub ecx, edx
sar ecx, 1
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x212], ax
je 0x4025f1
mov word [ebp + ecx*2 - 0x210], ax
inc ecx
lea ebx, [ecx + ecx]
lea eax, [ebx + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x41e40c]
mov dword [esi + ecx], eax
mov eax, dword [0x41e40c]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x402657
lea eax, [ebx + 2]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
push ebx
lea eax, [ebp - 0x210]
push eax
mov eax, dword [0x41e40c]
push dword [esi + eax]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
add esi, 4
push 0
pop ebx
cmp esi, 4
jb 0x40256c
mov dword [0x41e408], edi
jmp 0x402660
xor ebx, ebx
call fcn.0040244e
mov edi, ebx
mov eax, edi
jmp 0x402666
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d350
leave
ret
Function at 0x402675
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ef4
call fcn.0040e6c0
mov eax, dword [0x41c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x1f40
lea eax, [ebp - 0x2ee8]
push esi
xor edi, edi
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2eec], edi
lea eax, [ebp - 0x2eec]
push eax
push esi
lea eax, [ebp - 0x2ee8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x402776
lea eax, [ebp - 0xfa8]
xor esi, esi
mov dword [ebp - 0x2ef0], eax
mov ebx, 0xfa0
mov eax, dword [ebp - 0x2eec]
inc esi
and eax, 0xfffffffc
mov word [ebp - 0x2ef2], bx
cmp eax, 4
jbe 0x402771
push ebx
lea eax, [ebp - 0xfa8]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xfa8]
push 0x7cf
push eax
push dword [ebp + esi*4 - 0x2ee8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xfa8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x40272d
sub ecx, edx
sar ecx, 1
push edi
push dword [ebp + esi*4 - 0x2ee8]
lea eax, [ecx + ecx]
mov ecx, 0x41c4c0
mov word [ebp - 0x2ef4], ax
lea eax, [ebp - 0x2ef4]
push eax
call fcn.00402787
test eax, eax
je 0x402776
mov ecx, dword [ebp - 0x2eec]
inc esi
shr ecx, 2
cmp esi, ecx
jb 0x4026fa
xor eax, eax
inc eax
jmp 0x402778
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d350
leave
ret

Function at 0x402959
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREPoliciesZoomZoom_MeetingsGeneral
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4029ce
push 4
pop edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
push esi
push str.Disable3rdModuleVerify
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4029ce
cmp dword [ebp - 8], edi
jne 0x4029ce
cmp dword [ebp - 0xc], edi
jne 0x4029ce
xor eax, eax
cmp dword [ebp - 0x10], eax
sete al
jmp 0x4029d1
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x402d68
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
push ebx
push edi
lea edi, [ebp - 0x18]
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ebx, ebx
je 0x402e93
push 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x402e93
mov edx, dword [ebp - 0x14]
mov eax, 0x5a4d
mov dword [ebp - 8], edx
cmp word [ebx], ax
jne 0x402e93
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0xc], ecx
lea eax, [ecx + 0xf8]
cmp eax, edx
jae 0x402e93
lea eax, [ecx + ebx]
cmp dword [eax], 0x4550
jne 0x402e93
movzx ecx, word [eax + 4]
push esi
mov esi, 0x14c
cmp si, cx
jne 0x402de8
xor edi, edi
jmp 0x402e03
mov esi, 0x200
cmp si, cx
je 0x402e00
mov esi, 0x8664
cmp si, cx
jne 0x402e92
xor edi, edi
inc edi
mov esi, dword [eax + 0x28]
add esi, ebx
push edx
mov edx, ebx
mov ecx, esi
call fcn.004034df
add esp, 4
test eax, eax
je 0x402e92
call fcn.004034fc
test eax, eax
je 0x402e92
mov ecx, dword [ebp - 0xc]
mov edx, ebx
push edi
push dword [ebp - 8]
lea ecx, [ecx + ebx]
call fcn.00403546
pop ecx
pop ecx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x40
push 0x14
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402e92
test edi, edi
jne 0x402e62
mov eax, dword [0x41c028]
mov dword [esi], eax
mov al, byte [0x41c02c]
mov byte [esi + 4], al
jmp 0x402e73
mov ax, word [0x41c030]
mov word [esi], ax
mov al, byte [0x41c032]
mov byte [esi + 2], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop esi
pop edi
pop ebx
leave
ret