joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eab0
Capabilities:
Delete file
Enumerate files on windows
Print debug messages

Disassembly:
sub esp, 0x944
push ebx
push esi
push edi
mov edi, dword [esp + 0x954]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x150]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d080
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
je 0x40ecac
push ebp
mov eax, dword [esp + 0x958]
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x15c]
push 0x41cfa0
push ecx
call fcn.0040f560
add esp, 0x10
mov esi, 0x41bc14
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40eb8b
test cl, cl
je 0x40eb87
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40eb8b
add eax, 2
add esi, 2
test cl, cl
jne 0x40eb63
xor eax, eax
jmp 0x40eb90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ec90
mov esi, 0x41d044
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40ebc9
test cl, cl
je 0x40ebc5
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40ebc9
add eax, 2
add esi, 2
test cl, cl
jne 0x40eba1
xor eax, eax
jmp 0x40ebce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ec90
mov eax, dword [esp + 0x14]
and eax, 0x10
cmp al, 0x10
jne 0x40ebf6
lea ecx, [esp + 0x154]
push ecx
call fcn.0040ecc0
add esp, 4
jmp 0x40ec90
mov edx, dword [0x48cfa8]
xor ebp, ebp
mov esi, dword [edx]
test esi, esi
je 0x40ec46
mov edi, edx
lea eax, [esp + 0x40]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40ec2e
test cl, cl
je 0x40ec2a
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40ec2e
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec0a
xor eax, eax
jmp 0x40ec33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ec42
mov esi, dword [edi + 4]
add edi, 4
inc ebp
test esi, esi
jne 0x40ec06
mov edi, dword [esp + 0x10]
cmp dword [edx + ebp*4], 0
jne 0x40ec90
lea edx, [esp + 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ec90
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x55c]
push 0x41d054
push ecx
call fcn.0040f560
add esp, 0x10
lea edx, [esp + 0x554]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40eb38
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x944
ret
Function at 0x40ecc0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Print debug messages

Disassembly:
sub esp, 0x940
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
push ebx
push ebp
mov ebp, dword [esp + 0x94c]
push esi
push edi
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d080
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40ee4f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x150]
push edx
push ebp
push 0x41cfa0
push eax
call fcn.0040f560
add esp, 0x10
mov esi, 0x41bc14
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ed94
test cl, cl
je 0x40ed90
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ed94
add eax, 2
add esi, 2
test cl, cl
jne 0x40ed70
xor eax, eax
jmp 0x40ed99
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ee34
mov esi, 0x41d044
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40edce
test cl, cl
je 0x40edca
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40edce
add eax, 2
add esi, 2
test cl, cl
jne 0x40edaa
xor eax, eax
jmp 0x40edd3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ee34
mov eax, dword [esp + 0x10]
and eax, 0x10
cmp al, 0x10
jne 0x40edf4
lea ecx, [esp + 0x150]
push ecx
call fcn.0040ecc0
add esp, 4
jmp 0x40ee34
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ee34
lea eax, [esp + 0x150]
push eax
call ebx
push eax
lea ecx, [esp + 0x558]
push 0x41d084
push ecx
call fcn.0040f560
add esp, 0x10
lea edx, [esp + 0x550]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ed4c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x940
ret
Function at 0x40ee70
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x540
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
push ebx
push ebp
push esi
push edi
mov edi, 0x48c39c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d048
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40efd5
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x150]
push edx
push 0x48c39c
push 0x41cfa0
push eax
call fcn.0040f560
add esp, 0x10
mov esi, 0x41bc14
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ef44
test cl, cl
je 0x40ef40
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ef44
add eax, 2
add esi, 2
test cl, cl
jne 0x40ef20
xor eax, eax
jmp 0x40ef49
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40efbe
mov esi, 0x41d044
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ef7a
test cl, cl
je 0x40ef76
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ef7a
add eax, 2
add esi, 2
test cl, cl
jne 0x40ef56
xor eax, eax
jmp 0x40ef7f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40efbe
mov eax, dword [esp + 0x10]
and eax, 0x10
cmp al, 0x10
jne 0x40efbe
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x48c79c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040e580
test eax, eax
jne 0x40efce
lea eax, [esp + 0x10]
push eax
push ebp
call ebx
test eax, eax
jne 0x40eef8
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x540
ret
Function at 0x40f000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Print debug messages
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40f027
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x90
ret
mov eax, dword [esp + 0xa4]
mov word [esp + 0xc], 2
push eax
call sub.WSOCK32.dll_htons
mov ebx, dword [esp + 0xa0]
mov word [esp + 0xe], ax
push ebx
call sub.WSOCK32.dll_inet_addr
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f08f
push ebx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x40f070
push ebp
call sub.WSOCK32.dll_closesocket
or eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, ecx
push edi
lea edi, [esp + 0x14]
mov esi, dword [edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x40f0ba
push esi
push 4
lea ecx, [esp + 0x18]
push 4
push ecx
lea edx, [esp + 0x2c]
push 0x41d0d4
push edx
call fcn.0040f560
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0x10], esi
lea ecx, [esp + 0xc]
push 0x10
push ecx
push ebp
call sub.WSOCK32.dll_connect
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xa4]
push eax
push esi
push edx
push ebx
lea eax, [esp + 0x2c]
push 0x41d0a0
push eax
call fcn.0040f560
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 0xffffffff
jne 0x40f10e
push ebp
call sub.WSOCK32.dll_closesocket
or eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x10001322
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10001378
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x1000138e
push 0x80004005
call fcn.10001144
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10001391
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

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

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x100235a0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.100012ed
mov edi, eax
cmp edi, esi
je 0x10001b58
lea ecx, [ebp - 0x70]
call fcn.10001288
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008a76
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10001b70
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.10001af0
cmp eax, esi
jne 0x10001ba3
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x10001b60
lea ecx, [ebp - 0x70]
call fcn.10001288
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10001288
mov eax, esi
jmp 0x10001b3e
Function at 0x10004202
Capabilities:
Read .ini file

