joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b6a8
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff994
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x66c], edx
mov dword [ebp - 0x668], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea esi, [ebp - 0xc]
xor eax, eax
push ebp
push 0x48b834
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x668]
lea edx, [ebp - 0x661]
mov ecx, 0x105
call fcn.00404d9c
mov eax, dword [ebp - 0x668]
lea edx, [ebp - 0x10]
call fcn.00409a24
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404fec
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48b805
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x40]
call fcn.00404fec
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48b7e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx + 0x44]
lea eax, [ebp - 0x66c]
call fcn.00404e38
mov eax, dword [ebp - 0x66c]
call fcn.00404fec
mov edx, eax
lea eax, [ebp - 0x55c]
call fcn.00402f24
mov edx, 1
lea eax, [ebp - 0x55c]
call fcn.004035e8
call fcn.00402894
push esi
push 0x400
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x410]
mov ecx, dword [esi]
lea eax, [ebp - 0x55c]
call fcn.004030a8
call fcn.00402894
cmp dword [esi], 0
jne 0x48b78b
lea eax, [ebp - 0x55c]
call fcn.004030c8
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b7ee
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x48b950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov byte [esp], 0x6e
mov byte [esp + 1], 0x74
mov byte [esp + 2], 0x64
mov byte [esp + 3], 0x6c
mov byte [esp + 4], 0x6c
mov byte [esp + 5], 0x2e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x6c
mov byte [esp + 8], 0x6c
mov eax, ebx
mov edx, esp
mov ecx, 9
call fcn.00404c1c
add esp, 0xc
pop ebx
ret
Function at 0x48c0d8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x48c1f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.004032b8
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.004032b8
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x48c1da
mov eax, dword [ebp - 0x5c]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov dword [edi], 0x10007
push edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetThreadContext
call fcn.00458774
test al, al
je 0x48c1aa
call fcn.00458774
test al, al
je 0x48c1aa
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadProcessMemory
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
jmp 0x48c1bd
cmp dword [ebp - 0x68], 0x10000
je 0x48c1d0
add edi, dword [ebp - 0x6c]
push 0x1c
lea eax, [ebp - 0x78]
push eax
push edi
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
jne 0x48c1b1
mov eax, dword [ebp + 0xc]
sub edi, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c1f7
lea eax, [ebp - 4]
call fcn.00404b2c
ret
Function at 0x48d134
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
push ebx
add esp, 0xffffffb0
mov ebx, eax
mov dword [esp], 0xc
mov dword [esp + 8], 0xffffffff
xor eax, eax
mov dword [esp + 4], eax
push 0
lea eax, [esp + 4]
push eax
lea eax, [ebx + 0x44]
push eax
lea eax, [ebx + 0x40]
push eax
call sub.kernel32.dll_CreatePipe
push 0
lea eax, [esp + 4]
push eax
lea eax, [ebx + 0x4c]
push eax
lea eax, [ebx + 0x48]
push eax
call sub.kernel32.dll_CreatePipe
mov dword [esp], 0xc
mov dword [esp + 8], 0xffffffff
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 0xc]
xor ecx, ecx
mov edx, 0x44
call fcn.004032b8
mov dword [esp + 0xc], 0x44
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x48], eax
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], 0x101
mov word [esp + 0x3c], 0
lea eax, [ebx + 0x50]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x48d1f4
push 0
call sub.kernel32.dll_CreateProcessA
add esp, 0x50
pop ebx
ret

Function at 0x48d26c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov eax, dword [ebp - 4]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x48d2e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404dec
mov ebx, eax
inc ebx
lea eax, [ebp - 0xc]
mov ecx, 0x48d2f8
mov edx, dword [ebp - 4]
call fcn.00404e38
mov eax, dword [ebp - 0xc]
call fcn.00404fec
push 0
lea edx, [ebp - 8]
push edx
push ebx
push eax
push esi
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d2ea
lea eax, [ebp - 0xc]
call fcn.00404b2c
lea eax, [ebp - 4]
call fcn.00404b2c
ret

