joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4587d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x238
push ebx
push ebp
push esi
push edi
push ecx
mov byte [esp + 0x1b], dl
mov ebp, ecx
push 0
push 1
xor edx, edx
call fcn.00481730
add esp, 0xc
test eax, eax
je 0x458872
mov ecx, ebp
call fcn.004820d0
mov ebx, eax
test ebx, ebx
je 0x458874
cmp byte [esp + 0x17], 0
jne 0x458874
push ebx
push 0
push 0x101000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x45884b
push esi
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.DLL_GetProcessId]
cmp eax, ebx
jne 0x458834
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x4588ed
cmp edi, 0x102
je 0x458865
cmp byte [esp + 0x24c], 0
jne 0x458874
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
je 0x458874
test bl, 3
jne 0x458874
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238
ret
xor ebx, ebx
push 0
push 2
mov dword [esp + 0x20], 0x22c
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.DLL_Process32NextW]
lea eax, [esp + 0x18]
push eax
push esi
call edi
test eax, eax
je 0x4588e6
test ebx, ebx
je 0x4588b0
cmp ebx, dword [esp + 0x20]
je 0x4588fa
lea eax, [esp + 0x3c]
push 0x5c
push eax
call fcn.0049ce8e
add esp, 8
test eax, eax
je 0x4588c8
add eax, 2
jmp 0x4588cc
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.0049f3a1
add esp, 8
test eax, eax
je 0x458918
lea eax, [esp + 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x4588a6
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esp + 0x17], 0
cmovne ebx, dword [esp + 0x30]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x20]
cmovne eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238
ret
Function at 0x470390
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
cmp dword [0x4e4780], 0
push ebx
push ebp
push esi
mov ebp, ecx
je 0x4703d6
cmp dword [0x4e8c34], 0
jne 0x4703d6
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov edx, dword [ebx + 0x28]
test edx, edx
jle 0x4703d6
mov esi, dword [esp + 0x38]
mov eax, dword [ebx + 0x20]
add eax, 0xa
mov esi, dword [esi + 8]
cmp dword [eax - 6], esi
jne 0x4703ce
cmp byte [eax], 1
je 0x4703e1
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x4703c4
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [0x4e8c4c]
cmp eax, dword [0x4e4784]
jge 0x4703d6
mov esi, dword [0x4e4788]
cmp dword [esi + 0x3c], 0
jg 0x4703d6
inc eax
add esi, 0xa0
mov dword [0x4e8c4c], eax
mov eax, dword [0x4e8c38]
mov dword [0x4e4788], esi
test eax, eax
je 0x47041a
add eax, 0x58
jmp 0x47041c
xor eax, eax
test esi, esi
je 0x470425
lea ecx, [esi + 0x58]
jmp 0x470427
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x58
push 0
movups xmmword [ecx], xmm0
push esi
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
call fcn.0049dcb0
add esp, 0xc
mov byte [esi + 0x53], 1
mov ecx, 0x4e9ec0
mov dword [esi + 0x3c], 0
push 0
call fcn.00439750
mov al, byte [esi + 0x96]
test al, al
jne 0x47047f
mov byte [esi + 0x96], al
cmp dword [0x4ea5a8], 0
je 0x470491
cmp dword [0x4ea5a4], 0
jne 0x470495
test al, al
je 0x4704c7
mov dword [esi + 0x5c], 0x10
mov byte [esi + 0x53], 0
test al, al
jne 0x4704c7
cmp dword [0x4ea5a8], 0
jge 0x4704b6
mov dword [esi + 0x44], 0xffffffff
jmp 0x4704c7
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x48], eax
mov eax, dword [0x4ea5a8]
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4ea5ac], eax
mov eax, dword [ebp]
push ebp
call dword [eax + 4]
push dword [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x1c], 5
mov dword [esp + 0x14], eax
lea ecx, [ebx + 0x20]
mov eax, dword [esp + 0x3c]
push ebp
push 1
mov dword [esp + 0x2c], eax
push dword [eax + 8]
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 1
push 2
push eax
mov dword [esp + 0x3c], 0
call fcn.0047a170
mov ecx, dword [ebp]
mov esi, eax
push ebp
call dword [ecx + 8]
call fcn.00404630
cmp esi, 7
pop esi
pop ebp
sete al
pop ebx
add esp, 0x24
ret 0xc
Function at 0x471a80
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x14], edi
nop
movzx eax, word [esi]
cmp eax, 0x20
je 0x471a9d
cmp eax, 9
jne 0x471aa2
add esi, 2
jmp 0x471a90
test ax, ax
je 0x471c0c
cmp word [esi + 2], 0
lea ecx, [esi + 2]
jne 0x471ac6
mov word [edi + 2], ax
mov al, 1
mov byte [edi], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x2b
xor bl, bl
mov byte [edi], 1
push ecx
mov byte [esp + 0x1b], bl
call fcn.0049cf2f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x471b97
lea edi, [ebp - 2]
cmp edi, esi
jbe 0x471b04
nop dword [eax + eax]
movzx eax, word [edi]
cmp eax, 0x20
je 0x471afd
cmp eax, 9
jne 0x471b04
sub edi, 2
cmp edi, esi
ja 0x471af0
sub edi, esi
sar edi, 1
inc edi
push edi
push 0x4d31d0
push esi
call fcn.0049f522
add esp, 0xc
test eax, eax
jne 0x471b21
or bl, 1
jmp 0x471b53
push edi
push 0x4d31dc
push esi
call fcn.0049f522
add esp, 0xc
test eax, eax
jne 0x471b39
or bl, 4
jmp 0x471b53
push edi
push 0x4d31e4
push esi
call fcn.0049f522
add esp, 0xc
test eax, eax
jne 0x471c0c
or bl, 0x10
mov byte [esp + 0x13], bl
lea esi, [ebp + 2]
nop word [eax + eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x471b6d
cmp eax, 9
jne 0x471b72
add esi, 2
jmp 0x471b60
test ax, ax
je 0x471c0c
lea eax, [esi + 2]
push 0x2b
push eax
call fcn.0049cf2f
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x471ae4
mov edi, dword [esp + 0x14]
cmp word [esi + 2], 0
jne 0x471bc7
push 1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
movzx eax, word [esi]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea edx, [esp + 0x1b]
mov ecx, eax
call fcn.0041cc30
mov bl, byte [esp + 0x1b]
add esp, 8
jmp 0x471bdf
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.0041cb00
add esp, 0xc
movzx eax, al
mov word [edi + 2], ax
test bl, 1
je 0x471bee
or byte [edi], 8
test bl, 4
je 0x471bf6
or byte [edi], 0x10
test bl, 0x10
je 0x471bfe
or byte [edi], 4
pop edi
pop esi
test ax, ax
pop ebp
setne al
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
Function at 0x472460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6bed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x4e8bf0
mov dword [esi + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.UserMenu.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xff000000
mov edi, dword [0x4e9dd4]
test edi, edi
je 0x4724fe
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47250b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], edi
cmp dword [0x4ea55c], 0
jne 0x47251f
mov dword [0x4ea55c], esi
jmp 0x472527
mov eax, dword [0x4ea560]
mov dword [eax + 0x20], esi
inc dword [0x4ea564]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword [0x4ea560], esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x47d6e0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 4], edi
mov ebx, 1
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47d7b5
push 0
push 0
push ebx
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x47d7b5
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x47d730
sub esi, ecx
sar esi, 1
lea edi, [esi + 4]
lea eax, [edi + edi]
call fcn.004b5a90
mov ebx, esp
push dword [ebp - 4]
push 0x4dbf84
push edi
push ebx
call fcn.00481920
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esp, 0x10
lea esi, [esi*2 + 6]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x47d780
cmp dword [ebp - 0xc], esi
je 0x47d799
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
neg eax
sbb eax, eax
and eax, esi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
neg eax
sbb eax, eax
and eax, esi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e050
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x214
push ebx
push ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xff
push eax
lea eax, [esp + 0x34]
mov edi, ecx
push eax
push 0
push edi
call ebx
cmp eax, 0x103
je 0x47e107
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4e4788]
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 0x47e114
mov ecx, dword [esp + 0x14]
call fcn.0047e050
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x47e114
lea eax, [esp + 0x20]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x47e114
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 ebx
cmp eax, 0x103
jne 0x47e091
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret

