joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebp
push esi
push 2
push 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebp, dword [esp + 0x20]
mov esi, eax
test esi, esi
je 0x46cff9
mov eax, ebp
test ebp, ebp
jns 0x46cf14
neg eax
jmp 0x46cf46
jne 0x46cf1b
mov eax, 1
lea ecx, [esp + 0xc]
push ecx
push 0x46ceb0
push 0xe
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
movzx edx, ax
push 0xe
push edx
push esi
call edi
test eax, eax
je 0x46cfe9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push esi
call ebx
test eax, eax
je 0x46cfe8
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebp
test eax, eax
je 0x46cfe4
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp edx, 0xffffffff
jne 0x46cf89
mov edx, ecx
cmp ecx, 0xffffffff
jne 0x46cf92
mov ecx, dword [esp + 0x30]
push 0
push edx
push ecx
push 1
push eax
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x46cfe4
movzx eax, ax
push 3
push eax
push esi
call edi
mov edi, eax
test edi, edi
je 0x46cfe4
push edi
push esi
call ebx
test eax, eax
je 0x46cfe4
push eax
call ebp
mov ebx, eax
test ebx, ebx
je 0x46cfe4
push 0
push 0
push 0
push 0x30000
push 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x28]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0xc]
pop edi
test eax, eax
jne 0x46d02d
test ebp, ebp
jle 0x46d014
mov ecx, dword [esp + 0x1c]
lea eax, [ebp - 1]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
pop esi
pop ebp
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebp, 0xffffffff
setge al
dec eax
and eax, ebp
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x46d610
Capabilities:
Write clipboard data

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
cmp byte [esi + 0x17], 0
push edi
mov edi, ecx
jne 0x46d622
mov esi, dword [esi + 0xc]
cmp byte [edi + 0x17], 0
jne 0x46d62b
mov edi, dword [edi + 0xc]
mov al, byte [esi + 0x15]
test al, 0x10
je 0x46d6af
test al, 8
jne 0x46d694
mov ecx, dword [esi + 8]
movzx edx, word [ecx]
mov eax, dword [esi + 0xc]
shr eax, 1
movzx ecx, word [ecx + eax*2 - 2]
cmp edx, 0x20
je 0x46d664
cmp edx, 9
je 0x46d664
cmp ecx, 0x20
je 0x46d664
cmp ecx, 9
je 0x46d664
cmp edx, 0x30
je 0x46d664
cmp edx, 0x2b
jne 0x46d694
mov ecx, dword [esi + 8]
push edi
call fcn.00401200
test eax, eax
jne 0x46d679
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0x10
push eax
push ecx
mov eax, edi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0x18
push edx
push eax
mov eax, edi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
test al, 0x20
je 0x46d711
test al, 8
jne 0x46d6ed
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
shr eax, 1
push edi
call fcn.00401200
test eax, eax
je 0x46d671
fld qword [esi]
push 0x20
fstp qword [esp + 0xc]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.004010e0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
fld qword [esi]
push 0x28
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov eax, edi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
test al, 1
je 0x46d723
mov ecx, esi
mov edx, edi
pop edi
pop esi
add esp, 0xc
jmp fcn.0046db20
test al, 2
je 0x46d73f
mov esi, dword [esi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
push esi
mov eax, edi
call fcn.00412680
pop edi
pop esi
add esp, 0xc
ret
cmp byte [esi + 0x17], 0
jne 0x46d74a
mov eax, dword [esi + 0xc]
jmp 0x46d74c
mov eax, esi
test byte [eax + 0x15], 4
je 0x46d759
mov eax, esi
call fcn.0042d9c0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
shr eax, 1
push edi
call fcn.00401200
pop edi
pop esi
add esp, 0xc
ret
Function at 0x46d770
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
dec eax
cmp eax, 4
ja case.default.0x46d780
jmp dword [eax*4 + 0x46d818]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edi
call fcn.00412620
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x46d780
mov ecx, dword [esi]
cmp word [ecx], 0x30
je 0x46d7b4
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
call fcn.00412620
pop esi
ret
push edi
or eax, 0xffffffff
call fcn.00401200
test eax, eax
jne 0x46d7c3
pop esi
ret
mov esi, dword [esi + 4]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0x10
push ecx
push edx
mov eax, edi
call fcn.004010e0
mov eax, 1
pop esi
ret
mov eax, dword [esi]
mov ecx, edi
pop esi
jmp fcn.0046d610
fld qword [esi]
sub esp, 8
fstp qword [esp]
push edi
call fcn.00412650
pop esi
ret
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
push esi
mov eax, edi
call fcn.00412680
pop esi
ret
mov ecx, dword [esi]
push edi
or eax, 0xffffffff
call fcn.00401200
pop esi
ret
Function at 0x46db20
Capabilities:
Write clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, edx
cmp byte [esi + 0x17], 0
push edi
mov ebx, ecx
jne 0x46db3a
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 0
je 0x46db31
cmp byte [ebx + 0x17], 0
jne 0x46db43
mov ebx, dword [ebx + 0xc]
mov eax, ebx
call fcn.00401160
cmp byte [esi + 0x17], 1
jne 0x46dba6
cmp esi, ebx
je 0x46dc20
mov eax, dword [ebx + 0xc]
mov ecx, eax
push 0
shr ecx, 1
and eax, 1
push 1
add ecx, eax
push ecx
push 0
mov ecx, esi
call fcn.0046dd60
test eax, eax
jne 0x46db7e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
add edx, 2
push edx
push eax
push ecx
call fcn.00489760
add esp, 0xc
or byte [esi + 0x15], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, 0x4c314c
call fcn.00404060
test eax, eax
jne 0x46dbd0
push 0x4a596c
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, edi
lea esi, [edi + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
jbe 0x46dc34
xor esi, esi
cmp dword [0x4c3164], esi
je 0x46dc20
cmp dword [0x4c3154], esi
je 0x46dc0e
mov edx, dword [0x4c314c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c3154], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3164], esi
mov dword [0x4c314c], esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
mov edi, dword [edi]
mov dword [esp + 0x18], edi
test edi, edi
je 0x46dbe9
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x46dbe9
mov ebx, dword [ecx]
mov edi, esi
add esi, ebx
cmp esi, eax
ja 0x46dbe9
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x46dca1
test ebx, ebx
je 0x46dc87
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x46dcf7
push ebx
push edi
push eax
call fcn.00489760
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, esi
mov edx, dword [esp + 0x18]
push ebp
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [edi + 4]
cmp esi, dword [esp + 0x14]
jbe 0x46dc30
jmp 0x46dbe9
cmp dword [0x4c3164], 0
je 0x46dcdb
cmp dword [0x4c3154], 0
je 0x46dcc9
mov eax, dword [0x4c314c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c3154], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4c3164], eax
mov dword [0x4c314c], eax
push 0x4a596c
push str.Out_of_memory.
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4c3164], esi
je 0x46dd35
cmp dword [0x4c3154], esi
je 0x46dd23
mov ecx, dword [0x4c314c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c3154], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3164], esi
mov dword [0x4c314c], esi
push 0x4a596c
push 0x49bb34
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x46e0a0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 0x17]
push edi
cmp eax, 3
ja case.default.0x46e0b3
jmp dword [eax*4 + 0x46e274]
mov eax, esi
call fcn.00401160
cmp dword [0x4c0fd8], 0
jne 0x46e17f
cmp dword [esi + 0xc], 0
jne 0x46e17f
mov edi, dword [esp + 0x14]
cmp dword [0x4c481c], esi
jne 0x46e0e8
test edi, edi
jne 0x46e145
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x46e141
mov dword [0x4c481c], 0
test edi, edi
je 0x46e139
mov eax, dword [0x4c0fb8]
test eax, eax
je 0x46e12a
mov edx, dword [esi + 0x18]
push edx
push str.Using_value_of_environment_variable.
push eax
push 0x4c3168
xor ecx, ecx
call fcn.0042d8c0
mov ecx, dword [esi + 0x18]
call fcn.0046c710
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x46e170
cmp byte [esi + 0x17], 0
jne 0x46e150
mov eax, dword [esi + 0xc]
jmp 0x46e152
mov eax, esi
test byte [eax + 0x15], 4
je 0x46e15f
mov eax, esi
call fcn.0042d9c0
xor eax, eax
mov word [edi], ax
mov dword [0x4c481c], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4c481c], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 1
test edi, edi
je 0x46e200
test eax, eax
jne 0x46e1b7
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x46e1a9
mov eax, esi
call fcn.0042d9c0
xor ecx, ecx
mov word [edi], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x46e200
cmp eax, 0x186a0
jae 0x46e1ef
movzx eax, word [ecx]
test ax, ax
je 0x46e1e1
lea ecx, [ecx]
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x46e1d0
xor edx, edx
mov word [edi], dx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
push eax
push ecx
push edi
call fcn.00489760
add esp, 0xc
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.0046e0a0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
push esi
mov ecx, 0x4c314c
call fcn.00403a90
cmp eax, 0xffffffff
jne 0x46e233
xor eax, eax
test esi, esi
je 0x46e26b
xor edx, edx
mov word [esi + eax*2], dx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46e251
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push edx
push eax
call ecx
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x46eae0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x46eaef
pop edi
add esp, 0x10
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebp
push esi
push 0
push edi
call ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, dword [0x4c310c]
je 0x46eb1a
mov esi, edi
call fcn.0046fb60
test al, al
jne 0x46ecb2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x46eb34
push eax
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp edi, esi
jne 0x46eb42
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x10
ret
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x46eb56
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4c0e96], 0
jne 0x46eb70
push esi
call fcn.0046ea80
add esp, 4
test eax, eax
jne 0x46ecb4
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x46ebcd
push 0
push esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x46ebcd
cmp dword [0x4c310c], ebx
je 0x46ebb4
call fcn.0046fb60
test al, al
jne 0x46ebb4
mov eax, dword [0x4c310c]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test ebp, ebp
je 0x46ebcd
cmp ebx, ebp
je 0x46ebcd
push 1
push ebp
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
jmp 0x46ebe0
push edi
call ebx
push 1
push 0xa
mov dword [0x4bd3e4], 0
call fcn.00401360
add esp, 8
mov dword [0x4bd3e4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x46ec13
mov ebp, edi
jmp 0x46ec24
cmp ebp, esi
je 0x46ec28
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x46ec28
test ebp, ebp
jne 0x46ec69
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x46ebe0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040eaa0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040eaa0
push esi
call fcn.0046ea80
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x46ec84
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4c310c]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x46ec9d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x46ecb2
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
Function at 0x46edb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x46edc0
mov eax, esi
call fcn.0044fce0
jmp 0x46edcd
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x46ee28
je 0x46ee28
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401360
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x46ee25
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x46ee25
push 1
push 0x8000012f
call fcn.00401360
add esp, 8
push esi
call ebx
test eax, eax
jne 0x46ee04
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x46f010
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11260
call fcn.00493680
movzx eax, word [ecx]
push ebx
push ebp
mov ebp, dword [esp + 0x1126c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x11274]
cmp eax, 0x41
je 0x46f03a
cmp eax, 0x61
jne 0x46f08f
cmp word [ecx + 2], bx
jne 0x46f08f
cmp word [edi], bx
jne 0x46f08f
cmp word [esi], bx
jne 0x46f08f
cmp word [edx], bx
jne 0x46f08f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x46f070
cmp byte [ebp + 0xe2], bl
jne 0x46f070
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46f070
xor esi, esi
cmp byte [esp + 0x1127c], bl
je 0x46f083
cmp esi, ebx
je 0x46f083
mov dword [ebp + 0xc0], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11260
ret
cmp ax, bx
jne 0x46f0b4
cmp word [edi], bx
jne 0x46f0b4
cmp word [esi], bx
jne 0x46f0b4
cmp word [edx], bx
jne 0x46f0b4
mov eax, ebp
call fcn.0046f210
pop esi
pop ebp
pop ebx
add esp, 0x11260
ret
push edx
push esi
push edi
push ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1030], 0x4a596c
mov byte [esp + 0x104c], bl
mov dword [esp + 0x1050], ebx
mov dword [esp + 0x1054], ebx
mov dword [esp + 0x1058], ebx
mov dword [esp + 0x105c], ebx
mov dword [esp + 0x1060], ebx
mov dword [esp + 0x1064], ebx
mov dword [esp + 0x1070], ebx
mov dword [esp + 0x1074], ebx
call fcn.0046fca0
test eax, eax
je 0x46f1c5
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11278]
mov ecx, dword [esp + 0x11280]
mov edx, dword [esp + 0x11284]
mov byte [esp + 0x1038], al
mov dword [esp + 0x1048], ecx
mov dword [esp + 0x104c], edx
je 0x46f1d1
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x46f19e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f1c5
cmp byte [ebp + 0xe2], bl
jne 0x46f197
mov eax, dword [esp + 0x102c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46f197
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x46f1c5
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1060], eax
je 0x46f1b7
lea esi, [esp + 0x10]
mov dword [esp + 0x1060], eax
call fcn.004700c0
push ebx
lea ecx, [esp + 0x14]
call fcn.00470140
test eax, eax
jne 0x46f1e1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11260
ret
lea edx, [esp + 0x10]
push edx
push 0x46f280
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1040]
cmp byte [esp + 0x1127c], bl
je 0x46f1fb
cmp eax, ebx
je 0x46f1fb
mov dword [ebp + 0xc0], eax
pop esi
pop ebp
pop ebx
add esp, 0x11260
ret
Function at 0x46f400
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10018
call fcn.00493680
mov ecx, dword [ebp + 8]
push esi
push edi
test ecx, ecx
je 0x46f42d
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.0046dd60
mov eax, 0x49e30c
jmp 0x46f432
mov eax, 0x49e734
mov ecx, dword [0x4c17f0]
mov esi, 1
push esi
push 0
push 0xffffffffffffffff
push eax
call fcn.0046dd60
cmp dword [ebp + 0x14], 0
jne 0x46f455
mov dword [ebp + 0x14], 0x1f4
cmp dword [ebp + 0x18], esi
jge 0x46f461
mov dword [ebp + 0x18], 0x32
cmp dword [ebp + 0xc], esi
jge 0x46f469
mov dword [ebp + 0xc], esi
test ebx, ebx
je 0x46f60c
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x1c]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push ebx
call esi
test eax, eax
je 0x46f60c
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esp + 0x1c]
jg 0x46f60c
push 0x10000
mov ecx, ebx
lea edi, [esp + 0x18]
call fcn.0046c7e0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x46f60c
mov edi, dword [ebp + 0xc]
xor edx, edx
dec edi
mov word [esp + 0x20], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
jmp 0x46f4e0
lea eax, [esp + 0xc]
push eax
push 0x7d0
push 2
push 0
push edi
push 0x40c
push ebx
call esi
test eax, eax
je 0x46f55e
mov ecx, 0x7fff
cmp word [esp + 0xc], cx
ja 0x46f5a3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0x7d0
push 2
push eax
push edi
push 0x40d
push ebx
call esi
test eax, eax
je 0x46f55e
movzx ecx, word [esp + 0xc]
push 0
lea edx, [ecx + ecx + 2]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x46f59c
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x20]
call fcn.0046e900
test al, al
jne 0x46f5c0
cmp dword [ebp + 8], 0
jne 0x46f5a9
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f5ee
cmp dword [ebp + 0x14], 0
jl 0x46f589
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, dword [ebp + 0x14]
sub ecx, eax
cmp ecx, 5
jle 0x46f5d8
mov eax, dword [ebp + 0x18]
push 1
push eax
call fcn.00401360
add esp, 8
jmp 0x46f4e0
xor ecx, ecx
mov word [esp + 0x20], cx
cmp dword [ebp + 8], 0
je 0x46f5ee
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
call fcn.0046dd60
mov edi, eax
jmp 0x46f5f3
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
call fcn.0046dd60
jmp 0x46f5a3
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49e30c
call fcn.0046dd60
mov edi, 1
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push eax
call fcn.0046c860
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x470770
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x1125c
call fcn.00493680
mov eax, dword [esp + 0x11260]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47081d
mov dword [esp + 0x1048], eax
lea eax, [esp + 8]
push eax
push 0x470ea0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4a596c
mov byte [esp + 0x1038], bl
mov dword [esp + 0x103c], ebx
mov dword [esp + 0x1040], ebx
mov dword [esp + 0x1044], ebx
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x104c], ebx
mov dword [esp + 0x105c], ebx
mov dword [esp + 0x1060], ebx
mov byte [esp + 0x1054], cl
mov dword [esp + 0x1058], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1038], ebx
je 0x47081d
mov ecx, dword [0x4bd41c]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47081d
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, 1
pop ebx
add esp, 0x1125c
ret 4

Function at 0x470830
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47084c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4bd41c]
push eax
push esi
mov ecx, edi
call fcn.00470ce0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x470883
test eax, eax
jne 0x470887
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00470940
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x470906
test esi, esi
je 0x470906
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401360
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4708e5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4708e5
push 1
push 0x8000012f
call fcn.00401360
add esp, 8
push esi
call edi
test eax, eax
jne 0x4708c0
mov edx, dword [0x4bd41c]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4708fe
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x470920
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00470940
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00470ab0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8