Disassembly:
push 0x874
mov eax, 0x1001c032
call fcn.10009097
mov ebx, dword [ebp + 0xc]
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call fcn.10008800
push esi
lea eax, [ebp - 0x41e]
push edi
push eax
mov word [ebp - 0x420], di
call fcn.10008800
add esp, 0x18
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x880], eax
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.100050fa
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10005180
mov eax, dword [ebp - 0x880]
add esp, 0x10
cmp word [eax], di
je 0x100043b3
push str..dcel
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100043b3
lea ecx, [ebp - 0x87c]
call fcn.10006a36
lea ecx, [ebp - 0x87c]
mov dword [ebp - 4], edi
call fcn.10007f67
lea ecx, [ebp - 0x87c]
call fcn.100067b6
push eax
lea ecx, [ebp - 0x644]
call fcn.10003e33
push esi
xor ebx, ebx
lea eax, [ebp - 0x626]
push edi
inc ebx
push eax
mov byte [ebp - 4], bl
mov word [ebp - 0x628], di
call fcn.10008800
mov eax, dword [ebp - 0x640]
add esp, 0xc
cmp dword [ebp - 0x62c], 8
jae 0x100042fe
lea eax, [ebp - 0x640]
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x1001d9b4
push str.CellUpdateID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x660]
call fcn.10003e33
push edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x660]
mov byte [ebp - 4], 2
call fcn.10001d7e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x67c]
call fcn.10003e33
push edi
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x660]
call fcn.10001d5b
cmp eax, 0xffffffff
je 0x100043af
xor esi, esi
push edi
push ebx
lea ecx, [ebp - 0x67c]
call fcn.10001d9f
push edi
push ebx
lea ecx, [ebp - 0x660]
call fcn.10001d9f
push edi
push ebx
lea ecx, [ebp - 0x644]
call fcn.10001d9f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x87c]
call fcn.1000698b
mov eax, esi
jmp 0x100043b6
mov esi, ebx
jmp 0x10004375
xor eax, eax
inc eax
call fcn.100090e1
ret 0xc
Function at 0x10004f09
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.10008abb
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000841f
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.1000ac14
add esp, 0x10
xor ebp, ebp
test edi, edi
mov bl, 1
jl 0x10004f78
cmp word [esi + ebp*2], 0x5c
jne 0x10004f6f
and word [esi + ebp*2], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004f69
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10004f76
mov word [esi + ebp*2], 0x5c
inc ebp
cmp ebp, edi
jle 0x10004f46
jmp 0x10004f78
xor bl, bl
push esi
call fcn.10008bdf
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret

Function at 0x10004ff1
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x100235a0]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10008800
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10008800
push edi
lea eax, [ebp - 0x2c]
push 0x1001db64
push eax
call fcn.1000ab54
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10005075
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.10008a76
add ebp, 0x7a8
leave
ret

Function at 0x1000508c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x100050f4
push edi
lea eax, [ebp - 8]
push eax
push esi
push esi
push dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], esi
push esi
push esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
cmp edi, esi
je 0x100050f3
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
push 0x104
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10005e48
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x844
lea ebp, [esp - 4]
mov eax, dword [0x100235a0]
xor eax, ebp
mov dword [ebp + 0x844], eax
push 0x24
mov eax, 0x1001c0a0
call fcn.1000902e
mov eax, dword [ebp + 0x854]
mov ebx, dword [ebp + 0x850]
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push 0x228
lea eax, [ebp + 4]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp], esi
call fcn.10008800
mov edi, 0x206
push edi
lea eax, [ebp + 0x22e]
push esi
push eax
mov word [ebp + 0x22c], si
call fcn.10008800
push edi
lea eax, [ebp + 0x436]
push esi
push eax
mov word [ebp + 0x434], si
call fcn.10008800
lea eax, [ebp + 0x22c]
push ebx
push eax
call fcn.1000ac14
push dword [ebp - 0x10]
lea eax, [ebp + 0x434]
push eax
call fcn.1000ac14
lea eax, [ebp + 0x22c]
push eax
call fcn.1000b675
lea eax, [ebp + 0x434]
push eax
call fcn.1000b675
add esp, 0x3c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10005f41
inc esi
lea ecx, [ebp - 0x28]
call fcn.10005761
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x844]
xor ecx, ebp
call fcn.10008a76
add ebp, 0x848
leave
ret
lea eax, [ebp]
push eax
push ebx
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10005f8d
lea eax, [ebp + 0x22c]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.1000b675
pop ecx
push eax
call fcn.1000b6de
test eax, eax
pop ecx
pop ecx
jne 0x10005f83
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005df3
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10005f54
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.10005533
jmp 0x1000601c
push edi
lea eax, [ebp + 0x63e]
push esi
push eax
mov word [ebp + 0x63c], si
call fcn.10008800
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1000521f
lea ecx, [ebp + 0x63c]
push ecx
push dword [eax]
call fcn.1000508c
lea eax, [ebp + 0x63c]
push eax
call fcn.1000b675
lea eax, [ebp + 0x434]
push eax
lea eax, [ebp + 0x63c]
push eax
call fcn.1000b1a1
add esp, 0x14
test eax, eax
jne 0x10006041
lea eax, [ebp + 0x63c]
push 0x1001d9b4
push eax
call fcn.1000b6de
test eax, eax
pop ecx
pop ecx
je 0x10006041
lea ecx, [ebp - 0x14]
call fcn.10005267
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
call fcn.10005533
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.10005240
test al, al
je 0x10005fa9
jmp 0x10006048
mov dword [ebp - 0x18], 1
mov esi, dword [ebp - 0x18]
jmp 0x10005f14
Function at 0x1000609d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x10006050
push edi
push edi
mov dword [0x10024b10], edi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [0x10024b10]
sub eax, dword [ebp - 0x10]
cmp ecx, 1
jle 0x10006122
cmp ecx, edi
jle 0x10006122
mov esi, 0x10024a78
mov edx, dword [esi]
cmp edx, eax
jle 0x1000611c
mov eax, edx
add esi, 0x10
dec ecx
jne 0x10006114
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10006182
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x100061cc
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x10006216
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret