joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482940
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push esi
push 0x4db210
mov esi, ecx
call fcn.00405390
test eax, eax
jne 0x48296d
push 0x4af9bc
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4da6c0
call fcn.0043a380
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x1c]
add eax, esi
mov ebp, esi
add esi, 4
mov dword [esp + 0x10], eax
cmp esi, eax
jbe 0x4829d4
xor esi, esi
cmp dword [0x4db228], esi
je 0x4829c0
cmp dword [0x4db218], esi
je 0x4829ae
mov edx, dword [0x4db210]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db218], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4db228], esi
mov dword [0x4db210], esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x482989
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x482989
mov ebx, dword [ecx]
mov ebp, esi
add esi, ebx
cmp esi, eax
ja 0x482989
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, ebx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x482a4b
test ebx, ebx
je 0x482a31
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x482aa1
push ebx
push ebp
push eax
call fcn.004a37d0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, esi
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp + 4]
cmp esi, dword [esp + 0x10]
jbe 0x4829d0
jmp 0x482989
cmp dword [0x4db228], 0
je 0x482a85
cmp dword [0x4db218], 0
je 0x482a73
mov eax, dword [0x4db210]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db218], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4db228], eax
mov dword [0x4db210], eax
push 0x4af9bc
push str.Out_of_memory.
mov ecx, 0x4da6c0
call fcn.0043a380
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4db228], esi
je 0x482adf
cmp dword [0x4db218], esi
je 0x482acd
mov ecx, dword [0x4db210]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db218], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4db228], esi
mov dword [0x4db210], esi
push 0x4af9bc
push 0x4afdcc
mov ecx, 0x4da6c0
call fcn.0043a380
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x482ed0
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.0x482ee3
jmp dword [eax*4 + 0x4830a4]
mov eax, esi
call fcn.004011c0
cmp dword [0x4d980c], 0
jne 0x482fb3
cmp dword [esi + 0xc], 0
jne 0x482fb3
mov edi, dword [esp + 0x14]
cmp dword [0x4dbc44], esi
jne 0x482f18
test edi, edi
jne 0x482f75
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 0x482f71
mov dword [0x4dbc44], 0
test edi, edi
je 0x482f69
mov eax, dword [0x4d97e8]
test eax, eax
je 0x482f5a
mov edx, dword [esi + 0x18]
push 0
push edx
push str.An_environment_variable_is_being_accessed__see_NoEnv.
push eax
mov ecx, 0x4da6c0
call fcn.0043a8d0
mov ecx, dword [esi + 0x18]
call fcn.00480c50
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 0x482fa4
cmp byte [esi + 0x17], 0
jne 0x482f80
mov eax, dword [esi + 0xc]
jmp 0x482f82
mov eax, esi
test byte [eax + 0x15], 4
je 0x482f93
push esi
mov ecx, 0x4da6c0
call fcn.0043aa10
xor eax, eax
mov word [edi], ax
mov dword [0x4dbc44], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4dbc44], 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 0x483035
test eax, eax
jne 0x482fef
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x482fe1
push esi
mov ecx, 0x4da6c0
call fcn.0043aa10
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 0x483035
cmp eax, 0x186a0
jae 0x483024
movzx eax, word [ecx]
test ax, ax
je 0x483016
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x483005
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.004a37d0
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.00482ed0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404de0
cmp eax, 0xffffffff
jne 0x483064
xor eax, eax
test esi, esi
je 0x48309c
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 0x483082
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 0x483810
Capabilities:
Log keystrokes

