joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420157
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x4a2d54]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x64], edi
jle 0x42029b
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041743f
xor ebx, ebx
and dword [esp + 0x20], ebx
and dword [esp + 0xc], ebx
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x42019f
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
jmp 0x4201a1
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jge 0x42029b
mov eax, esi
call fcn.00416d3c
mov ecx, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x14], ecx
call fcn.00417719
cmp dword [esp + 0xc], 0
jne 0x4201e6
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x20], ebx
jmp 0x420202
mov eax, dword [esi + 0x80]
add eax, dword [esi + 0x78]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
add eax, edi
cmp eax, dword [esi + 0x64]
jle 0x420205
mov ebx, dword [esp + 0x20]
mov edi, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
lea ecx, [eax + edi]
add ecx, dword [esi + 0x78]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x7c]
add ecx, dword [esp + 0x28]
add ecx, ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x80]
sub ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esi + 0x84]
sub eax, dword [esp + 0x38]
add ecx, edi
add eax, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
call fcn.00418054
mov eax, dword [esi + 0x88]
sub eax, dword [esp + 0x34]
add eax, dword [esi + 0x80]
add eax, dword [esp + 0x3c]
add eax, dword [esi + 0x78]
add edi, eax
mov eax, dword [esi + 0x84]
sub eax, dword [esp + 0x38]
add eax, dword [esi + 0x7c]
add eax, dword [esp + 0x40]
add eax, ebx
cmp dword [esp + 0x20], eax
jg 0x420292
mov dword [esp + 0x20], eax
inc dword [esp + 0xc]
jmp 0x42018e
mov ecx, dword [esp + 0x54]
pop edi
pop ebx
xor ecx, esp
call fcn.0044bf82
mov esp, ebp
pop ebp
ret

Function at 0x4218aa
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a4594]
cmp eax, 0xffffffff
jne 0x421915
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0044d460
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42190e
cmp dword [ebp - 0x114], 6
jb 0x42190e
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x421910
xor eax, eax
mov dword [0x4a4594], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044bf82
leave
ret
Function at 0x427312
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp eax, 0x84
jne 0x427324
or dword [esi], 0xffffffff
xor eax, eax
inc eax
jmp 0x427393
cmp eax, 0x21
jne 0x427331
mov dword [esi], 3
jmp 0x42731f
push ebx
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x427344
mov eax, edi
call fcn.0042739f
mov dword [esi], eax
jmp 0x42738c
cmp eax, 0x113
jne 0x427377
cmp dword [ebp + 8], 0x20
jne 0x427369
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x20
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x42736b
xor ebx, ebx
and dword [esi], 0
test ebx, ebx
je 0x427390
xor eax, eax
inc eax
jmp 0x427392
cmp eax, 0x400
jne 0x427390
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi], 0
mov eax, ebx
jmp 0x427392
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x42bd9d
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x49b338
call fcn.00458910
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x42be05
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x42be05
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x42be05
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x42be05
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x42be0e
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.00458955
ret