Function at 0x482f00
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004b5cc0
push esi
push edi
push 0x7fff
lea eax, [esp + 0xc]
mov edi, edx
push eax
push 0x4d5858
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x482f55
lea ecx, [esi + 1]
cmp ecx, 0x7fff
ja 0x482f55
lea ecx, [esi*2 + 2]
push ecx
lea eax, [esp + 0xc]
push eax
push edi
call fcn.0049cfe0
add esp, 0xc
mov eax, esi
pop edi
pop esi
add esp, 0x10000
ret
xor eax, eax
mov word [edi], ax
mov eax, esi
pop edi
pop esi
add esp, 0x10000
ret

Function at 0x482f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
or eax, 1
push eax
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x483029
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x208
push eax
push edi
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x483029
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x483029
shr ecx, 1
lea eax, [ecx - 1]
mov dword [esp + 0x1c], eax
cmp word [edi + eax*2], si
jne 0x48300f
test eax, eax
je 0x48302e
mov esi, eax
mov edx, eax
mov ecx, eax
nop dword [eax + eax]
cmp word [edi + ecx*2 - 2], 0
mov eax, edx
jne 0x48302e
lea eax, [esi - 1]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov esi, eax
mov edx, eax
test ecx, ecx
jne 0x482ff0
pop edi
pop esi
pop ecx
ret
mov dword [esp + 0x1c], ecx
cmp ecx, 0x104
jae 0x483029
xor eax, eax
mov word [edi + ecx*2], ax
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ecx
ret
xor eax, eax
mov word [edi], ax
pop edi
pop esi
pop ecx
ret
Function at 0x484d80
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00406ea0
test eax, eax
jne 0x484dfb
mov eax, dword [0x4e4788]
cmp dword [eax + 0x34], 0
jne 0x484dd9
cmp dword [0x4ea53c], 0
jne 0x484dd9
cmp byte [0x4e9e56], 0
jne 0x484dd9
push 0
push 0
push 0x4cee98
push 9
push 0x4d0d90
mov ecx, 0x4e9ec0
call fcn.0040d580
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 9
push 0
push 0x4cee98
push 0x4d0d90
mov ecx, 0x4e9ec0
call fcn.0040c3f0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebx + esi]
lea esi, [ebx + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
ja 0x484e82
nop
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x484e82
mov edi, esi
add esi, 4
cmp esi, eax
ja 0x484e82
mov edi, dword [edi]
mov ebx, esi
add esi, edi
cmp esi, eax
ja 0x484e82
xor eax, eax
test edi, edi
sete al
add eax, edi
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x484f7b
test edi, edi
je 0x484e6c
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x484ed1
push edi
push ebx
push eax
call fcn.0049cfe0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ebx, esi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0x14]
lea esi, [ebx + 4]
cmp esi, eax
jbe 0x484e10
cmp dword [0x4ea608], 0
je 0x484ec4
cmp dword [0x4ea5f8], 0
je 0x484eaa
push dword [0x4ea5f0]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4ea5f8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea608], 0
mov dword [0x4ea5f0], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp dword [0x4ea608], 0
je 0x484f1a
cmp dword [0x4ea5f8], 0
je 0x484f00
push dword [0x4ea5f0]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4ea5f8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea608], 0
mov dword [0x4ea5f0], 0
mov eax, dword [0x4e4788]
cmp dword [eax + 0x34], 0
jne 0x484f59
cmp dword [0x4ea53c], 0
jne 0x484f59
cmp byte [0x4e9e56], 0
jne 0x484f59
push 0
push 0
push 0x4cee98
push 9
push 0x4d0d48
mov ecx, 0x4e9ec0
call fcn.0040d580
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 9
push 0
push 0x4cee98
push 0x4d0d48
mov ecx, 0x4e9ec0
call fcn.0040c3f0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4ea608], 0
je 0x484fbd
cmp dword [0x4ea5f8], 0
je 0x484fa3
push dword [0x4ea5f0]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4ea5f8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea608], 0
mov dword [0x4ea5f0], 0
push dword [0x4e9d8c]
mov ecx, 0x4e9ec0
push 0
push 0
push 0
push 0x4d27e0
call fcn.0040c990
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485f70
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ecx
cmp byte [esp + 8], 0
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov esi, ecx
je 0x485fdb
lea eax, [esp + 0x10]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x485fe8
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x485fe8
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x485fe8
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x485fe8
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test ebx, ebx
cmovns edi, ebx
test edi, edi
je 0x486041
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
mov edx, 1
mov dword [esp + 0x18], eax
mov ecx, 0x8000012f
call fcn.004015e0
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push esi
call ebp
test eax, eax
je 0x486041
add edi, dword [esp + 0x18]
nop
call ebx
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x486041
mov edx, 1
mov ecx, 0x8000012f
call fcn.004015e0
push esi
call ebp
test eax, eax
jne 0x486020
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x488240
Capabilities:
Enumerate gui resources
Find taskbar

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6f10
push eax
mov eax, 0x10474
mov dword fs:[0], esp
call fcn.004b5cc0
push esi
mov esi, ecx
push edi
mov byte [esi], 0
cmp dword [0x4e9e28], esi
je 0x488281
mov dword [0x4e9e28], esi
mov dword [0x4e9e30], 0
cmp dword [0x4e9e2c], 0
jne 0x4882a1
mov ecx, 0x7d0
call fcn.0047e730
test eax, eax
je 0x488468
mov dword [0x4e9e2c], eax
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
push 4
push edi
call ebx
test eax, eax
je 0x4882cb
nop dword [eax]
push 4
push eax
mov edi, eax
call ebx
test eax, eax
jne 0x4882c0
mov eax, dword [0x4e4788]
mov ecx, esi
add eax, 0x58
push eax
push edi
call fcn.00488470
pop ebx
test eax, eax
je 0x4882eb
xor ecx, ecx
mov dword [0x4e9e30], ecx
jmp 0x4882f1
mov ecx, dword [0x4e9e30]
mov dword [ebp - 0x10480], 0
mov dword [ebp - 0x10478], 0
mov dword [ebp - 0x10474], 0
mov dword [ebp - 0x10464], 0x4cee98
mov dword [ebp - 0x10440], 0
mov dword [ebp - 0x1043c], 0
mov dword [ebp - 0x10438], 0
mov dword [ebp - 0x10420], 0
mov dword [ebp - 0x1041c], 0
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x488363
mov byte [ebp - 0x10443], 0
test ecx, ecx
je 0x48836a
mov byte [ebp - 0x10443], 1
mov eax, dword [0x4e9e2c]
mov dword [ebp - 0x10434], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x1042c], eax
lea eax, [ebp - 0x10480]
push eax
push 0x488580
mov dword [ebp - 0x10430], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x1043c]
test eax, eax
je 0x4883fb
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov ecx, eax
call fcn.00485c20
mov ecx, dword [0x4e9e30]
xor eax, eax
mov edx, dword [ebp - 0x1043c]
mov esi, dword [0x4e9e2c]
test ecx, ecx
jle 0x4883d0
cmp dword [esi + eax*4], edx
je 0x4883e2
inc eax
cmp eax, ecx
jl 0x4883c6
cmp ecx, 0x1f4
jge 0x4883e2
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4e9e30], ecx
mov eax, dword [0x4e4788]
mov ecx, dword [eax + 0x64]
cmp ecx, 0xffffffff
jle 0x488448
mov edx, 1
call fcn.004015e0
jmp 0x488448
mov eax, dword [0x4e9e30]
test eax, eax
je 0x488434
cmp eax, 1
mov dword [0x4e9e30], 0
setg al
test al, al
je 0x488448
mov eax, dword [0x4e9e2c]
mov ecx, esi
push 0
mov dword [0x4e9e30], 1
mov dword [eax], edi
call fcn.00488240
jmp 0x488448
push 0
push 0x4d5a50
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, eax
call fcn.00485c20
push dword [ebp - 0x10478]
call fcn.0049f4a2
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0040dcc0
int3
Function at 0x49c3ef
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x49c42e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49c42e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49c42e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49c42e
cmp dword [ecx + 0x74], 0xe
jbe 0x49c42e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4ae0ef
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4ae13a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004ae28a
test al, al
jne 0x4ae134
sub edx, 2
cmp edx, edi
jne 0x4ae11a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4ae15c
lea eax, [edi + 2]
cmp edx, eax
je 0x4ae15c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004ae03b
add esp, 0x10
jmp 0x4ae256
push esi
lea ecx, [ebp - 0x255]
call fcn.004ae28a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ae19f
push dword [ebp - 0x25c]
jmp 0x4ae14c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4ae1dc
cmp word [ebp - 0x226], 0
je 0x4ae1fd
cmp word [ebp - 0x226], ax
jne 0x4ae1dc
cmp word [ebp - 0x224], 0
je 0x4ae1fd
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004ae03b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4ae249
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4ae1b6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4ae231
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x4ae256
push 0x4ade6b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004a9600
add esp, 0x10
jmp 0x4ae226
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049c643
leave
ret

Function at 0x4aef90
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb7fc
push 0x4bb7f4
push 0x4b9420
push 0x1f
call fcn.004aeecb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4aefc4
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b87a4]
call esi
jmp 0x4aefca
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4af00e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb80c
push 0x4bb804
push 0x4b9444
push 0x21
call fcn.004aeecb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4af045
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b87a4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]

Function at 0x4af04d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb814
push 0x4bb80c
push 0x4b9458
push 0x22
call fcn.004aeecb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4af087
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4b87a4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsSetValue]
Function at 0x4b5870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b589d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b589d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret