joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x105dd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x105dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x105dd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x105dd94
push eax
push esi
call fcn.0106020b
add esp, 8
pop esi
ret 0x10

Function at 0x105dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x105de22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x105de15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x1076320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0105fdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x105ddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x105de30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x105dec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x105deb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x1076320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0105fdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x105deab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x105de6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x105e000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x105e131
push esi
call fcn.01061145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.01050080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x105e131
push 0
push ebp
call fcn.010503a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01050260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x105e08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.010502f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x105e121
push 0x1076918
push edi
call fcn.0105f3f0
push eax
push ebx
push esi
call fcn.0105df60
push 0x10768f8
push edi
call fcn.0105f3f0
push eax
push ebx
push esi
call fcn.0105df60
push 0x10768d8
push edi
call fcn.0105f3f0
push eax
push ebx
push esi
call fcn.0105df60
push 0x10768c0
push edi
call fcn.0105f3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0105df60
push 0x10768a0
push edi
call fcn.0105f3f0
push eax
push ebx
push esi
call fcn.0105df60
push 0x1076888
push edi
call fcn.0105f3f0
push eax
push ebx
push esi
call fcn.0105df60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x105f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0105f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0105f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0105f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0105f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x105fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x105fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x107187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x105fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x105fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10001764
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10042628], 0
push ebx
je 0x10001782
xor eax, eax
jmp 0x100017d9
push 3
call fcn.10001568
xor ebx, ebx
pop ecx
test eax, eax
je 0x100017e8
sub esp, 0x18
mov ecx, esp
push 3
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
push 0x1002a38c
mov byte [ecx], bl
call fcn.10001706
push 0x19d1
lea ecx, [ebp - 0x69]
call fcn.100018a0
lea ecx, [ebp - 0x69]
call fcn.100018f4
mov dword [0x10042628], 1
call fcn.10006e3f
call fcn.10001a79
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push ebx
push 0x100015f0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 3
lea eax, [ebp - 0x68]
push str.You_cannot_open_more_than__d_clients_at_the_same_time.
push eax
call fcn.1000185e
add esp, 0xc
lea eax, [ebp - 0x68]
push 0x40000
push str.WARNING
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1000160d
int3

Function at 0x100018f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.10008f80
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1000
xor ebx, ebx
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.1000ed00
add esp, 0xc
lea eax, [ebp - 0x1004]
mov esi, ebx
push ebx
push eax
push 0x800
push 0x1002a45c
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x10001970
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x1004]
push eax
push ebx
push 0x1002a480
mov edi, str.Screen
push edi
call esi
lea eax, [ebp - 0x1004]
push eax
push ebx
push str.FullScreen
push edi
call esi
mov esi, eax
mov edi, str.MohamedMarco3255
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000197a
sub ecx, edx
push ecx
push edi
push dword [0x10042638]
call fcn.10001b10
add esp, 0xc
cmp esi, 1
jl 0x100019bc
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push dword [ebp - 0x1008]
push dword [ebp - 0x100c]
jmp 0x100019c7
push ebx
push 0x300
push 0x400
call fcn.100019e0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret
Function at 0x10001b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push 0x40
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push dword [ebp + 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret

Function at 0x1000320a
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x2e8
mov eax, 0x10028fc0
call fcn.1000927c
xor esi, esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x2d0], 0x22c
lea eax, [ebp - 0x2d0]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
xor eax, eax
mov dword [ebp - 0x7c], esi
mov word [ebp - 0x8c], ax
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x78], 7
push eax
call fcn.10003cb7
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x2d1]
cmovae ecx, dword [ebp - 0x8c]
push edx
mov dword [ebp - 4], esi
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x8c]
cmovae ecx, dword [ebp - 0x8c]
push eax
push ecx
lea ecx, [ebp - 0xa4]
call fcn.10004e89
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.100043ad
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.10002de7
lea ecx, [ebp - 0x2f4]
call fcn.10001ba2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2d8], esp
push 0x1004145c
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
call fcn.10003577
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
lea eax, [ebp - 0xa4]
push eax
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
call fcn.10003577
mov byte [ebp - 4], 1
call fcn.10004086
add esp, 0x30
test al, al
je 0x1000336b
push dword [ebp - 0x2c8]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10003333
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x74]
push 0x1002a690
push eax
call fcn.1000185e
lea eax, [ebp - 0x74]
push eax
call fcn.10006967
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0xa4]
call fcn.10001ba2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10003b4a
lea eax, [ebp - 0x2d0]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000323c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10009237
ret
Function at 0x100033a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000340d
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100033f3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
push edi
call fcn.1000256d
call fcn.10006a44
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10008f6b
mov esp, ebp
pop ebp
ret 4

