joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c87c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4330
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x30]
mov dword [esi], vtable.BufferObject.0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.Object.0
test ecx, ecx
je 0x4c8811
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 1
cmp dword [eax], 0
je 0x4c883d
push dword [eax + 4]
lea ecx, [esi + 0x10]
push 0
call fcn.0045dd90
push dword [esi + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x10], 0x52763c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c8af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4350
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x34]
mov dword [ebp - 4], 0
push 0
mov dword [esi], vtable.Array.0
call fcn.004d4730
push dword [esi + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.Object.0
test ecx, ecx
je 0x4c8b50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 2
cmp dword [eax], 0
je 0x4c8b7c
push dword [eax + 4]
lea ecx, [esi + 0x10]
push 0
call fcn.0045dd90
push dword [esi + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x10], 0x52763c
test byte [ebp + 8], 1
je 0x4c8b8d
push 0x40
push esi
call fcn.004ebb73
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c8dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4350
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [esi], vtable.Map.0
call fcn.004cbe10
push dword [esi + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.Object.0
test ecx, ecx
je 0x4c8e2b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 2
cmp dword [eax], 0
je 0x4c8e57
push dword [eax + 4]
lea ecx, [esi + 0x10]
push 0
call fcn.0045dd90
push dword [esi + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x10], 0x52763c
test byte [ebp + 8], 1
je 0x4c8e68
push 0x48
push esi
call fcn.004ebb73
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4cc870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f448f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf8
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4ccb17
mov dword [esi + 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x52763c
mov byte [esi + 0x28], 0
mov dword [esi + 8], 0
mov dword [esi + 0x20], 3
push 0
mov dword [esi], vtable.GuiType.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
push 0
push 0x4f5b70
push 0x4f5b70
mov byte [ebp - 4], 1
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x84], 0x84ca0000
mov dword [esi + 0x88], 0
call fcn.004be160
mov dword [esi + 0x8c], eax
add esp, 0x10
mov eax, dword [0x62271c]
mov dword [esi + 0x90], 0xff000000
mov dword [esi + 0x94], 0xff000000
mov dword [esi + 0x98], connect
mov dword [esi + 0x9c], connect
lea edi, [eax*4]
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], connect
mov dword [esi + 0xbc], connect
mov dword [esi + 0xc0], connect
mov dword [esi + 0xc4], connect
mov dword [esi + 0xc8], connect
mov dword [esi + 0xcc], connect
mov dword [esi + 0xd0], connect
mov dword [esi + 0xd4], connect
mov dword [esi + 0xd8], connect
mov dword [esi + 0xdc], connect
mov dword [esi + 0xe0], 0xff00
mov dword [esi + 0xe4], 0x10101
mov word [esi + 0xe8], 0
mov byte [esi + 0xea], 1
mov word [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4ccae1
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov edi, dword [eax + 0x2124]
test edi, edi
je 0x4ccaf4
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4ccb01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xc], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d9bb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x214
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x228]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xff
push eax
lea eax, [esp + 0x34]
push eax
push 0
push edi
call ebp
cmp eax, 0x103
je 0x4d9cb4
mov eax, dword [0x62271c]
lea ebx, [eax*4]
nop
mov ecx, dword fs:[0x2c]
mov eax, dword [ebx + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4d9c2f
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + ecx]
mov eax, dword [eax + 0x29c]
mov eax, dword [eax + 0x84]
or eax, 0x20019
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4d9ccf
push dword [esp + 0x14]
call fcn.004d9bb0
add esp, 4
mov esi, eax
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4d9ccf
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x4d9ccf
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0xff
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push edi
call ebp
cmp eax, 0x103
jne 0x4d9c10
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x214
ret
mov eax, esi
jmp 0x4d9cb6
Function at 0x4e3470
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
sub esp, 0x254
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
mov ebx, dword [esp + 0x25c]
push ebp
mov ebp, dword [esp + 0x264]
push esi
push edi
test ebx, ebx
je 0x4e35cf
cmp word [ebx], 0
je 0x4e35cf
push 4
push 0x507398
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x4e34c3
mov eax, ebx
mov edi, eax
jmp 0x4e34cc
lea eax, [ebx + 8]
mov edi, eax
test eax, eax
je 0x4e3511
movzx eax, word [eax]
test ax, ax
je 0x4e3511
mov esi, eax
nop word [eax + eax]
mov ecx, 0x503b14
mov edx, 0x3f
nop word [eax + eax]
cmp si, dx
je 0x4e3541
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4e34f0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4e34e0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [esp + 0x270]
test edx, edx
je 0x4e352f
mov ecx, eax
and ecx, edx
cmp ecx, edx
jne 0x4e35cf
test ebp, ebp
je 0x4e3536
mov dword [ebp], eax
cmp eax, 0xffffffff
setne al
jmp 0x4e35d1
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4e35cf
cmp word [esp + 0x3c], 0x2e
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jne 0x4e358e
mov ax, word [esp + 0x3e]
test ax, ax
je 0x4e357a
cmp ax, 0x2e
jne 0x4e358e
cmp word [esp + 0x40], 0
jne 0x4e358e
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
je 0x4e35cf
cmp word [esp + 0x3c], 0x2e
je 0x4e3562
mov esi, dword [esp + 0x270]
test esi, esi
je 0x4e35b9
mov eax, dword [esp + 0x10]
and eax, esi
cmp eax, esi
je 0x4e35b9
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
je 0x4e35cf
mov eax, dword [esp + 0x10]
and eax, esi
cmp eax, esi
jne 0x4e35a3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
je 0x4e35cb
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov al, 1
jmp 0x4e35d1
xor al, al
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x254
ret
Function at 0x4e3cf0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov eax, dword [0x622710]
test al, 1
jne 0x4e3d1f
push str.SystemFunction036
or eax, 1
push str.Advapi32
mov dword [0x622710], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x62270c], eax
jmp 0x4e3d24
mov eax, dword [0x62270c]
test eax, eax
je 0x4e3d3b
push dword [esp + 8]
push dword [esp + 8]
call eax
test al, al
je 0x4e3d3b
mov al, 1
ret 8
xor al, al
ret 8