Function at 0x42bed2
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x4a7024]
jmp 0x42bef4
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
test esi, esi
jne 0x42bedf
pop esi
leave
ret
Function at 0x42bf24
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x42bf47
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x42bf4a
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x42bf5d
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x42bf64
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x4a7028]
mov ecx, dword [0x4a7024]
test eax, eax
jne 0x42bf7e
test ecx, ecx
je 0x42bf93
mov eax, ecx
mov dword [0x4a7028], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x42bf93
cmp edx, dword [ebp - 4]
jb 0x42bf93
cmp edx, dword [ebp - 8]
jbe 0x42c064
mov eax, ecx
test ecx, ecx
jmp 0x42bfb7
test eax, eax
je 0x42bfb2
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42bfb2
cmp ecx, dword [ebp - 4]
jb 0x42bfb2
cmp ecx, dword [ebp - 8]
jbe 0x42c064
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x4a7028], eax
jne 0x42bf99
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x42c0ee
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x42bfe4
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42c0ee
cmp dword [ebp - 0x30], ebx
jne 0x42c003
cmp dword [ebp - 0x34], ebx
jae 0x42c016
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x42bfd2
jmp 0x42c0ee
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4a7028], eax
test eax, eax
je 0x42c0ee
mov ecx, dword [0x4a7024]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x4a7024], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x42c056
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
cmp edx, dword [ebp - 4]
jb 0x42c0f3
cmp edx, dword [ebp - 8]
ja 0x42c0f3
mov ecx, dword [edx + 0x18]
mov dword [eax + 8], ecx
push 8
mov eax, 0xcccccccc
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x42c0f5
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x42c09d
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42c0f3
cmp dword [ebp - 0x14], ebx
jne 0x42c0e8
cmp dword [ebp - 0x18], ebx
jb 0x42c0e8
movzx ecx, si
test ecx, ecx
je 0x42c0cc
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4a7028], eax
test eax, eax
jne 0x42c032
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 8]
jb 0x42c08b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c1d5
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4a7030], eax
je 0x42c1ee
mov eax, 0x10dd
leave
ret
push ebx
push esi
push edi
mov edi, dword [0x4a7040]
xor ebx, ebx
cmp edi, ebx
je 0x42c238
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x42c229
mov esi, dword [edi + 0x10]
cmp esi, ebx
je 0x42c229
call fcn.0042c0fa
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push edi
call fcn.0044bdaa
pop ecx
mov edi, esi
cmp esi, ebx
jne 0x42c1fd
mov dword [0x4a7040], ebx
call fcn.0042befb
mov esi, dword [0x4a703c]
cmp esi, ebx
je 0x42c265
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.0044bdaa
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x42c24d
pop edi
pop esi
mov dword [0x4a703c], ebx
mov dword [0x4a7030], ebx
xor eax, eax
pop ebx
leave
ret
Function at 0x42c788
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4a7030], eax
je 0x42c7a4
mov eax, 0x10dd
jmp 0x42c883
mov eax, dword [0x4a7034]
test eax, eax
jne 0x42c883
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x42c7c1
push 6
pop eax
jmp 0x42c882
cmp dword [esi], 0
jne 0x42c7d9
push 6
pop eax
mov dword [0x4a7034], eax
mov dword [0x4a7038], esi
jmp 0x42c882
push ebx
push edi
push 0x18
call fcn.0044ca20
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c7ee
push 8
pop esi
jmp 0x42c865
mov edi, dword [esi]
mov esi, dword [ebp + 0xc]
call fcn.0042be45
movzx ecx, byte [edi + 0x17]
mov esi, dword [edi + 0x18]
xor edx, edx
sub esi, ecx
cmp ecx, edx
je 0x42c85a
cmp ecx, 0x17
ja 0x42c85a
cmp dword [edi + 0x1c], eax
jne 0x42c85a
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42c830
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x42c865
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 4], 1
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], esi
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
mov eax, dword [0x4a7040]
mov dword [ebx], eax
mov dword [0x4a7040], ebx
xor eax, eax
jmp 0x42c880
push 9
pop esi
cmp dword [0x4a702c], edx
jne 0x42c86b
mov dword [0x4a7034], esi
test ebx, ebx
je 0x42c876
push ebx
call fcn.0044bdaa
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x4a7038], eax
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x42d032
Capabilities:
Enumerate process modules