Function at 0x48e3f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48e48a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b2c
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00407ab0
test eax, eax
je 0x48e474
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00405178
mov eax, dword [ebp - 8]
call fcn.00404fec
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
call fcn.00404fec
call fcn.00409c64
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405178
mov eax, ebx
mov ecx, 0x48e4a0
mov edx, dword [ebp - 8]
call fcn.00404e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e491
lea eax, [ebp - 8]
call fcn.00404b2c
ret
Function at 0x48e4a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48e535
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b2c
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00407ab0
test eax, eax
je 0x48e51f
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00405178
mov eax, dword [ebp - 8]
call fcn.00404fec
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
call fcn.00404fec
call fcn.00409c64
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405178
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404b80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e53c
lea eax, [ebp - 8]
call fcn.00404b2c
ret

Function at 0x48e544
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3f
push 0
push 0
dec ecx
jne 0x48e54c
push ecx
xor eax, eax
push ebp
push 0x48e6fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
lea edx, [ebp - 0x1d0]
mov eax, 7
call fcn.0048e4a4
mov eax, dword [ebp - 0x1d0]
call fcn.00404fec
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1d8]
mov eax, 7
call fcn.0048e3f4
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x1e0]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1dc]
xor edx, edx
call fcn.0040995c
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1e4]
mov dx, 4
xor eax, eax
call fcn.0048e25c
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00404eac
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1cc]
call fcn.00402f24
lea eax, [ebp - 0x1cc]
call fcn.00402cc0
call fcn.00402894
lea ecx, [ebp - 0x1e8]
mov dx, 0x2c
mov ax, 4
call fcn.0048e25c
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1cc]
call fcn.00405208
call fcn.00403810
call fcn.00402894
lea ecx, [ebp - 0x1f0]
mov dx, 0xe
mov ax, 0x30
call fcn.0048e25c
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x1f8]
mov edx, dword [0x4a0314]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x1f8]
call fcn.00409244
lea edx, [ebp - 0x1f4]
call fcn.0045914c
push dword [ebp - 0x1f4]
lea eax, [ebp - 0x1fc]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
call fcn.00404d24
push dword [ebp - 0x1fc]
push 0x48e710
lea eax, [ebp - 0x1ec]
mov edx, 4
call fcn.00404eac
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1cc]
call fcn.00405208
call fcn.00403810
call fcn.00402894
lea eax, [ebp - 0x1cc]
call fcn.004030c8
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e703
lea eax, [ebp - 0x1fc]
mov edx, 0xc
call fcn.00404b50
ret
Function at 0x48f0f8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov eax, edi
call fcn.00404b2c
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x48f142
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x48f13d
push ebx
call sub.kernel32.dll_GlobalLock
mov esi, eax
test esi, esi
je 0x48f13d
mov eax, edi
mov edx, esi
call fcn.00404d24
push ebx
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edi
pop esi
pop ebx
ret

Function at 0x48f4c4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x48f570]
call fcn.00402c10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48f574
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f5d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004091c4
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x48f5ec
call fcn.00404e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f5de
lea eax, [ebp - 0x24]
call fcn.00404b2c
ret
Function at 0x48f67c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x48f815
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48f7f3
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4138d4]
call fcn.00403d28
mov dword [ebp - 8], eax
mov bl, 0x43
mov eax, ebx
call fcn.0048f5f0
test al, al
je 0x48f7c9
mov byte [ebp - 3], bl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
lea eax, [ebp - 3]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 2
jne 0x48f707
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0xc]
mov edx, 0x48f82c
call fcn.00404df4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 3
jne 0x48f72e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x10]
mov edx, 0x48f838
call fcn.00404df4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 4
jne 0x48f755
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x14]
mov edx, 0x48f844
call fcn.00404df4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 5
jne 0x48f77c
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x18]
mov edx, 0x48f850
call fcn.00404df4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 6
jne 0x48f7a3
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x1c]
mov edx, 0x48f82c
call fcn.00404df4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test esi, esi
jne 0x48f7c9
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x20]
mov edx, 0x48f82c
call fcn.00404df4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp bl, 0x5b
jne 0x48f6bb
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f7fa
mov eax, dword [ebp - 8]
call fcn.00403d58
ret
Function at 0x490bb8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
mov eax, dword [ebp - 8]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x490d95
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x490d5e
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4138d4]
call fcn.00403d28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
push 0
call sub.user32.dll_FindWindowA
mov ebx, eax
push ebx
call sub.user32.dll_IsWindow
test eax, eax
jne 0x490c35
call fcn.00404590
jmp 0x490d65
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0x418
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x490c62
call fcn.00404590
jmp 0x490d65
lea eax, [ebp - 0x4c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
push 0x1c
lea eax, [ebp - 0x68]
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualQueryEx
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0x58], 0x1000
jne 0x490d2e
cmp dword [ebp - 0x54], 4
jne 0x490d2e
lea eax, [ebp - 0x24]
mov edx, esi
call fcn.00405178
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, dword [ebp - 0x24]
call fcn.00404fec
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x490d2e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00405130
test eax, eax
je 0x490d2e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00405130
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea edx, [ebp - 0x6c]
mov eax, 2
call fcn.00409214
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x400
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.0040504c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
add eax, esi
mov ebx, eax
cmp eax, dword [ebp - 0x10]
jb 0x490c74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d65
mov eax, dword [ebp - 0x28]
call fcn.00403d58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d9c
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00404b50
lea eax, [ebp - 0x24]
call fcn.00404b2c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b50
ret
Function at 0x490da4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
mov eax, dword [ebp - 8]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x490f56
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x490f1f
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4138d4]
call fcn.00403d28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
call fcn.00490abc
push eax
push 0
push 0x418
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x490e23
call fcn.00404590
jmp 0x490f26
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
push 0x1c
lea eax, [ebp - 0x64]
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualQueryEx
mov esi, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 0x1000
jne 0x490eef
cmp dword [ebp - 0x50], 4
jne 0x490eef
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00405178
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, dword [ebp - 0x20]
call fcn.00404fec
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x490eef
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00405130
test eax, eax
je 0x490eef
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00405130
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea edx, [ebp - 0x68]
mov eax, 2
call fcn.00409214
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x400
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
call fcn.0040504c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
add eax, esi
mov ebx, eax
cmp eax, dword [ebp - 0x10]
jb 0x490e35
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490f26
mov eax, dword [ebp - 0x24]
call fcn.00403d58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490f5d
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00404b50
lea eax, [ebp - 0x20]
call fcn.00404b2c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b50
ret
Function at 0x496c10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x5f]
xor eax, eax
push ebp
push 0x496d24
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x160]
mov eax, dword [0x4a6a28]
mov eax, dword [eax]
call fcn.00403ca8
lea edx, [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404d90
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0x32
push edi
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x164]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00404f38
jne 0x496cec
push 0x5a
push edi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x168]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov eax, dword [ebp - 0x168]
push eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x4a013c]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x16c]
pop edx
call fcn.00405130
test eax, eax
je 0x496cec
mov esi, ebx
jmp 0x496cfe
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x496c78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496d2b
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404b50
lea eax, [ebp - 4]
call fcn.00404b2c
ret

Function at 0x496d34
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x5f]
xor eax, eax
push ebp
push 0x496e5f
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x160]
mov eax, dword [0x4a6a28]
mov eax, dword [eax]
call fcn.00403ca8
lea edx, [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404d90
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0x32
push edi
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x164]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00404f38
jne 0x496e27
push 0x5a
push edi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x16c]
mov edx, dword [0x4a013c]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.004585b8
mov eax, dword [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00405130
test eax, eax
je 0x496e27
mov esi, ebx
jmp 0x496e39
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x496da2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e66
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00404b50
lea eax, [ebp - 4]
call fcn.00404b2c
ret