joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c38ec
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffcc
push 0x5c3afc
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
mov byte [0x5e47b8], 0
push 0x5c3b18
push ebx
call fcn.00411b5c
mov esi, eax
test esi, esi
je 0x5c397c
lea eax, [esp + 2]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x5c397c
cmp word [esp], 0
je 0x5c397c
mov byte [0x5e47b8], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x5c3952
sub ax, 0x8518
je 0x5c395e
sub ax, 0x2400
je 0x5c396a
jmp 0x5c3973
mov byte [0x5db701], 1
jmp 0x5c39f1
mov byte [0x5db701], 2
jmp 0x5c39f1
mov byte [0x5db701], 4
jmp 0x5c39f1
mov byte [0x5db701], 0
jmp 0x5c39f1
push 0x5c3b38
push ebx
call fcn.00411b5c
mov esi, eax
test esi, esi
je 0x5c39ac
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x5c39ac
cmp dword [esp + 4], 0
je 0x5c39ac
mov byte [0x5e47b8], 1
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetNativeSystemInfo
movzx eax, word [esp + 0x10]
sub ax, 1
jb 0x5c39cf
sub ax, 8
je 0x5c39d8
sub ax, 3
je 0x5c39e1
jmp 0x5c39ea
mov byte [0x5db701], 1
jmp 0x5c39f1
mov byte [0x5db701], 2
jmp 0x5c39f1
mov byte [0x5db701], 4
jmp 0x5c39f1
mov byte [0x5db701], 0
cmp byte [0x5e47b8], 0
je 0x5c3a32
call fcn.0054bac0
test al, al
je 0x5c3a2b
push 0x5c3b58
push ebx
call fcn.00411b5c
test eax, eax
je 0x5c3a2b
push 0x5c3b8c
push 0x5c3bac
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00411b5c
test eax, eax
jne 0x5c3a32
mov byte [0x5e47b8], 0
movzx eax, byte [0x5c3bc8]
mov byte [0x5e47c9], al
cmp byte [0x5db701], 0
je 0x5c3a6c
movzx eax, byte [0x5db701]
cmp al, 7
ja 0x5c3a6c
and eax, 0x7f
mov edx, 0x5e47c9
mov ecx, edx
and ecx, 3
sub edx, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
add eax, ecx
bts dword [edx], eax
push 0x5c3bcc
push ebx
call fcn.00411b5c
mov esi, eax
test esi, esi
je 0x5c3ac4
lea eax, [esp + 8]
push eax
push 0x1c4
call esi
test eax, eax
jne 0x5c3a9b
test byte [esp + 8], 1
je 0x5c3a9b
or byte [0x5e47c9], 8
test byte [0x5e47c9], 4
jne 0x5c3af3
lea eax, [esp + 8]
push eax
push 0x8664
call esi
test eax, eax
jne 0x5c3af3
test byte [esp + 8], 1
je 0x5c3af3
or byte [0x5e47c9], 4
jmp 0x5c3af3
push 0x5c3c00
push ebx
call fcn.00411b5c
mov ebx, eax
test ebx, ebx
je 0x5c3af3
lea eax, [esp + 0xc]
push eax
push 0x1c4
call ebx
test eax, eax
jne 0x5c3af3
cmp dword [esp + 0xc], 0
je 0x5c3af3
or byte [0x5e47c9], 8
add esp, 0x34
pop esi
pop ebx
ret
Function at 0x5c4ac8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c4b70
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5c4b8c
push ebx
push 0x5c4b9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040ab54
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00406e80
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x5c4b4e
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x20c]
call fcn.005c4a1c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4b77
lea eax, [ebp - 4]
call fcn.00409840
ret
Function at 0x5c5534
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5c553c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5c574d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.0050f8c0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 4]
mov eax, dword [0x5dbcd8]
movzx eax, byte [eax]
call fcn.0054d40c
mov ebx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0050cf4c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x5c5768
call fcn.0040aacc
test bl, bl
jne 0x5c55cb
xor eax, eax
push ebp
push 0x5c55c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0054d91c
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.0054d91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c55cb
push 0
mov eax, dword [ebp - 8]
call fcn.0040a87c
mov ebx, eax
push ebx
mov eax, dword [0x5e48c8]
call fcn.0040a87c
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x5c55fc
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x208]
call fcn.005c4a1c
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x5e0634]
push eax
push 0
mov ecx, 0x5c5780
mov edx, 0x5c5784
xor eax, eax
call fcn.00412a80
mov dword [ebp - 0xc], eax
mov ecx, 0x5c4be0
mov edx, 0xfffffffc
mov eax, dword [ebp - 0xc]
call fcn.00412878
mov dword [0x5e48f4], eax
xor eax, eax
push ebp
push 0x5c5711
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.0050f2b8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5c57a0
call fcn.0041e350
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
call fcn.0050f198
mov edx, dword [ebp - 0x34]
pop eax
call fcn.0040aa74
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.005c4ac8
mov dword [ebp - 0x10], eax
call fcn.005c4ba4
test al, al
jne 0x5c56f1
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x5c56cf
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c5718
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x5c6ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5c6d86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
mov edx, 0x5c6da0
call fcn.005004f4
push 5
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x5c6d4d
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.005bdc60
lea eax, [ebp - 0x10]
call fcn.0050f74c
mov eax, dword [ebp - 0x10]
call fcn.0041de88
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0050f2b8
mov edx, dword [ebp - 0x14]
mov eax, 0x5e48c8
call fcn.00409c20
call fcn.005c4da8
lea ecx, [ebp - 0x18]
mov edx, 0x5c6dc0
mov eax, dword [0x5e48c8]
call fcn.0050d038
mov edx, dword [ebp - 0x18]
mov eax, 0x5e48cc
call fcn.00409c20
lea ecx, [ebp - 0x1c]
mov edx, 0x5c6dd8
mov eax, dword [0x5e48c8]
call fcn.0050d038
mov edx, dword [ebp - 0x1c]
mov eax, 0x5e48d0
call fcn.00409c20
push 2
push 0
push 1
mov ecx, dword [0x5e48c8]
mov dl, 1
mov eax, dword [0x513fcc]
call fcn.00514928
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c6c28
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.005148ec
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.005148c4
cmp dword [ebp - 0xc], 0x67734d49
je 0x5c6c03
mov cl, 1
xor edx, edx
mov eax, dword [0x5e48d0]
call fcn.0051613c
jmp 0x5c6c12
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x5e48c8]
call fcn.0051613c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c6c2f
mov eax, dword [ebp - 4]
call fcn.00407b94
ret
Function at 0x5c6f1c
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c7059
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x5c7074
mov edx, ebx
call fcn.0040aacc
mov eax, dword [ebp - 0x25c]
call fcn.0040a87c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5c7033
xor eax, eax
push ebp
push 0x5c702c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x5c7090
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.0041e004
test eax, eax
jne 0x5c6ffd
test byte [ebp - 0x258], 0x10
jne 0x5c6ffd
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.0040a91c
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040aacc
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x5c6ff5
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.0041d960
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5c6f8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7033
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7060
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.004098a0
lea eax, [ebp - 4]
call fcn.00409840
ret
Function at 0x5c709c
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5c719a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00409840
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0050d4b4
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x5c71b4
call fcn.0041e350
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040aacc
mov eax, dword [ebp - 8]
call fcn.0040a87c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x5c713a
test esi, 0x10
jne 0x5c716a
test esi, 1
je 0x5c713a
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.0040a87c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.0040a87c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040a87c
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x5c7164
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409c20
jmp 0x5c7177
inc edi
cmp edi, 0xa
je 0x5c7177
inc ebx
cmp ebx, 0x3e8
jne 0x5c70db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c71a1
lea eax, [ebp - 0x14]
call fcn.00409840
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098a0
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000177a
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x1005488f
call fcn.10048f38
sub esp, 0x25c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x24], 0x5c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push str..
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000101a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10001907
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x100017d1
call fcn.10001a7a
jmp 0x100017d3
xor eax, eax
push eax
lea ecx, [ebp - 0x268]
call fcn.100189f1
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov esi, eax
je 0x100017f0
call fcn.10001129
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x10001800
call fcn.10001129
cmp esi, ebx
je 0x100018b5
lea ecx, [ebp - 0x268]
call fcn.10018a92
lea ecx, [ebp - 0x268]
mov esi, eax
call fcn.1001846a
test eax, eax
jne 0x10001800
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x268]
call fcn.10017fb0
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000101a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10014381
push 0x10
lea ecx, [ebp - 0x268]
call fcn.1001844e
test eax, eax
je 0x10001882
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], esp
je 0x1000187a
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.1000177a
pop ecx
jmp 0x10001899
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10001890
call fcn.10001a7a
jmp 0x10001892
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x10001800
call fcn.10001129
mov dword [ebp - 0x10], ebx
jmp 0x10001800
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], bl
call fcn.10018abc
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100018d1
call fcn.10001a7a
jmp 0x100018d3
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100018e6
call fcn.10001129
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10002092
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
mov esi, str._uninsep.bat
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x13
pop ecx
mov esi, str.:Repeat_r_ndel__F__Q___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel__F__Q___s_
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x168]
push eax
push 0x104
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.10049870
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push eax
call fcn.10049860
lea eax, [ebp - 0x26c]
push 0x5c
push eax
call fcn.10049830
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
je 0x10002104
mov byte [eax], bl
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100021ac
push dword [ebp + 8]
call fcn.100493c0
mov esi, eax
lea eax, [ebp - 0x168]
push eax
call fcn.100493c0
lea esi, [eax + esi*2 + 0x14]
lea eax, [ebp - 0x64]
push eax
call fcn.100493c0
add esi, eax
push esi
call fcn.10048b52
mov esi, eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x64]
push dword [ebp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
push ebx
lea eax, [ebp - 4]
push eax
push esi
call fcn.100493c0
pop ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x168]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100040b4
Capabilities:
Initialize iwebbrowser2

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
jne 0x100040f3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x1005d4e0
push 4
push 0
push 0x1005d4b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100040f3
mov eax, dword [esi]
push dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
push 1
pop eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10004c2a
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x10054ee6
call fcn.10048f38
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.1002499b
xor ebx, ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xb0], 0x1005b524
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
lea eax, [esi + 0xec]
mov dword [eax + 0x18], ecx
mov dword [eax], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x12c]
push ebx
mov byte [ebp - 4], 6
mov byte [ecx], al
call fcn.1002622b
mov al, byte [ebp - 0xd]
lea edi, [esi + 0x158]
push ebx
mov ecx, edi
mov byte [ebp - 4], 7
mov byte [edi], al
call fcn.1002622b
mov byte [edi + 0x30], bl
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0x18c]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x1a4]
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1c8], ebx
mov byte [ebp - 4], 0xb
mov dword [esi], 0x1005b510
mov dword [esi + 0xb0], 0x1005b50c
mov dword [esi + 0xc0], 0x1005b4f0
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xe4], ebx
mov byte [esi + 0x1c4], bl
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1bc], 0x64
mov dword [esi + 0x11c], ebx
mov byte [esi + 0x1b4], bl
mov byte [esi + 0x19c], bl
call fcn.10024eac
mov byte [0x100710f0], bl
mov byte [esi + 0x13d], 1
mov edi, 0x10071188
push edi
mov ecx, 0x100710ec
call fcn.10002af5
push edi
mov ecx, 0x10071158
call fcn.10002af5
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov byte [esi + 0x13c], bl
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e8], ebx
mov byte [esi + 0x1ec], bl
mov byte [esi + 0xdc], bl
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0xe0], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000550d
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [0x1007117c], edi
je 0x10005524
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x10071184], edi
je 0x10005531
push 1
pop edi
jmp 0x10005589
cmp dword [0x1007117c], edi
jne 0x10005542
call fcn.10005590
test eax, eax
je 0x1000556f
mov eax, dword [0x100717a8]
cmp eax, edi
mov esi, dword [0x1006a1f8]
jne 0x10005564
push str.ActivateActCtx
call fcn.100057ff
cmp eax, edi
mov dword [0x100717a8], eax
je 0x1000556f
push dword [esp + 0xc]
push esi
call eax
cmp eax, edi
jne 0x1000552c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x1000557f
cmp eax, 0x78
jne 0x10005589
push 1
pop eax
mov dword [0x10071184], eax
mov edi, eax
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x10008743
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, ecx
add ecx, 4
neg eax
sbb eax, eax
and eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000878d
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x10008786
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10008786
push eax
mov ecx, 0x1007126c
call fcn.10002af5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x1001c082
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x14]
and dword [ebx], 0
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1b8], 0
je 0x1001c180
cmp dword [ebp + 0xc], 9
jne 0x1001c180
call dword [sym.imp.USER32.dll_GetFocus]
push edi
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.10008912
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x1001c12b
test eax, eax
jl 0x1001c12b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test al, al
jne 0x1001c0df
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
jmp 0x1001c0bb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x1001c0f4
dec dword [ebp - 0xc]
sub dword [ebp - 8], 4
jmp 0x1001c0fb
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x1001c113
test eax, eax
jl 0x1001c113
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
jmp 0x1001c123
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebx], 1
jmp 0x1001c180
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call esi
mov ebx, eax
push ebx
call esi
push dword [edi + 4]
mov dword [ebp + 0xc], eax
call esi
cmp eax, dword [ebp + 0xc]
jne 0x1001c180
cmp ebx, dword [edi + 4]
je 0x1001c180
mov eax, dword [edi + 0x1b8]
mov ecx, dword [eax + 0x1a8]
test ecx, ecx
je 0x1001c177
mov edx, dword [eax + 0x1ac]
sub edx, ecx
test edx, 0xfffffffc
je 0x1001c177
mov eax, ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10