Disassembly:
push 0x438
mov eax, 0x477434
call fcn.0044cfd2
mov eax, dword [ebp + 8]
push 0x2801
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], 0x2800
call fcn.0044bd14
mov esi, eax
pop ecx
lea eax, [ebp - 0x440]
push eax
mov eax, dword [ebp - 0x440]
inc eax
push eax
push esi
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42d128
xor edi, edi
test dword [ebp - 0x440], 0xfffffffc
jbe 0x42d128
push 0x208
lea eax, [ebp - 0x420]
push eax
push dword [esi + edi*4]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
cmp eax, 4
jbe 0x42d116
lea eax, [ebp + eax*2 - 0x428]
push str..tmp
push eax
call fcn.0044e48c
pop ecx
pop ecx
test eax, eax
jne 0x42d116
and dword [ebp - 0x42c], eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 7
call fcn.004032fb
mov ecx, dword [ebp - 0x444]
and dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
call fcn.004051a1
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x43c]
call fcn.00403656
mov eax, dword [ebp - 0x440]
inc edi
shr eax, 2
cmp edi, eax
jb 0x42d092
push esi
call fcn.0044bdaa
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044d055
ret
Function at 0x42e76c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, str.Unknown
call fcn.0040cef3
cmp eax, 6
jg 0x42e7e2
je 0x42e7db
cmp eax, 0xfffffc18
je 0x42e7d4
cmp eax, 1
je 0x42e7cd
cmp eax, 2
je 0x42e7c6
cmp eax, 3
je 0x42e7bf
cmp eax, 4
je 0x42e7b8
cmp eax, 5
jne 0x42e818
mov esi, str.Windows_XP_SP3
jmp 0x42e818
mov esi, str.Windows_XP_SP2
jmp 0x42e818
mov esi, str.Windows_XP_SP1
jmp 0x42e818
mov esi, str.Windows_XP
jmp 0x42e818
mov esi, str.Windows_2000
jmp 0x42e818
mov esi, str.Old_Windows
jmp 0x42e818
mov esi, str.Windows_2003
jmp 0x42e818
sub eax, 7
je 0x42e813
dec eax
je 0x42e80c
dec eax
je 0x42e805
dec eax
je 0x42e7fe
sub eax, 0x3de
jne 0x42e818
mov esi, str.Windows_Newest
jmp 0x42e818
mov esi, str.Windows_7
jmp 0x42e818
mov esi, str.Windows_Vista_SP2
jmp 0x42e818
mov esi, str.Windows_Vista_SP1
jmp 0x42e818
mov esi, str.Windows_Vista
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0044d460
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x29
push dword [ebp - 0x10c]
push 0x2e
push dword [ebp - 0x110]
push 0x2e
push dword [ebp - 0x114]
push 0x496368
push esi
push edi
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
mov esi, eax
call fcn.00409533
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
mov esi, eax
call fcn.00409533
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
mov esi, eax
call fcn.00409533
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0044bf82
leave
ret
Function at 0x42e8b2
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x24], 0x20
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push str._MBytes_user_address_space_free.
add ecx, 0xfffff
shr ecx, 0x14
add eax, 0xfffff
shr eax, 0x14
push eax
mov eax, str._r_n
push eax
push str._MBytes_user_address_space.
push ecx
mov ecx, dword [ebp - 0x10]
push eax
push str._MBytes_paging_file_free.
add ecx, 0xfffff
shr ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x14]
push eax
push str._MBytes_paging_file.
add ecx, 0xfffff
shr ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x18]
push eax
push str._MBytes_physical_memory_free.
add ecx, 0xfffff
shr ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
push str._MBytes_physical_memory.
add ecx, 0xfffff
shr ecx, 0x14
push ecx
push eax
push str.__memory_in_use.
push dword [ebp - 0x20]
push esi
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
pop edi
call fcn.0044bf82
leave
ret

Function at 0x42ea0b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x2801
mov dword [ebp - 8], 0x2800
call fcn.0044bd14
mov ebx, eax
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
inc eax
push eax
push ebx
push dword [esi]
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42ea77
xor edi, edi
test dword [ebp - 8], 0xfffffffc
jbe 0x42ea77
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + edi*4]
push 0x495dac
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.0042ea7e
pop ecx
push eax
call fcn.0040fed7
mov eax, dword [ebp - 8]
inc edi
shr eax, 2
pop ecx
pop ecx
cmp edi, eax
jb 0x42ea48
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret
Function at 0x42ee0f
Capabilities:
Enumerate processes

Disassembly:
push 0x298
mov eax, 0x476a1d
call fcn.0044cfd2
mov eax, dword [ebp + 8]
push 0x228
mov dword [ebp - 0x29c], eax
xor edi, edi
lea eax, [ebp - 0x294]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x298], 0x22c
call fcn.0044d460
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x42ef76
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x274]
push 0xffffffffffffffff
push eax
lea esi, [ebp - 0x48]
call fcn.0040945c
add esp, 0xc
push eax
push 0x4965c8
push dword [ebp - 0x290]
push 0x4965cc
push dword [ebp - 0x29c]
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0042f242
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040f273
pop ecx
pop ecx
push edi
push 1
mov ecx, esi
call fcn.004063f1
cmp dword [ebp - 0x290], edi
je 0x42ef51
push dword [ebp - 0x290]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x42ef51
mov ecx, esi
lea ebx, [ebp - 0x64]
call fcn.0042e595
mov ecx, 0xfde9
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], edi
call fcn.004094ce
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push edi
push 1
mov ecx, ebx
call fcn.00403656
cmp dword [ebp - 0x1c], edi
je 0x42ef3f
push 0x4965d4
lea eax, [ebp - 0x2c]
push eax
push 0x496368
push dword [ebp - 0x29c]
call fcn.0040fed7
pop ecx
pop ecx
push eax
call fcn.0040f273
pop ecx
pop ecx
push eax
call fcn.0040fed7
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004063f1
push 0x495dac
push dword [ebp - 0x29c]
call fcn.0040fed7
pop ecx
pop ecx
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42ee63
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x29c]
call fcn.0044d055
ret
Function at 0x42f280
Capabilities:
Get graphical window text