Function at 0x4e3d70
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10004
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x10000], eax
mov eax, dword [esp + 0x10008]
lea ecx, [esp]
push esi
push edi
mov edi, dword [esp + 0x10014]
push 0x7fff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x4e3dc6
lea ecx, [esi*2 + 2]
push ecx
lea eax, [esp + 0xc]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4e3dcb
xor eax, eax
mov word [edi], ax
mov ecx, dword [esp + 0x10008]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004ebadf
add esp, 0x10004
ret

Function at 0x4e3df0
Capabilities:
Get file size

Disassembly:
sub esp, 8
lea eax, [esp + 4]
xorps xmm0, xmm0
push eax
push dword [esp + 0x10]
movq qword [esp + 8], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp], eax
cmp eax, 0xffffffff
jne 0x4e3e2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4e3e27
or eax, 0xffffffff
or edx, 0xffffffff
add esp, 8
ret
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 8
ret
Function at 0x4e5340
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push edi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x28]
or eax, 1
push eax
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x4e53ed
mov ebx, dword [esp + 0x20]
push esi
lea eax, [ebx + ebx]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push edi
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4e53ed
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e53ed
shr eax, 1
lea ecx, [eax - 1]
mov dword [esp + 0x24], ecx
cmp word [edi + ecx*2], 0
jne 0x4e53d7
mov eax, ecx
test ecx, ecx
je 0x4e53f2
nop
cmp word [edi + ecx*2 - 2], 0
jne 0x4e53f2
add ecx, 0xffffffff
mov eax, ecx
mov dword [esp + 0x24], ecx
jne 0x4e53c0
pop edi
pop ebx
pop ecx
ret
mov dword [esp + 0x24], eax
cmp eax, ebx
jae 0x4e53ed
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [esp + 0x24]
pop edi
pop ebx
pop ecx
ret
xor eax, eax
mov word [edi], ax
pop edi
pop ebx
pop ecx
ret