Disassembly:
push ebp
push edi
mov edi, eax
movzx eax, word [esi]
cmp eax, 0x41
je 0x483821
cmp eax, 0x61
jne 0x483888
cmp word [esi + 2], 0
jne 0x483888
mov eax, dword [esp + 0x10]
cmp word [eax], 0
jne 0x483888
cmp word [ebx], 0
jne 0x483888
cmp word [edi], 0
jne 0x483888
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
test ebp, ebp
je 0x483888
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xea], 0
jne 0x48386f
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x483888
push ebp
call fcn.00484ad0
add esp, 4
test al, al
jne 0x483888
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x483883
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebp
pop edi
pop ebp
ret
mov eax, dword [esp + 0x14]
test al, al
jne 0x4838bc
cmp word [esi], 0
jne 0x4838bc
mov edx, dword [esp + 0x10]
cmp word [edx], 0
jne 0x4838bc
cmp word [ebx], 0
jne 0x4838bc
cmp word [edi], 0
jne 0x4838bc
mov eax, dword [esp + 0xc]
call fcn.00484080
test eax, eax
jne 0x4838d7
pop edi
pop ebp
ret
push 0
push eax
mov eax, dword [esp + 0x14]
push ebx
mov ecx, edi
mov edi, dword [esp + 0x1c]
push eax
mov edx, esi
call fcn.00483e80
add esp, 0x10
jmp 0x4838b5
pop edi
pop ebp
jmp fcn.00483940
Function at 0x483940
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x48394f
pop edi
add esp, 0x10
ret
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push 0
push edi
call ebp
mov dword [esp + 0x14], eax
cmp eax, dword [0x4da6a8]
je 0x48397c
mov esi, edi
call fcn.00484a50
test al, al
je 0x48397c
pop esi
pop ebp
xor eax, eax
pop edi
add esp, 0x10
ret
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x483999
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, ebx
jne 0x4839a7
pop ebx
pop esi
pop ebp
mov eax, edi
pop edi
add esp, 0x10
ret
cmp byte [0x4d97dc], 0
jne 0x4839c1
push ebx
call fcn.004838e0
add esp, 4
test eax, eax
jne 0x483b06
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test ebx, ebx
je 0x483a24
push 0
push ebx
call ebp
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x483a24
cmp dword [0x4da6a8], ebp
je 0x483a07
mov esi, ebx
call fcn.00484a50
test al, al
jne 0x483a07
mov eax, dword [0x4da6a8]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x483a24
cmp ebp, eax
je 0x483a24
push 1
push eax
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov esi, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
push edi
call esi
push 1
push 0xa
mov dword [0x4d5a1c], 0
call fcn.004014c0
add esp, 8
mov dword [0x4d5a1c], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x483a65
mov ebp, edi
jmp 0x483a76
cmp ebp, ebx
je 0x483a7a
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x483a7a
test ebp, ebp
jne 0x483abb
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x483a32
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.004164c0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.004164c0
push ebx
call fcn.004838e0
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x483ad6
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x4da6a8]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x483aef
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x483b04
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop ebx
pop esi
mov eax, ebp
pop ebp
pop edi
add esp, 0x10
ret
xor eax, eax
pop ebx
pop esi
pop ebp
pop edi
add esp, 0x10
ret
Function at 0x483c00
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x483c10
mov eax, esi
call fcn.0045f410
jmp 0x483c1d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x483c78
je 0x483c78
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.004014c0
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x483c75
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x483c75
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call ebx
test eax, eax
jne 0x483c54
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x483e80
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7840
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x483eac
cmp ecx, 0x61
jne 0x483f0e
cmp word [edx + 2], bx
jne 0x483f0e
cmp word [edi], bx
jne 0x483f0e
cmp word [eax], bx
jne 0x483f0e
cmp word [esi], bx
jne 0x483f0e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x483eef
cmp byte [ebp + 0xea], bl
jne 0x483eef
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x483eed
push esi
call fcn.00484ad0
add esp, 4
test al, al
je 0x483eef
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x483f02
cmp esi, ebx
je 0x483f02
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x483f33
cmp word [edi], bx
jne 0x483f33
cmp word [eax], bx
jne 0x483f33
cmp word [esi], bx
jne 0x483f33
mov eax, ebp
call fcn.00484080
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4af9bc
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.00484c30
test eax, eax
je 0x484034
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
je 0x484040
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x48400c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484034
cmp byte [ebp + 0xea], bl
jne 0x484005
mov esi, dword [esp + 0x102c]
call fcn.00484b40
cmp al, bl
jne 0x484005
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x484034
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x484025
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00485090
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00485150
test eax, eax
jne 0x484050
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea eax, [esp + 0x10]
push eax
push 0x484100
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x48406a
cmp eax, ebx
je 0x48406a
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x485090
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x48514e
mov eax, dword [esi]
test eax, eax
je 0x48514e
push edi
test al, 1
jne 0x4850ba
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4850d6
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4850d6
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x4850f1
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x48512f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x48512f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.0045bad0
add esp, 4
test eax, eax
jne 0x48512f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x48514e
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x485990
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.004a7840
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x485a3d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x4861b0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4af9bc
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x485a3d
mov ecx, dword [0x4d5b14]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x485a3d
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x485a50
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 0x485a6c
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 [0x4d5b14]
push eax
push esi
mov ecx, edi
call fcn.00485fb0
cmp byte [edi], 0
je 0x485a9f
test eax, eax
jne 0x485aa7
mov edx, dword [esp + 0x1c]
push eax
push edx
push edi
call fcn.00485b80
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x485b48
test esi, esi
je 0x485b22
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.004014c0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x485b05
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x485b05
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call edi
test eax, eax
jne 0x485ae0
mov edx, dword [0x4d5b14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x485b1e
push 1
push eax
call fcn.004014c0
add esp, 8
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x485b62
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x485b48
mov ecx, dword [0x4d5b14]
push ecx
push eax
mov ecx, edi
call fcn.00485fb0
test eax, eax
jne 0x485a5f
cmp byte [edi], 0
je 0x485b62
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call fcn.00485b80
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00485d80
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x485b80
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7840
mov eax, dword [esp + 0x11c74]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x485ba4
mov dword [eax], edi
cmp dword [ebp + 8], edi
je 0x485d44
mov cl, 1
mov eax, ebp
call fcn.00485f20
test eax, eax
je 0x485d6a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4d5b14]
push eax
push esi
mov ecx, ebp
call fcn.00485fb0
test eax, eax
setne cl
mov byte [esp + 0x17], cl
test cl, cl
jne 0x485bea
xor eax, eax
mov dword [0x4da630], eax
jmp 0x485bef
mov eax, dword [0x4da630]
cmp byte [esp + 0x11c80], 0
mov dword [esp + 0x1844], edi
mov dword [esp + 0x1848], edi
mov dword [esp + 0x184c], edi
mov dword [esp + 0x1858], edi
mov dword [esp + 0x1864], edi
mov dword [esp + 0x1868], edi
je 0x485c2f
mov byte [esp + 0x1841], 0
test cl, cl
je 0x485c37
mov byte [esp + 0x1841], 1
mov edx, dword [0x4da62c]
mov ecx, 0x4af9bc
mov dword [esp + 0x1024], ecx
mov dword [esp + 0x102c], ecx
mov dword [esp + 0x1030], ecx
mov ecx, dword [0x4d5b14]
cmp eax, edi
mov dword [esp + 0x1028], edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1850], edx
mov dword [esp + 0x1854], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x103c], ebp
mov dword [esp + 0x18], 0x10
setg bl
cmp byte [esp + 0x17], 0
je 0x485cba
xor ecx, ecx
test eax, eax
jle 0x485caa
lea ecx, [ecx]
cmp dword [edx + ecx*4], esi
je 0x485cba
inc ecx
cmp ecx, eax
jl 0x485ca0
cmp eax, 0x1f4
jge 0x485cba
mov dword [edx + eax*4], esi
inc eax
mov dword [0x4da630], eax
lea edx, [esp + 0x18]
push edx
push 0x484100
mov dword [esp + 0x185c], eax
call edi
mov eax, dword [esp + 0x1848]
test eax, eax
jne 0x485ceb
test bl, bl
je 0x485d56
mov edx, dword [0x4da62c]
mov dword [0x4da630], eax
xor bl, bl
jmp 0x485c90
call fcn.00483940
mov ecx, dword [0x4da630]
mov edx, dword [esp + 0x1848]
mov esi, dword [0x4da62c]
xor eax, eax
test ecx, ecx
jle 0x485d1a
lea esp, [esp]
cmp dword [esi + eax*4], edx
je 0x485d2c
inc eax
cmp eax, ecx
jl 0x485d10
cmp ecx, 0x1f4
jge 0x485d2c
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4da630], ecx
mov eax, dword [0x4d5b14]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jle 0x485d44
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 0xc
mov ecx, dword [esp + 0x11c84]
test ecx, ecx
je 0x485d6a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x485d6a
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c68
ret 0xc
Function at 0x485d80
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7840
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x485f00
xor cl, cl
mov eax, edi
call fcn.00485f20
test eax, eax
jne 0x485db5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4d5b14]
push eax
push ebp
mov ecx, edi
call fcn.00485fb0
test eax, eax
je 0x485dd8
xor eax, eax
mov dword [0x4da630], eax
jmp 0x485ddd
mov eax, dword [0x4da630]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4af9bc
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x485e23
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x485e2b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4da62c]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x486080
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x485ed8
lea ecx, [esp + 0x10]
push ecx
push 0x4849a0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x485e95
mov edx, dword [esp + 0x1848]
call fcn.00485620
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00483940
mov edx, dword [esp + 0x1848]
call fcn.00485620
mov edx, dword [0x4d5b14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x485f00
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4da630]
cmp eax, ebx
je 0x485f00
cmp eax, 1
setg al
mov dword [0x4da630], ebx
cmp al, bl
je 0x485f00
mov edx, ebp
call fcn.00485620
push ebx
mov ecx, edi
call fcn.00485d80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x4a1767
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4de0]
jne 0x4a1771
repz ret
jmp fcn.004a754f

Function at 0x4a49a0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d4de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0049d842
and dword [ebp - 0x14], 0
cmp dword [0x4d7df4], 0
mov dword [ebp - 0x18], eax
jne 0x4a4a53
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a4afb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4af100
push ebx
call edi
test eax, eax
je 0x4a4afb
mov esi, dword [fcn.00499120]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d7df4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d7df8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d7dfc], eax
call edi
push eax
call esi
mov dword [0x4d7e04], eax
test eax, eax
je 0x4a4a53
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d7e00], eax
mov eax, dword [0x4d7e00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00499124]
cmp eax, ecx
je 0x4a4aac
cmp dword [0x4d7e04], ecx
je 0x4a4aac
push eax
call esi
push dword [0x4d7e04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a4aac
test ebx, ebx
je 0x4a4aac
call edi
test eax, eax
je 0x4a4aa3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a4aa3
test byte [ebp - 8], 1
jne 0x4a4aac
or dword [ebp + 0x10], 0x200000
jmp 0x4a4adf
mov eax, dword [0x4d7df8]
cmp eax, dword [ebp - 0x18]
je 0x4a4adf
push eax
call esi
test eax, eax
je 0x4a4adf
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a4adf
mov eax, dword [0x4d7dfc]
cmp eax, dword [ebp - 0x18]
je 0x4a4adf
push eax
call esi
test eax, eax
je 0x4a4adf
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d7df4]
call esi
test eax, eax
je 0x4a4afb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a4afd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1767
leave
ret