Function at 0x1000341f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10003471
push esi
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10003469
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008f6b
mov esp, ebp
pop ebp
ret 4

Function at 0x10003b8b
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, 0x5dc
jmp 0x10003bd7
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
je 0x10003bca
push str.DebuggerFound
call fcn.10004b4a
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10003ba8
push str.debugger_Detected
call fcn.10004b4a
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Debugger
call fcn.10006967
pop ecx
push 0
call fcn.100132fe
int3
Function at 0x10004b69
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push dword [ebx + 4]
push edi
call fcn.10004bff
mov dword [ebx + 4], eax
add eax, 5
push eax
call fcn.100093f7
mov ecx, dword [ebx + 4]
add esp, 0xc
mov esi, eax
add ecx, 5
lea eax, [ebp - 0xc]
push eax
push 0x40
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebx + 4]
push edi
push esi
call fcn.1000d200
mov eax, dword [ebx + 4]
mov ecx, edi
sub ecx, esi
add esp, 0xc
sub ecx, 5
mov byte [esi + eax], 0xe9
mov eax, dword [ebx + 4]
mov dword [esi + eax + 1], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
sub eax, edi
sub eax, 5
mov byte [ebp - 0xc], 0xe9
mov dword [ebp - 0xb], eax
xor ecx, ebp
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov al, byte [ebp - 8]
mov byte [edi + 4], al
pop edi
mov dword [ebx], esi
pop esi
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret

Function at 0x10004bff
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push eax
push 0x40
push 5
pop edi
push edi
push ebx
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push edi
mov eax, 0x1003c144
push eax
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push edi
mov eax, 0x1003c14c
push eax
call esi
mov eax, dword [ebx]
mov ecx, 0x1003c144
cmp eax, dword [ecx]
jne 0x10004c5e
movzx eax, byte [ebx + 4]
cmp al, byte [ecx + 4]
jne 0x10004c5e
push 0xb
pop eax
jmp 0x10004c77
mov eax, dword [ebx]
mov ecx, 0x1003c14c
cmp eax, dword [ecx]
jne 0x10004c72
movzx eax, byte [ebx + 4]
cmp al, byte [ecx + 4]
je 0x10004c75
mov edi, dword [ebp + 0xc]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret
Function at 0x10005b56
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
xor eax, eax
lea edi, [ebp - 0x1c]
and dword [ebp - 0x3c], eax
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
push ecx
push eax
call sub.KERNEL32.dll_Thread32First
mov ebx, dword [ebp - 0x24]
test eax, eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], 1
je 0x10005c98
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x10e4ae9c]
mov eax, dword [ebp - 0x28]
cmove eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x10e4aea0]
push 1
cmove ecx, dword [ebp - 0x34]
cmp eax, dword [0x10e4aea4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x2c]
cmove ecx, dword [ebp - 0x34]
cmp eax, dword [0x10e4aea8]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x30]
cmove ecx, dword [ebp - 0x34]
cmp eax, dword [0x10e4aeac]
mov dword [ebp - 0x30], ecx
pop ecx
cmove edx, ecx
cmp eax, dword [0x10e4aeb0]
push 1
cmove ebx, ecx
mov dword [ebp - 0x40], edx
cmp eax, dword [0x10e4aeb4]
cmove edi, ecx
cmp eax, dword [0x10e4aeb8]
cmove esi, ecx
cmp eax, dword [0x10e4aebc]
mov ecx, dword [ebp - 0x3c]
pop eax
cmove ecx, eax
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
je 0x10005c7c
test ecx, ecx
je 0x10005c7c
cmp dword [ebp - 0x2c], 0
je 0x10005c7c
cmp dword [ebp - 0x30], 0
je 0x10005c7c
test edx, edx
je 0x10005c7c
test ebx, ebx
je 0x10005c7c
test edi, edi
je 0x10005c7c
test esi, esi
je 0x10005c7c
cmp dword [ebp - 0x3c], 0
jne 0x10005cad
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call sub.KERNEL32.dll_Thread32Next
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
test eax, eax
jne 0x10005bc8
jmp 0x10005cad
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 0
je 0x10005cea
cmp dword [ebp - 0x38], 0
je 0x10005cea
cmp dword [ebp - 0x2c], 0
je 0x10005cea
cmp dword [ebp - 0x30], 0
je 0x10005cea
cmp dword [ebp - 0x40], 0
je 0x10005cea
test ebx, ebx
je 0x10005cea
test edi, edi
je 0x10005cea
test esi, esi
je 0x10005cea
cmp dword [ebp - 0x3c], 0
je 0x10005cea
xor eax, eax
jmp 0x10005ced
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret
Function at 0x10005cfe
Capabilities:
Get graphical window text

Disassembly:
push 0x34c
mov eax, 0x10029294
call fcn.1000927c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x310]
push 0x100
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x10005e3b
xor eax, eax
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], ax
lea ecx, [ebp - 0x328]
lea eax, [ebp - 0x310]
xor ebx, ebx
push eax
mov dword [ebp - 0x318], ebx
call fcn.10003cb7
lea eax, [ebp - 0x328]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.10008b38
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x328]
call fcn.100057d6
lea ecx, [ebp - 0x358]
call fcn.10003b4a
mov esi, dword [0x10e4aef4]
mov edi, dword [0x10e4aef8]
jmp 0x10005e28
lea eax, [ebp - 0x358]
push esi
push eax
call fcn.10008b38
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x328]
call fcn.100084f7
cmp eax, 0xffffffff
je 0x10005e17
lea eax, [ebp - 0x340]
push esi
push eax
call fcn.10008dcb
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x340]
push 0x100
cmovae eax, dword [ebp - 0x340]
push eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 2
push eax
call fcn.100136a0
lea eax, [ebp - 0x110]
mov byte [ebp - 0x11], bl
push eax
call fcn.10006967
add esp, 0x18
lea ecx, [ebp - 0x340]
call fcn.10001ba2
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], bl
call fcn.10003b4a
add esi, 0x18
cmp esi, edi
jne 0x10005d98
lea ecx, [ebp - 0x328]
call fcn.10003b4a
call fcn.10009237
ret
Function at 0x10006825
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [0x10042924], ebx
jne 0x10006856
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 2
push eax
mov dword [ebp - 0xc], ebx
call fcn.10002326
pop ecx
mov edi, 0x7042a2
mov dword [0x10042924], ebx
push edi
push ebx
mov esi, 0x10042928
push esi
call fcn.1000ed00
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push dword [0x1004143c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
push esi
push dword [0x1004143c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x10042924], 1
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret

Function at 0x100068b5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x20c], eax
push edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
je 0x10006955
push ebx
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10006914
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x10006914
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x208]
je 0x10006925
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x100068e3
jmp 0x10006954
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call fcn.10013dc3
xor edi, edi
add esp, 0xc
inc edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10008f6b
mov esp, ebp
pop ebp
ret