Disassembly:
push 0x42c
mov eax, 0x476154
call fcn.0044cfd2
mov eax, dword [ebp + 8]
mov dword [edi], eax
push 0xf
xor eax, eax
pop ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], eax
mov dword [ebp - 0x438], edi
mov byte [edi + 4], al
mov dword [ebp - 4], eax
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], eax
mov byte [edi + 0x20], al
xor ecx, ecx
mov dword [edi + 0x50], 7
mov dword [edi + 0x4c], eax
mov word [edi + 0x3c], cx
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov byte [ebp - 4], 3
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
mov byte [edi + 0x60], al
lea eax, [edi + 0x58]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [edi + 0x5c], eax
mov esi, 0x80
push esi
lea eax, [ebp - 0x110]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x210]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
lea esi, [ebp - 0x434]
call fcn.0040945c
add esp, 0xc
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 4
call fcn.004095e5
xor ebx, ebx
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004063f1
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x210]
push 0xffffffffffffffff
push eax
lea esi, [ebp - 0x434]
call fcn.0040945c
add esp, 0xc
push eax
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 5
call fcn.004095e5
push ebx
mov byte [ebp - 4], 3
push 1
mov ecx, esi
call fcn.004063f1
push dword [edi + 0x58]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x42f3e3
push 0x104
lea eax, [ebp - 0x418]
push eax
push ebx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x42f3dc
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.0044d4da
pop ecx
pop ecx
cmp eax, ebx
je 0x42f3cd
add eax, 2
jmp 0x42f3d3
lea eax, [ebp - 0x418]
push eax
lea ecx, [edi + 0x3c]
call fcn.004032fb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.0044d055
ret 4
Function at 0x42f3ed
Capabilities:
Enumerate gui resources

Disassembly:
push 0x23c
mov eax, 0x477cbd
call fcn.0044cfd2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, eax
je 0x42f596
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
push SysReAllocString
push 0x7c
lea ebx, [ebp - 0x244]
mov dword [ebp - 4], eax
call fcn.0040e8f3
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
lea eax, [ebp - 0x230]
push eax
push 0x42f604
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x42f580
lea eax, [ebp - 0x214]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 0x200
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x230]
xor ebx, ebx
sar eax, 2
test eax, eax
je 0x42f53c
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x234], eax
jmp 0x42f4c5
xor edi, edi
cmp dword [ebp - 0x234], edi
jbe 0x42f528
mov esi, dword [ebp - 0x244]
cmp dword [esi + 0x14], 8
jb 0x42f4dd
mov ecx, dword [esi]
jmp 0x42f4df
mov ecx, esi
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + ebx*4]
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x42f4f3
mov eax, dword [eax]
push ecx
push eax
call fcn.0044e48c
pop ecx
pop ecx
test eax, eax
je 0x42f50e
inc edi
add esi, 0x1c
cmp edi, dword [ebp - 0x234]
jb 0x42f4d3
jmp 0x42f528
mov eax, dword [ebp - 0x230]
push 0
push dword [eax + ebx*4]
lea eax, [ebp - 0x220]
push eax
call fcn.0042f65c
add esp, 0xc
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x230]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x42f4c3
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x248]
mov byte [ecx + eax], 0
mov edx, dword [ebp - 0x218]
push eax
xor ecx, ecx
mov ebx, str.wndinfo.txt
call fcn.004313a8
lea eax, [ebp - 0x214]
pop ecx
cmp dword [ebp - 0x218], eax
je 0x42f580
push dword [ebp - 0x218]
call fcn.0044d937
pop ecx
lea esi, [ebp - 0x230]
call fcn.0042f889
lea ecx, [ebp - 0x244]
call fcn.004053b9
call fcn.0044d055
ret