joyce8/EMBER2024-capa huggingface dataset:
Function at 0x210476a0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.21047b1b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x210476bc
or eax, 0xffffffff
jmp 0x2104780c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
jne 0x210476f7
jmp 0x2104780a
push 2
push 0xc
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x21047712
jmp 0x21047808
mov dword [ebp - 0x20], 0
jmp 0x21047724
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x30]
jae 0x210477ec
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x21047748
jmp 0x2104771b
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx + 1]
and eax, 8
test eax, eax
je 0x21047759
jmp 0x2104771b
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [ebp - 0x34], dl
cmp byte [ebp - 0x34], 0
je 0x2104776f
cmp byte [ebp - 0x34], 1
je 0x210477ac
jmp 0x210477e7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 8
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x210477aa
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
and ecx, 0x20000
test ecx, ecx
je 0x210477aa
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x20], edx
jmp 0x210477e7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x210477e7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
and ecx, 0x20000
test ecx, ecx
je 0x210477e7
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x20], edx
jmp 0x2104771b
cmp dword [ebp - 0x10], 0xffffffff
jne 0x210477f9
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
jmp 0x2104780c
jmp 0x210477f9
jmp 0x210477f9
mov esp, ebp
pop ebp
ret 4
Function at 0x21047b6b
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [ebp - 8], 0
mov byte [ebp - 0x110], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x100
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x21047be4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x21047be4
xor eax, eax
jmp 0x21047d0a
mov edx, dword [ebp - 8]
push edx
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x21047c16
push str.GetCurrentSid:_could_not_allocate_SID
call fcn.21010778
xor eax, eax
jmp 0x21047d0a
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x21047c45
jmp 0x21047d08
cmp dword [ebp - 0x114], 1
je 0x21047cd3
cmp dword [ebp - 0x114], 3
jne 0x21047cd1
push 0
push 0xffffffffffffffff
push 0x2108538c
mov ecx, dword [ebp + 8]
push ecx
call fcn.21031592
test eax, eax
jne 0x21047cd1
lea edx, [ebp - 0x314]
push edx
call fcn.2104ea69
test eax, eax
jne 0x21047c86
jmp 0x21047d06
mov eax, dword [ebp + 8]
push eax
push str._s
lea ecx, [ebp - 0x314]
push ecx
call fcn.21053c40
add esp, 4
lea edx, [ebp + eax - 0x314]
push edx
call fcn.2105374f
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.210636ec
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.21047b6b
jmp 0x21047d0a
jmp 0x21047d04
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jne 0x21047cff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
push ecx
call fcn.210636ec
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
jmp 0x21047d0a
jmp 0x21047cda
jmp 0x21047cda
jmp 0x21047cda
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x210492ec
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
push 0x210853c0
lea ecx, [ebp - 8]
push ecx
call fcn.21056135
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x2104932d
xor eax, eax
jmp 0x21049341
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x2104933c
xor eax, eax
jmp 0x21049341
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x2104aed2
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.2104aceb
test eax, eax
jne 0x2104aeed
jmp 0x2104af77
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x2c], eax
jne 0x2104af23
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x2104af77
mov ecx, dword [ebp - 0x14]
call fcn.2104acbc
test eax, eax
je 0x2104af31
jmp 0x2104af77
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.210035a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 8], edx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea ecx, [ebp - 4]
call fcn.210035d2
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x2104bef4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp dword [ebp + 0x18], 0
je 0x2104bf13
mov eax, dword [ebp + 0x18]
movsx ecx, byte [eax]
test ecx, ecx
je 0x2104bf13
mov dword [ebp - 0x64], 0
jmp 0x2104bf1a
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 0
je 0x2104bf3f
push 0
mov edx, dword [ebp + 0x14]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov cx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.2105114d
jmp 0x2104c042
mov dword [ebp - 0x14], 0xbb8
mov eax, dword [ebp + 8]
push eax
call fcn.2105468c
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x2104bf6c
push str.could_not_allocate_buffer_for_CreateProcess
call fcn.21010778
xor eax, eax
jmp 0x2104c042
push 0x44
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.21053be0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov dx, word [ebp + 0xc]
mov word [ebp - 0x28], dx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x2104c02a
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x2104c013
mov edx, dword [ebp - 0x5c]
push edx
call fcn.210546b7
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.2104ef41
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
jmp 0x2104c042
cmp dword [ebp + 0x10], 0
jne 0x2104c01b
jmp 0x2104c02a
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2104bf92
push 0x21085600
call fcn.210107ec
mov eax, dword [ebp - 0x5c]
push eax
call fcn.210546b7
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x20
Function at 0x2104c6d5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2104c6f3
jmp 0x2104c786
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x2104c719
jmp 0x2104c786
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 4], 0
push 0
push 0xffffffffffffffff
push 0x21085634
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.21031592
test eax, eax
je 0x2104c74f
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x2104c774
push 0x21085638
mov edx, dword [ebp - 0xc]
push edx
call fcn.210537c0
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.210636ec
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x2104e70b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
cmp dword [0x2108afc8], 0
je 0x2104e732
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
jmp 0x2104e759
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0x200
lea eax, [ebp - 0x400]
push eax
call fcn.2100318b
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.2104e75f
mov esp, ebp
pop ebp
ret 8

Function at 0x2104e75f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
cmp dword [0x2108afc8], 0
je 0x2104e78a
push str.MyDeleteKeyW
push 0x2971
call fcn.210106a9
add esp, 8
xor eax, eax
jmp 0x2104e8b4
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x2104e7d1
cmp dword [ebp - 0x418], 2
je 0x2104e7d3
jmp 0x2104e7dd
jmp 0x2104e7ee
mov eax, 1
jmp 0x2104e8b4
push str.RegOpenKeyExW
call fcn.210107ec
xor eax, eax
jmp 0x2104e8b4
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x2104e86d
mov dword [ebp - 0xc], 0x200
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x414]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x2104e83e
cmp dword [ebp - 0x41c], 0x103
je 0x2104e856
jmp 0x2104e85f
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.2104e75f
test eax, eax
jne 0x2104e854
jmp 0x2104e8b2
jmp 0x2104e86b
mov dword [ebp - 4], 0
jmp 0x2104e86b
push str.RegEnumKeyExW
call fcn.210107ec
jmp 0x2104e8b0
jmp 0x2104e7f5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x2104e892
jmp 0x2104e8ae
mov dword [ebp - 8], 1
cmp dword [ebp - 0x10], 0
je 0x2104e8a9
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
jmp 0x2104e8b4
jmp 0x2104e899
jmp 0x2104e899
jmp 0x2104e899
mov esp, ebp
pop ebp
ret 8
Function at 0x2104e905
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push 0
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2104e92e
xor eax, eax
jmp 0x2104e981
mov edx, dword [ebp - 8]
add edx, 0x10
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x2104e966
push str.MyExpandEnvironmentStrings
call fcn.21010778
xor eax, eax
jmp 0x2104e981
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x2104ead9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x2104eaf8
mov eax, 1
jmp 0x2104eb26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
je 0x2104eb1b
cmp dword [ebp - 8], 0x35
je 0x2104eb1b
cmp dword [ebp - 8], 0x3b
je 0x2104eb1b
jmp 0x2104eb1d
jmp 0x2104eb24
mov eax, 1
jmp 0x2104eb26
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x2104f49b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2104f4c9
push 0x2108594c
call fcn.210107ec
xor eax, eax
jmp 0x2104f52e
cmp dword [ebp + 0x10], 0
je 0x2104f529
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x2104f4df
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x2104f4e5
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2104f515
push str.WriteFile
call fcn.210107ec
xor eax, eax
jmp 0x2104f52e
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
jmp 0x2104f4c9
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x2105114d
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x14], 0xbb8
mov eax, dword [ebp + 8]
push eax
call fcn.2105468c
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x21051186
cmp dword [ebp + 0x1c], 0
jne 0x2105117f
push str.MyCreateProcess__tcsdup
call fcn.21010778
xor eax, eax
jmp 0x210512d1
push 0x44
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.21053be0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov dx, word [ebp + 0xc]
mov word [ebp - 0x28], dx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x210512b3
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x2105129c
mov edx, dword [ebp - 0x5c]
push edx
call fcn.210546b7
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp + 0x14], 0
je 0x21051223
cmp dword [ebp + 0x18], 0xffffffff
je 0x21051223
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp + 0x18]
mov dword [ebp - 0x60], ecx
cmp dword [ebp + 0x14], 0
je 0x2105128b
push 0
push 0
push 0
call fcn.210518a6
test eax, eax
jne 0x2105123a
jmp 0x2105128b
push 0xff
mov edx, dword [ebp + 0x18]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
je 0x21051261
mov dword [ebp + 0x14], 0
cmp dword [ebp + 0x14], 0
je 0x21051289
cmp dword [ebp + 0x18], 0xffffffff
je 0x21051289
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x60]
jb 0x21051280
jmp 0x2105128b
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x68]
mov dword [ebp + 0x18], edx
jmp 0x21051223
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x210512d1
cmp dword [ebp + 0x10], 0
jne 0x210512a4
jmp 0x210512b3
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x210511ac
cmp dword [ebp + 0x1c], 0
jne 0x210512c3
push str.CreateProcess
call fcn.210107ec
mov edx, dword [ebp - 0x5c]
push edx
call fcn.210546b7
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x21051c58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 4]
call fcn.21003593
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x21051c8c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0
je 0x21051cc2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 4]
call fcn.210035d2
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x21051cd9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x21051ce4
jmp 0x21051d3d
cmp dword [ebp + 0xc], 0
jl 0x21051d1d
cmp dword [ebp + 0xc], 0
je 0x21051d11
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 2
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x21051d1d
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x10], 0
jge 0x21051d29
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jl 0x21051d3d
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
pop ebp
ret 0xc

Function at 0x21065fe7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x2106601f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.21063e2d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.21063e05
jmp 0x2106602b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x210677bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x210677fe
call fcn.2106d458
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x210677fe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x210677f5
xor eax, eax
jmp 0x21067806
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.2106780c
pop edi
pop esi
pop ebx
ret 4
Function at 0x2106890d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x21072318
call fcn.210566c8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.2106d458
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x2106894c
call fcn.2106d458
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x2106895a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x21068968
or eax, 0xffffffff
jmp 0x21068a50
mov ecx, esi
call fcn.21068883
mov dword [ebp - 0x14], eax
call fcn.21065b36
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x2106899f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x2106899f
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.21065aea
push dword [ebp - 0x14]
call fcn.2106561c
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.2106861b
cmp eax, edi
je 0x21068a12
test byte [esi + 0x24], 0x10
je 0x210689e0
push 4
mov ecx, esi
pop ebx
call fcn.21067eb1
test ah, 1
je 0x210689d8
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.2106790e
cmp dword [esi + 0x1c], edi
je 0x21068a12
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.21067f3d
jmp 0x21068a12
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x21068a26
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x21068a3f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x21068a3f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.210688bd
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret