joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457a4f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push edi
push str.Scheduler
lea edi, [ebp - 0x210]
call fcn.004578e7
lea eax, [ebp - 4]
push eax
push 1
push 0
mov eax, edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x457ac0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 8], 0x208
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x457abc
cmp edi, 0xea
jne 0x457ac0
mov al, 1
jmp 0x457ac2
xor al, al
pop edi
leave
ret 4

Function at 0x457c34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push edi
push dword [ebp + 8]
lea edi, [ebp - 0x20c]
call fcn.004578e7
lea eax, [ebp + 8]
push eax
push 1
push 0
mov eax, edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x457ca3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x208
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x457c9f
cmp edi, 0xea
jne 0x457ca3
mov al, 1
jmp 0x457ca5
xor al, al
pop edi
leave
ret 8

Function at 0x457ff4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
inc eax
cmp dword [ebp - 0x20], 5
ja 0x458029
jne 0x458027
cmp dword [ebp - 0x1c], eax
jne 0x458027
cmp word [ebp + 0x70], 3
jae 0x458029
xor eax, eax
add ebp, 0x78
leave
ret
Function at 0x4582d5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
mov esi, eax
mov eax, dword [ebx]
push 0x5de514
mov ecx, ebx
call dword [eax + 0x20]
test esi, esi
je 0x458321
cmp word [esi], 0
je 0x458321
push esi
push str._s...
mov esi, 0x104
lea edi, [esp + 0x638]
call fcn.004a9039
pop ecx
pop ecx
push 1
mov ecx, edi
push ecx
jmp 0x458326
push 1
push dword [ebp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
test al, al
je 0x458345
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x458476
call fcn.004c8631
test al, al
jne 0x45835c
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x458476
lea eax, [esp + 0x220]
push eax
call fcn.00401aa4
push str..exe
push dword [ebp + 0x10]
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004a2dab
lea ecx, [esp + 0x18]
lea eax, [esp + 0x428]
call fcn.004016d4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x42c]
push eax
push str.audiochannel.net
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.0044d39a
push 2
pop esi
cmp dword [esp + 0x10], esi
jne 0x4583dc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x42c]
push eax
push str.www.nch.com.au
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.0044d39a
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x458446
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x14], esi
call fcn.004019f9
test eax, eax
jbe 0x458446
mov eax, dword [ebx]
push 0
push 0x5de570
mov ecx, ebx
call dword [eax + 0x20]
push dword [ebp + 0x18]
lea eax, [esp + 0x18]
push dword [ebp + 0x14]
push eax
lea eax, [esp + 0x24]
call fcn.0045802e
mov eax, dword [esp + 0x14]
push dword [ebp + 0x10]
mov edi, ebx
mov dword [esp + 0x14], eax
call fcn.0045828e
test al, al
jne 0x458431
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], 0
jne 0x458446
mov eax, dword [ebx]
push 0
push 0x5de584
mov ecx, ebx
call dword [eax + 0x20]
fld1
mov eax, dword [ebx]
push ecx
push ecx
mov ecx, ebx
fstp qword [esp]
call dword [eax + 0x24]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x220]
mov dword [esi], eax
call fcn.004a32d9
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x458a14
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push esi
xor eax, eax
lea ecx, [ebp - 0x208]
push ecx
push eax
push eax
push 0x26
push eax
mov word [ebp - 0x208], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, 0x5b07d8
push esi
push 0x5b0828
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004a2dab
push esi
push str.Components
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.004a2dab
push str.Shared
lea eax, [ebp - 0x618]
push eax
push dword [ebp + 8]
call fcn.00401f2d
push dword [ebp + 8]
call fcn.0040214c
test al, al
pop esi
je 0x458a95
mov al, 1
jmp 0x458a9d
mov ecx, dword [ebp + 8]
call fcn.004a311d
leave
ret 4

Function at 0x458d21
Capabilities:
Delete directory
Delete registry key
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa48
push ebx
push esi
xor ecx, ecx
push edi
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov edi, 0x5b0828
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], str.NCH_Swift_Sound
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], SysReAllocString
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, edi
push esi
lea eax, [ebp - 0x228]
push str.Software_sComponents
push eax
call fcn.00401000
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x228]
call fcn.004a9431
push esi
lea eax, [ebp - 0x228]
push str.Software_s
push eax
call fcn.00401000
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
mov esi, dword [ebp + ebx*4 - 0x10]
inc ebx
test esi, esi
jne 0x458d5d
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
test eax, eax
mov dword [ebp - 4], eax
jne 0x458d59
lea eax, [ebp - 0x840]
push eax
push esi
push esi
push 0x26
push esi
mov word [ebp - 0x840], si
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x638]
call fcn.004a20d8
cmp word [ebp - 0x840], si
mov word [ebp - 0x430], si
mov dword [ebp - 4], esi
je 0x458e6b
lea ebx, [ebp - 0x840]
jmp 0x458e00
xor esi, esi
mov eax, edi
push eax
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00401f2d
push 0x5b07d8
push str.Components
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0xa48]
push eax
call fcn.004a2dab
mov edx, 0xbb8
lea ecx, [ebp - 0xa48]
call fcn.004a3203
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp + esi*4 - 0x10]
inc esi
test eax, eax
jne 0x458e02
inc dword [ebp - 4]
mov ebx, dword [ebp - 4]
imul ebx, ebx, 0x208
lea ebx, [ebp + ebx - 0x840]
cmp word [ebx], ax
jne 0x458dfe
pop edi
pop esi
pop ebx
leave
ret
Function at 0x458e70
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.0059fbd0
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
push ebx
push esi
push edi
push 0x44
pop esi
lea edi, [eax + 4]
or dword [edi], 0xffffffff
push esi
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.005970f0
add esp, 0xc
mov dword [ebp - 0x64], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebp - 0x38], 0x101
mov word [ebp - 0x34], bx
call esi
push 0xfffffffffffffff4
mov dword [ebp - 0x28], eax
call esi
mov dword [ebp - 0x24], eax
push 0x10000
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x458ef4
xor al, al
jmp 0x458f84
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push edi
call esi
push eax
push dword [ebp - 4]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1000
lea esi, [ebp - 0x2064]
stosd dword es:[edi], eax
call fcn.004a8ff7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push 0x10
push 1
push ebx
push ebx
mov eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
cmp edi, ebx
je 0x458eed
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x458fb0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.0059fbd0
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
push ebx
push esi
push edi
push 0x44
lea esi, [eax + 4]
or dword [esi], 0xffffffff
add eax, 8
or dword [eax], 0xffffffff
pop edi
push edi
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.005970f0
add esp, 0xc
push 0xfffffffffffffff4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], 0x101
mov word [ebp - 0x3c], bx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x459034
xor al, al
jmp 0x459101
push 2
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
push dword [ebp - 8]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
je 0x45902d
push 2
push 0
push 0
push dword [ebp - 0xc]
call esi
push eax
push dword [ebp - 4]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push dword [ebp - 4]
call ebx
mov edx, dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1000
lea esi, [ebp - 0x206c]
stosd dword es:[edi], eax
call fcn.004a8ff7
lea eax, [ebp - 0x28]
push eax
xor esi, esi
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push 0x10
push 1
push esi
push esi
lea eax, [ebp - 0x206c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x34]
mov edi, eax
call ebx
push dword [ebp - 0x30]
call ebx
cmp edi, esi
je 0x45902d
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x24]
call ebx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x459262
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push 1
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x459324
push 2
push 0x400
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x459324
push esi
push 1
call dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 1
lea eax, [ebp - 8]
push eax
push esi
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov byte [ebp - 4], bl
mov byte [ebp - 3], 1
call dword [sym.imp.ADVAPI32.dll_InitializeSid]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
push esi
push 0x10000000
mov dword [eax], ebx
push 2
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x45931c
push ebx
lea eax, [ebp - 0x428]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x45931c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
lea eax, [ebp - 0x14]
push eax
push 0xbb8
mov eax, 0x10000
push eax
push eax
mov eax, dword [ebp + 8]
push 0xff
push ebx
push 0x40000003
add eax, 0x29
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
pop ebx
leave
ret 4

Function at 0x459351
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esi + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push 4
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x459376
and dword [ebx], 0
jmp 0x4593b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4593b0
push 0xbb8
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 8]
cmp dword [ebp + 8], 0
je 0x4593a9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, dword [ebp + 8]
mov dword [ebx], eax
jmp 0x4593b6
mov dword [ebx], 2
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x4593bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 4
pop ebx
lea edi, [esi + 8]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45941b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x459429
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x459434
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x459429
mov eax, dword [ebp - 4]
cmp eax, ebx
jae 0x459446
add dword [ebp + 0x10], eax
sub ebx, eax
jmp 0x4593ca
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x45944c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x45944c
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x459fa3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push edi
lea eax, [ebp - 4]
push eax
mov edi, str.SoftwareNCH_SoftwareSwitchScheduler
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x459fd9
lea eax, [ebp - 4]
push eax
push edi
push SysReAllocString
call esi
test eax, eax
jne 0x45a04a
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x45a041
mov edi, dword [ebp - 0xc]
cmp edi, esi
jbe 0x45a041
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [edi - 1]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45a041
cmp word [ebp - 0x218], si
je 0x45a03e
cmp dword [ebp - 8], esi
jbe 0x45a03e
lea eax, [ebp - 0x218]
push eax
call fcn.00459d96
dec edi
jne 0x459ffd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret

Function at 0x45b554
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, ebx
call fcn.0045b4a3
push 0x103
lea eax, [ebp - 0x224]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x224], 0
je 0x45b623
lea eax, [ebp - 0x224]
push eax
push dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0045b529
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x20]
lea esi, [ebx + 0x1c]
sub eax, dword [ebp - 8]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffff0
push dword [ebx + 0x14]
movsd dword es:[edi], dword [esi]
sar eax, 1
mov dword [ebp - 0x18], eax
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
mov ecx, 0x100
cmp eax, ecx
je 0x45b5ec
cmp eax, 0x200
je 0x45b5e9
inc esi
jmp 0x45b5ec
push 2
pop esi
test dword [ebx + 0x10], ecx
je 0x45b5f7
or esi, 0x100000
lea eax, [ebp - 0x224]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45b600
push esi
sub eax, edx
lea ecx, [ebp - 0x1c]
push ecx
sar eax, 1
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebx + 0x18]
call fcn.004023ba
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45b7c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x45b97a
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
test eax, eax
jle 0x45b97a
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x20]
test eax, eax
jle 0x45b97a
mov eax, ebx
call fcn.0045b4a3
fld dword [0x60d618]
push ecx
fstp dword [esp]
push dword [ebx + 0x14]
mov dword [ebp - 8], edi
mov dword [ebp + 8], edi
call fcn.00465375
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x3c]
push eax
push edi
push 0x1603
push dword [ebx + 0x14]
call esi
cmp eax, 1
jne 0x45b87f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [ebx + 0x10]
and al, 4
neg al
sbb eax, eax
and eax, 3
inc eax
push eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x20]
push 0xffffffffffffffff
push dword [ebp + 8]
sub eax, dword [ebp + 8]
push dword [ebp - 8]
sar eax, 1
push eax
push 5
push dword [ebx + 0x18]
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
jmp 0x45b8d2
push edi
push edi
push 0xf6
push dword [ebx + 0x14]
call esi
mov esi, eax
cmp esi, edi
je 0x45b8d2
lea eax, [ebp - 0x54]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebx + 0x10]
and eax, 4
shl eax, 3
or eax, 4
push eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x20]
push edi
sub eax, dword [ebp - 0x4c]
push edi
sar eax, 1
push eax
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
sub eax, dword [ebp - 0x50]
sar eax, 1
push eax
push edi
push esi
push edi
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawStateW]
push 0x103
lea eax, [ebp - 0x25c]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x25c], di
je 0x45b97a
lea eax, [ebp - 0x25c]
push eax
push dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0045b529
mov eax, dword [ebx + 0x1c]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx + 5]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x28]
mov ecx, eax
sub ecx, dword [ebx + 0x20]
xor edx, edx
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x24]
sub ecx, 5
test word [ebx + 0x10], 0x100
mov dword [ebp - 0x14], ecx
je 0x45b94e
mov edx, 0x100000
lea eax, [ebp - 0x25c]
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45b957
push edx
sub eax, esi
lea ecx, [ebp - 0x1c]
push ecx
sar eax, 1
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebx + 0x18]
call fcn.004023ba
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45b981
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, ebx
call fcn.0045b4a3
push 0x103
lea eax, [ebp - 0x244]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0x31
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x244]
push eax
push dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0045b529
mov eax, dword [ebp - 0x18]
fld1
push ecx
fstp dword [esp]
push dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
call fcn.00465375
xor edi, edi
push edi
push 1
push 0xf6
push dword [ebx + 0x14]
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x45bb02
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebx + 0x24]
sub esi, dword [ebx + 0x1c]
push 0xfffffffffffffff0
push dword [ebx + 0x14]
add eax, eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0x10
je 0x45ba58
mov eax, esi
sub eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [ebx + 0x1c]
jmp 0x45ba61
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx*2]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x28]
and eax, 4
shl eax, 3
or eax, 3
push eax
mov eax, dword [ebp - 0x34]
push edi
add eax, eax
push edi
sub ecx, eax
sub ecx, dword [ebx + 0x20]
shr ecx, 1
push ecx
push esi
push edi
push dword [ebp - 0x10]
push edi
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawStateW]
push dword [ebp - 0x2c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 8]
add esi, eax
mov eax, dword [ebx + 0x28]
add esi, dword [ebp + 8]
mov ecx, eax
sub ecx, dword [ebp - 0x14]
xor edx, edx
sub ecx, dword [ebx + 0x20]
mov dword [ebp - 0x28], esi
sar ecx, 1
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0x24]
sub ecx, dword [ebp + 8]
test word [ebx + 0x10], 0x100
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
je 0x45bad6
mov edx, 0x100000
lea eax, [ebp - 0x244]
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45badf
push edx
sub eax, esi
lea ecx, [ebp - 0x28]
push ecx
sar eax, 1
push eax
lea eax, [ebp - 0x244]
push eax
push dword [ebx + 0x18]
call fcn.004023ba
pop edi
pop esi
pop ebx
leave
ret 4