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

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
cmp byte [esi + 0x17], 0
push edi
mov edi, ecx
jne 0x471622
mov esi, dword [esi + 0xc]
cmp byte [edi + 0x17], 0
jne 0x47162b
mov edi, dword [edi + 0xc]
mov al, byte [esi + 0x15]
test al, 0x10
je 0x4716af
test al, 8
jne 0x471694
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 0x471664
cmp edx, 9
je 0x471664
cmp ecx, 0x20
je 0x471664
cmp ecx, 9
je 0x471664
cmp edx, 0x30
je 0x471664
cmp edx, 0x2b
jne 0x471694
mov ecx, dword [esi + 8]
push edi
call fcn.00401200
test eax, eax
jne 0x471679
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 0x471711
test al, 8
jne 0x4716ed
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
shr eax, 1
push edi
call fcn.00401200
test eax, eax
je 0x471671
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 0x471723
mov ecx, esi
mov edx, edi
pop edi
pop esi
add esp, 0xc
jmp fcn.00471b20
test al, 2
je 0x47173f
mov esi, dword [esi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
push esi
mov eax, edi
call fcn.004127e0
pop edi
pop esi
add esp, 0xc
ret
cmp byte [esi + 0x17], 0
jne 0x47174a
mov eax, dword [esi + 0xc]
jmp 0x47174c
mov eax, esi
test byte [eax + 0x15], 4
je 0x471759
mov eax, esi
call fcn.0042f660
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 0x471770
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
dec eax
cmp eax, 4
ja case.default.0x471780
jmp dword [eax*4 + 0x471818]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edi
call fcn.00412780
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x471780
mov ecx, dword [esi]
cmp word [ecx], 0x30
je 0x4717b4
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
call fcn.00412780
pop esi
ret
push edi
or eax, 0xffffffff
call fcn.00401200
test eax, eax
jne 0x4717c3
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.00471610
fld qword [esi]
sub esp, 8
fstp qword [esp]
push edi
call fcn.004127b0
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.004127e0
pop esi
ret
mov ecx, dword [esi]
push edi
or eax, 0xffffffff
call fcn.00401200
pop esi
ret
Function at 0x471b20
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 0x471b3a
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 0
je 0x471b31
cmp byte [ebx + 0x17], 0
jne 0x471b43
mov ebx, dword [ebx + 0xc]
mov eax, ebx
call fcn.00401160
cmp byte [esi + 0x17], 1
jne 0x471ba6
cmp esi, ebx
je 0x471c20
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.00471d60
test eax, eax
jne 0x471b7e
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.004903a0
add esp, 0xc
or byte [esi + 0x15], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 0x4c4b00
call fcn.00403fe0
test eax, eax
jne 0x471bd0
push 0x4a59a4
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4c4000
call fcn.0042f0c0
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 0x471c34
xor esi, esi
cmp dword [0x4c4b18], esi
je 0x471c20
cmp dword [0x4c4b08], esi
je 0x471c0e
mov edx, dword [0x4c4b00]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c4b08], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c4b18], esi
mov dword [0x4c4b00], 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 0x471be9
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x471be9
mov ebx, dword [ecx]
mov edi, esi
add esi, ebx
cmp esi, eax
ja 0x471be9
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x471ca1
test ebx, ebx
je 0x471c87
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x471cf7
push ebx
push edi
push eax
call fcn.004903a0
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 0x471c30
jmp 0x471be9
cmp dword [0x4c4b18], 0
je 0x471cdb
cmp dword [0x4c4b08], 0
je 0x471cc9
mov eax, dword [0x4c4b00]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c4b08], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4c4b18], eax
mov dword [0x4c4b00], eax
push 0x4a59a4
push str.Out_of_memory.
mov ecx, 0x4c4000
call fcn.0042f0c0
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 [0x4c4b18], esi
je 0x471d35
cmp dword [0x4c4b08], esi
je 0x471d23
mov ecx, dword [0x4c4b00]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c4b08], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c4b18], esi
mov dword [0x4c4b00], esi
push 0x4a59a4
push 0x49bb24
mov ecx, 0x4c4000
call fcn.0042f0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4720a0
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.0x4720b3
jmp dword [eax*4 + 0x472274]
mov eax, esi
call fcn.00401160
cmp dword [0x4c200c], 0
jne 0x47217f
cmp dword [esi + 0xc], 0
jne 0x47217f
mov edi, dword [esp + 0x14]
cmp dword [0x4c56d0], esi
jne 0x4720e8
test edi, edi
jne 0x472145
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 0x472141
mov dword [0x4c56d0], 0
test edi, edi
je 0x472139
mov eax, dword [0x4c1fec]
test eax, eax
je 0x47212a
mov edx, dword [esi + 0x18]
push edx
push str.Using_value_of_environment_variable.
push eax
push 0x4c4000
xor ecx, ecx
call fcn.0042f530
mov ecx, dword [esi + 0x18]
call fcn.00470710
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 0x472170
cmp byte [esi + 0x17], 0
jne 0x472150
mov eax, dword [esi + 0xc]
jmp 0x472152
mov eax, esi
test byte [eax + 0x15], 4
je 0x47215f
mov eax, esi
call fcn.0042f660
xor eax, eax
mov word [edi], ax
mov dword [0x4c56d0], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4c56d0], 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 0x472200
test eax, eax
jne 0x4721b7
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x4721a9
mov eax, esi
call fcn.0042f660
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 0x472200
cmp eax, 0x186a0
jae 0x4721ef
movzx eax, word [ecx]
test ax, ax
je 0x4721e1
lea ecx, [ecx]
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x4721d0
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.004903a0
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.004720a0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov ecx, esi
mov ebx, 0x4c4b00
call fcn.00403a40
cmp eax, 0xffffffff
jne 0x472234
xor eax, eax
test esi, esi
je 0x47226c
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 0x472252
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 0x472ad0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x472adf
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 [0x4c3fc0]
je 0x472b0a
mov esi, edi
call fcn.00473b70
test al, al
jne 0x472ca2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x472b24
push eax
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp edi, esi
jne 0x472b32
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 0x472b46
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4c1fca], 0
jne 0x472b60
push esi
call fcn.00472a70
add esp, 4
test eax, eax
jne 0x472ca4
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x472bbd
push 0
push esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x472bbd
cmp dword [0x4c3fc0], ebx
je 0x472ba4
call fcn.00473b70
test al, al
jne 0x472ba4
mov eax, dword [0x4c3fc0]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test ebp, ebp
je 0x472bbd
cmp ebx, ebp
je 0x472bbd
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 0x472bd0
push edi
call ebx
push 1
push 0xa
mov dword [0x4be3c4], 0
call fcn.004012b0
add esp, 8
mov dword [0x4be3c4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x472c03
mov ebp, edi
jmp 0x472c14
cmp ebp, esi
je 0x472c18
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x472c18
test ebp, ebp
jne 0x472c59
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x472bd0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040eb50
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040eb50
push esi
call fcn.00472a70
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x472c74
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4c3fc0]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x472c8d
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 0x472ca2
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 0x472da0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x472db0
mov eax, esi
call fcn.004529a0
jmp 0x472dbd
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x472e18
je 0x472e18
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.004012b0
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x472e15
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x472e15
push 1
push 0x8000012f
call fcn.004012b0
add esp, 8
push esi
call ebx
test eax, eax
jne 0x472df4
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x473000
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.00493810
movzx eax, word [ecx]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x11c7c]
cmp eax, 0x41
je 0x47302a
cmp eax, 0x61
jne 0x47307f
cmp word [ecx + 2], bx
jne 0x47307f
cmp word [edi], bx
jne 0x47307f
cmp word [esi], bx
jne 0x47307f
cmp word [edx], bx
jne 0x47307f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x473060
cmp byte [ebp + 0xe2], bl
jne 0x473060
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x473060
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x473073
cmp esi, ebx
je 0x473073
mov dword [ebp + 0xc0], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp ax, bx
jne 0x4730a4
cmp word [edi], bx
jne 0x4730a4
cmp word [esi], bx
jne 0x4730a4
cmp word [edx], bx
jne 0x4730a4
mov eax, ebp
call fcn.00473200
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push edx
push esi
push edi
push ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1030], 0x4a59a4
mov byte [esp + 0x184d], bl
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 + 0x1864], ebx
mov dword [esp + 0x1870], ebx
mov dword [esp + 0x1874], ebx
call fcn.00473cb0
test eax, eax
je 0x4731b5
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x4731c1
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x47318e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4731b5
cmp byte [ebp + 0xe2], bl
jne 0x473187
mov eax, dword [esp + 0x102c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x473187
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4731b5
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x4731a7
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00474130
push ebx
lea ecx, [esp + 0x14]
call fcn.004741f0
test eax, eax
jne 0x4731d1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea edx, [esp + 0x10]
push edx
push 0x473270
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x4731eb
cmp eax, ebx
je 0x4731eb
mov dword [ebp + 0xc0], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x4733e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10018
call fcn.00493810
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x473408
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00471d60
cmp dword [ebp + 0x14], 0
jne 0x473415
mov dword [ebp + 0x14], 0x1f4
mov eax, 1
cmp dword [ebp + 0x18], eax
jge 0x473426
mov dword [ebp + 0x18], 0x32
cmp dword [ebp + 0xc], eax
jge 0x47342e
mov dword [ebp + 0xc], eax
test ebx, ebx
je 0x4735cf
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 0x4735cf
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esp + 0x1c]
jg 0x4735cf
push 0x10000
mov ecx, ebx
lea edi, [esp + 0x18]
call fcn.004707e0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4735cc
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
lea ecx, [ecx]
lea eax, [esp + 0xc]
push eax
push 0x7d0
push 2
push 0
push edi
push 0x40c
push ebx
call esi
test eax, eax
je 0x47351e
mov ecx, 0x7fff
cmp word [esp + 0xc], cx
ja 0x473563
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 0x47351e
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 0x47355c
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
call fcn.00472900
test al, al
jne 0x473580
cmp dword [ebp + 8], 0
jne 0x473569
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4735ae
cmp dword [ebp + 0x14], 0
jl 0x473549
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, dword [ebp + 0x14]
sub ecx, eax
cmp ecx, 5
jle 0x473598
mov eax, dword [ebp + 0x18]
push 1
push eax
call fcn.004012b0
add esp, 8
jmp 0x4734a0
xor ecx, ecx
mov word [esp + 0x20], cx
cmp dword [ebp + 8], 0
je 0x4735ae
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
call fcn.00471d60
mov edi, eax
jmp 0x4735b3
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c0
call fcn.00471d60
jmp 0x473563
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e334
call fcn.00471d60
mov edi, 1
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push eax
call fcn.00470860
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov eax, 0x49e334
test edi, edi
jne 0x4735dd
mov eax, 0x49e5a4
mov ecx, dword [0x4be3fc]
cmp byte [ecx + 0x100], 0
jne 0x473604
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00471d60
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4c4624]
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042eae0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x474130
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x4741ee
mov eax, dword [esi]
test eax, eax
je 0x4741ee
push edi
test al, 1
jne 0x47415a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x474176
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x474176
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x474191
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x4741cf
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x4741cf
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.0044e3b0
add esp, 4
test eax, eax
jne 0x4741cf
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x4741ee
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 0x474860
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.00493810
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47490d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x474f90
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4a59a4
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 0x47490d
mov ecx, dword [0x4be3fc]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47490d
push 1
push eax
call fcn.004012b0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x474920
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 0x47493c
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 [0x4be3fc]
push eax
push esi
mov ecx, edi
call fcn.00474dd0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x474973
test eax, eax
jne 0x474977
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00474a30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x4749f6
test esi, esi
je 0x4749f6
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.004012b0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4749d5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4749d5
push 1
push 0x8000012f
call fcn.004012b0
add esp, 8
push esi
call edi
test eax, eax
jne 0x4749b0
mov edx, dword [0x4be3fc]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4749ee
push 1
push eax
call fcn.004012b0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x474a10
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00474a30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00474ba0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x474ba0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.00493810
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x474d20
xor cl, cl
mov eax, edi
call fcn.00474d40
test eax, eax
jne 0x474bd5
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 [0x4be3fc]
push eax
push ebp
mov ecx, edi
call fcn.00474dd0
test eax, eax
je 0x474bf8
xor eax, eax
mov dword [0x4c3fb4], eax
jmp 0x474bfd
mov eax, dword [0x4c3fb4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4a59a4
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 0x474c43
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x474c4b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4c3fb0]
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 0x474ea0
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x474cf8
lea ecx, [esp + 0x10]
push ecx
push 0x473ac0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x474cb5
mov edx, dword [esp + 0x1848]
call fcn.004745e0
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00472ad0
mov edx, dword [esp + 0x1848]
call fcn.004745e0
mov edx, dword [0x4be3fc]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x474d20
push 1
push eax
call fcn.004012b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4c3fb4]
cmp eax, ebx
je 0x474d20
cmp eax, 1
setg al
mov dword [0x4c3fb4], ebx
cmp al, bl
je 0x474d20
mov edx, ebp
call fcn.004745e0
push ebx
mov ecx, edi
call fcn.00474ba0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4