Function at 0x4e8c90
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp], eax
lea eax, [esp]
push eax
push 0x4e8b60
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x4ea180
Capabilities:
Get graphical window text

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1854]
test ecx, ecx
je 0x4ea25a
mov eax, dword [esi]
test eax, eax
je 0x4ea25a
push edi
test al, 1
jne 0x4ea1ad
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4ea1c7
push 0x7fff
lea edi, [esi + 0x1860]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4ea1c7
mov word [edi], ax
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test al, 4
je 0x4ea1e4
lea eax, [esi + 0x185c]
push eax
push dword [esi + 0x1854]
call edi
mov eax, dword [esi]
test al, 0x20
je 0x4ea220
lea eax, [esp + 8]
push eax
push dword [esi + 0x1854]
call edi
test eax, eax
je 0x4ea220
movzx eax, byte [esi + 0x182c]
lea edi, [esi + 0x11a60]
push eax
push 0x104
push edi
push dword [esp + 0x14]
call fcn.00497990
add esp, 0x10
test eax, eax
jne 0x4ea220
mov word [edi], ax
mov eax, dword [esi]
pop edi
test al, 8
je 0x4ea241
push 0x101
lea eax, [esi + 0x1185e]
push eax
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [esi]
test eax, 0x100
je 0x4ea25a
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0x1858], eax
pop esi
pop ecx
ret
Function at 0x4ea520
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
movzx ecx, word [eax]
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x2c]
cmp ecx, 0x41
je 0x4ea542
cmp ecx, 0x61
jne 0x4ea59f
cmp word [eax + 2], 0
jne 0x4ea59f
cmp word [ebp], 0
jne 0x4ea59f
cmp word [ebx], 0
jne 0x4ea59f
cmp word [edi], 0
jne 0x4ea59f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4ea5c6
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x93], 0
jne 0x4ea58d
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ea5c6
push esi
call fcn.004e9270
add esp, 4
test al, al
jne 0x4ea5c6
cmp byte [esp + 0x30], 0
je 0x4ea60b
push esi
call fcn.004a8f70
add esp, 4
jmp 0x4ea618
test cx, cx
jne 0x4ea5d0
cmp word [ebp], cx
jne 0x4ea5d0
cmp word [ebx], cx
jne 0x4ea5d0
cmp word [edi], cx
jne 0x4ea5d0
push dword [esp + 0x18]
call fcn.004e8d10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ea58d
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push edi
push ebx
push ebp
push eax
push dword [esp + 0x2c]
call fcn.004ea360
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4ea58d
push eax
push eax
push eax
push eax
push edi
push ebx
push ebp
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004ea790
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x4ea58d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
cmovns edi, eax
test edi, edi
je 0x4ea6b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x62271c]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x24]
mov dword [esp + 0x1c], eax
lea ebx, [ecx*4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ebx + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4ea671
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ebx + ecx]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x250], ecx
jne 0x4ea691
push 1
push 0x8000012f
call fcn.00415b90
add esp, 8
jmp 0x4ea695
push 0xa
call ebp
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ea6b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jg 0x4ea652
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4ea6c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 0xc], 0
push esi
mov esi, dword [esp + 8]
push edi
je 0x4ea6d8
push esi
call fcn.004a8f70
add esp, 4
jmp 0x4ea6e5
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
cmovns edi, eax
test edi, edi
je 0x4ea788
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x18], eax
mov eax, dword fs:[0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [0x62271c]
lea ebx, [eax*4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ebx + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4ea73f
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ebx + ecx]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x250], ecx
jne 0x4ea75f
push 1
push 0x8000012f
call fcn.00415b90
add esp, 8
jmp 0x4ea763
push 0xa
call ebp
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ea781
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jg 0x4ea720
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
pop edi
mov eax, esi
pop esi
ret
Function at 0x4ea790
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c74
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x11c70], eax
mov ecx, dword [esp + 0x11c7c]
mov eax, dword [esp + 0x11c94]
push ebx
mov ebx, dword [esp + 0x11c88]
push ebp
mov ebp, dword [esp + 0x11c88]
push esi
mov esi, dword [esp + 0x11c94]
mov dword [esp + 0x10], eax
movzx eax, word [ecx]
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0x11c88]
cmp eax, 0x41
je 0x4ea7eb
cmp eax, 0x61
jne 0x4ea84c
cmp word [ecx + 2], 0
jne 0x4ea84c
cmp word [ebp], 0
jne 0x4ea84c
cmp word [ebx], 0
jne 0x4ea84c
cmp word [esi], 0
jne 0x4ea84c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4ea834
cmp byte [edi + 0x93], 0
jne 0x4ea834
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ea832
push esi
call fcn.004e9270
add esp, 4
test al, al
je 0x4ea834
xor esi, esi
cmp byte [esp + 0x11ca0], 0
je 0x4ea845
test esi, esi
je 0x4ea845
mov dword [edi + 0x24], esi
mov eax, esi
jmp 0x4ea939
test ax, ax
jne 0x4ea86f
cmp word [ebp], ax
jne 0x4ea86f
cmp word [ebx], ax
jne 0x4ea86f
cmp word [esi], ax
jne 0x4ea86f
push edi
call fcn.004e8d10
add esp, 4
jmp 0x4ea939
lea ecx, [esp + 0x18]
call fcn.004e8500
push esi
push ebx
push ebp
push dword [esp + 0x1c]
lea eax, [edi + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.004e9790
test eax, eax
je 0x4ea937
test byte [esp + 0x18], 2
mov al, byte [esp + 0x11c9c]
mov byte [esp + 0x1845], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1854], eax
mov eax, dword [esp + 0x11ca8]
mov dword [esp + 0x1858], eax
je 0x4ea952
mov eax, dword [esp + 0x1034]
cmp eax, 0xffff
je 0x4ea90f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ea937
push dword [esp + 0x1034]
lea ecx, [edi + 0x58]
call fcn.004e8780
test al, al
jne 0x4ea908
push 0xfffffffffffffff0
push dword [esp + 0x1038]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4ea937
mov eax, dword [esp + 0x1034]
cmp dword [esp + 0x186c], eax
je 0x4ea928
lea ecx, [esp + 0x18]
mov dword [esp + 0x186c], eax
call fcn.004ea180
push 0
lea ecx, [esp + 0x1c]
call fcn.004e8e40
test eax, eax
jne 0x4ea962
xor eax, eax
mov ecx, dword [esp + 0x11c80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x11c74
ret
lea eax, [esp + 0x18]
push eax
push 0x4e8c10
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [esp + 0x11ca0], 0
mov eax, dword [esp + 0x184c]
je 0x4ea939
test eax, eax
je 0x4ea939
mov dword [edi + 0x24], eax
jmp 0x4ea939
Function at 0x4ea980
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c6c
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x11c68], eax
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004e8500
mov eax, dword [esi + 8]
mov dword [esp + 0x1848], eax
mov eax, dword [esp + 0x11c74]
mov dword [esp + 0x184c], eax
mov eax, dword [esp + 0x11c78]
mov dword [esp + 0x1850], eax
lea eax, [esp + 4]
push eax
push 0x4eb490
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], 0
je 0x4eaab6
mov eax, dword [0x62271c]
mov ecx, dword fs:[0x2c]
lea esi, [eax*4]
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4eaa13
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov ecx, dword [esi + ecx]
mov eax, dword [ecx + 0x29c]
cmp dword [eax + 0x64], 0xffffffff
jle 0x4eaab6
cmp byte [ecx + 0x2198], 0
jne 0x4eaa34
call fcn.004ebad3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword fs:[0x2c]
mov edx, dword [esi + ecx]
cmp dword [edx + 0x250], eax
je 0x4eaa8b
cmp byte [edx + 0x2198], 0
jne 0x4eaa61
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esi + ecx]
mov eax, dword [eax + 0x29c]
push dword [eax + 0x64]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov ecx, dword [esp + 0x11c68]
xor ecx, esp
call fcn.004ebadf
add esp, 0x11c6c
ret 8
cmp byte [edx + 0x2198], 0
jne 0x4eaaa0
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esi + ecx]
push 1
mov eax, dword [eax + 0x29c]
push dword [eax + 0x64]
call fcn.00415b90
add esp, 8
mov ecx, dword [esp + 0x11c6c]
pop esi
xor ecx, esp
call fcn.004ebadf
add esp, 0x11c6c
ret 8