joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4225c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
movsx edi, ax
shr eax, 0x10
cmp dword [esi + 0xbc], 0
movsx ebx, ax
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
je 0x42266c
cmp dword [esi + 0xc0], 0
je 0x42266c
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
cmp dword [esi + 0x6c], eax
je 0x42260d
sub ebx, dword [esi + 0xcc]
mov dword [esi + 0xc4], ebx
jmp 0x422619
sub edi, dword [esi + 0xc8]
mov dword [esi + 0xc4], edi
xor ebx, ebx
cmp dword [esi + 0xc4], eax
je 0x42264e
lea edi, [esi + 0x10c]
cmp dword [edi], eax
mov dword [ebp - 4], eax
je 0x42264e
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.0041f31a
test eax, eax
je 0x42264c
mov edi, dword [edi]
push dword [ebp - 4]
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
je 0x4226c7
push 1
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4226c7
lea ecx, [ebp - 8]
mov eax, esi
call fcn.004222e2
test eax, eax
jl 0x4226c7
cmp eax, dword [esi + 0x114]
jge 0x4226c7
lea ecx, [esi + 0x110]
call fcn.004ae287
push dword [esi + 4]
add eax, 4
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
push edi
push 0x7f9
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4226c7
push 1
push eax
push eax
push edi
push 0x4ceec8
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0049bf52
pop edi
xor eax, eax
pop ebx
leave
ret

Function at 0x423ea4
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
cmp dword [esi + 0xc], 0x202
push ebx
jne 0x423f06
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0xfffe
je 0x423f06
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
push 4
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x423f06
push edi
mov edi, dword [esp + 0xc]
push ebx
push dword [esi + 0x1c]
add edi, 4
push dword [esi + 0x18]
push edi
call fcn.00423f98
push 1
push 0
push 0
push ebx
push 0x4ceec8
push dword [edi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
xor eax, eax
pop ebx
ret 4
Function at 0x4297a4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4e7384]
or dword [edi + 8], 0xffffffff
mov dword [ebp + 0x98], eax
push esi
lea eax, [ebp - 0x7c]
xor esi, esi
push eax
mov dword [edi], esi
mov dword [edi + 0xc], esi
mov dword [ebp - 0x7c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4297ec
cmp dword [ebp - 0x78], 5
jb 0x4297ec
xor eax, eax
inc eax
cmp dword [ebp - 0x74], eax
jae 0x4297ee
xor eax, eax
cmp eax, esi
mov dword [edi + 4], eax
je 0x4297fd
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
jmp 0x429834
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0xc
push esi
push 3
push 0xc
mov dword [ebp - 0x80], eax
pop eax
lea esi, [ebp - 0x80]
call fcn.0042947d
push 0xc
push 1
push 3
push 0xc
mov dword [edi + 0x10], eax
pop eax
call fcn.0042947d
push dword [ebp - 0x80]
mov dword [edi + 0x14], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0x98]
mov eax, edi
pop esi
call fcn.004c2215
add ebp, 0x9c
leave
ret

Function at 0x42a53e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea edi, [esi + 0x20]
mov dword [edi], eax
cmp dword [esi + 4], 0
jne 0x42a56e
lea ebx, [ebp - 4]
mov eax, edi
call fcn.0040b146
mov eax, dword [eax]
push 0
push eax
mov eax, esi
call fcn.004313d1
test eax, eax
je 0x42a5f7
mov eax, dword [edi]
test eax, eax
je 0x42a5c1
lea ecx, [ebp - 8]
push ecx
push 0
push 0x434
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
push 2
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x42a5c1
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call fcn.00423f98
test eax, eax
jle 0x42a5b9
push ebx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x24]
push eax
call fcn.00430f0e
push dword [ebp + 8]
push esi
call fcn.0042a6fa
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 4
Function at 0x42a5fd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 0x24]
push dword [edi]
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x42a62f
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x42a637
or eax, 0xffffffff
jmp 0x42a6f5
inc ebx
push ebx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f6
push dword [esi + 4]
call edi
mov ebx, eax
neg ebx
push 0x3f2
push dword [esi + 4]
sbb ebx, ebx
inc ebx
call edi
test eax, eax
je 0x42a66a
or ebx, 4
push 0x3f4
push dword [esi + 4]
call edi
test eax, eax
je 0x42a67b
or ebx, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x434
push dword [esi + 0x20]
call edi
test bl, 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
je 0x42a6a5
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x24], 0xffffffff
jmp 0x42a6ac
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x47c
push dword [esi + 0x20]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x42a6cf
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x42a6df
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x437
push dword [esi + 0x20]
call edi
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
call fcn.0042a976
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ab4c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [edi + 0x2c], esi
jne 0x42ab79
push 1
push edi
call fcn.0042a6fa
push 1
push dword [edi + 0x28]
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x42ac45
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push esi
push 0x434
push dword [edi + 0x20]
call ebx
push 0x3f6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x42abbb
push esi
push esi
push 0xe
push dword [edi + 0x20]
call ebx
dec eax
cmp dword [ebp - 0x10], eax
jge 0x42abb3
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x42abc9
cmp dword [ebp - 0x14], esi
jle 0x42abc3
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x437
push dword [edi + 0x20]
call ebx
mov eax, edi
call fcn.0042a5fd
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x42abec
or eax, 0xffffffff
jmp 0x42ac44
lea esi, [edi + 0x28]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x42abe7
mov ecx, dword [ebp - 8]
inc ecx
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 4]
push 1
push 0xc2
push dword [edi + 0x20]
call ebx
mov ebx, dword [ebp - 4]
call fcn.0042a976
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, edi
call fcn.0042a5fd
mov eax, dword [ebp - 0xc]
pop ebx
pop esi
leave
ret
Function at 0x42ac48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push esi
push edi
mov esi, eax
push dword [esi + 0x24]
call ebx
mov edi, eax
test edi, edi
je 0x42ac77
lea eax, [edi + edi + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x42ac7f
or eax, 0xffffffff
jmp 0x42adb7
inc edi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
push dword [esi + 0x24]
call edi
push dword [esi + 0x28]
call ebx
mov ebx, eax
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x42acb8
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
or eax, 0xffffffff
jmp 0x42adb6
inc ebx
push ebx
push eax
push dword [esi + 0x28]
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x434
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f8
push dword [esi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x42ad00
xor eax, eax
push eax
push eax
push 0xe
push dword [esi + 0x20]
mov dword [ebp - 0x28], eax
call edi
jmp 0x42ad17
push 0x3f9
push dword [esi + 4]
call ebx
test eax, eax
je 0x42ad1a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
push 0x3f2
push dword [esi + 4]
mov dword [ebp - 4], 1
call ebx
test eax, eax
je 0x42ad36
mov dword [ebp - 4], 5
push 0x3f4
push dword [esi + 4]
call ebx
test eax, eax
je 0x42ad48
or dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
call fcn.0042a95b
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0042a95b
sub ebx, eax
jmp 0x42ad8d
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x437
push dword [esi + 0x20]
call edi
push dword [ebp - 0xc]
push 1
push 0xc2
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x24], ebx
add eax, ebx
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jge 0x42ada3
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push 0x47c
push dword [esi + 0x20]
call edi
cmp eax, 0xffffffff
jne 0x42ad5e
push dword [ebp - 8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push dword [ebp - 0xc]
call esi
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42bfae
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x4e7384]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0x100c
lea esi, [ebx + 0x24]
push dword [esi]
mov dword [ebp + 0x1b4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
and word [ebp - 0x58], 0
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x56]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
call fcn.0042b700
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
pop ecx
pop ecx
je 0x42c01e
push eax
call fcn.004013aa
mov eax, dword [ebx + 4]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], eax
xor edi, edi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x74], edi
mov word [ebp - 0x70], 0x40
mov dword [ebp - 0x6e], edi
mov dword [ebp - 0x6a], edi
mov dword [ebp - 0x66], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x42c062
cmp dword [ebp - 0x6e], edi
jne 0x42c062
push dword [ebp - 0x5c]
mov eax, esi
call fcn.004148c5
mov ecx, dword [ebp + 0x1b4]
pop edi
xor eax, eax
pop esi
call fcn.004c2215
add ebp, 0x1b8
leave
ret

Function at 0x42c121
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42c1ef
cmp word [eax], 0
je 0x42c1ef
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.0042b700
mov eax, dword [0x4e9150]
mov dword [ebp - 4], eax
mov eax, 0x104
push eax
lea ecx, [ebp - 4]
call fcn.00402f4f
push eax
push 1
push dword [esi + 0x10]
lea eax, [edi + 0x24]
push eax
call fcn.00414848
or eax, 0xffffffff
lea ecx, [ebp - 4]
call fcn.00402f7b
push dword [esi + 0x20]
lea eax, [ebp - 4]
push eax
call fcn.00402ee8
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42c1f5
push 0x8187
lea eax, [ebp - 8]
call fcn.00409034
pop ecx
push 0x10
push dword [0x4eb3dc]
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x42c1cd
push eax
call fcn.004013aa
lea eax, [esi - 0xc]
cmp eax, dword [0x4e9154]
je 0x42c1de
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e9154]
je 0x42c1ef
push eax
call fcn.004013aa
xor eax, eax
pop esi
pop ebx
leave
ret
lea eax, [esi - 0xc]
cmp eax, dword [0x4e9154]
je 0x42c206
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e9154]
je 0x42c217
push eax
call fcn.004013aa
xor eax, eax
inc eax
jmp 0x42c1f1
Function at 0x42fb99
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push 0x4cffc0
lea eax, [ebp - 4]
push eax
add ecx, 0x218
call fcn.0041da7c
mov esi, dword [ebp - 4]
cmp dword [esi - 8], 0
jne 0x42fbda
lea eax, [esi - 0xc]
cmp eax, dword [0x4e9154]
je 0x42fcec
push eax
call fcn.004013aa
jmp 0x42fcec
push ebx
push edi
call fcn.0049b261
neg eax
sbb eax, eax
and eax, 0xc
inc eax
cmp eax, 0xd
mov dword [ebp - 0xc], eax
jne 0x42fc4e
lea ecx, [ebp - 4]
lea esi, [ebp - 8]
call fcn.00402de7
mov esi, dword [ebp - 8]
mov edi, dword [esi - 8]
lea edi, [edi + edi + 2]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x42fc27
add esi, 0xfffffff4
cmp esi, dword [0x4e9154]
je 0x42fcd6
push esi
jmp 0x42fc7f
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esi, 0xfffffff4
cmp esi, dword [0x4e9154]
je 0x42fcb0
push esi
jmp 0x42fcab
lea eax, [ebp - 8]
push 0
push eax
mov eax, esi
call fcn.00401603
mov edi, dword [ebp - 8]
mov esi, dword [edi - 8]
pop ecx
pop ecx
inc esi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x42fc86
lea eax, [edi - 0xc]
cmp eax, dword [0x4e9154]
je 0x42fcd6
push eax
call fcn.004013aa
jmp 0x42fcd6
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [edi - 0xc]
cmp eax, dword [0x4e9154]
je 0x42fcb0
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42fcd6
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x42fcea
push eax
call fcn.004013aa
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 4

Function at 0x433d2d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
ret
Function at 0x43520d
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x79c]
sub esp, 0x81c
mov eax, dword [0x4e7384]
push ebx
mov dword [ebp + 0x798], eax
push edi
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
and word [ebp - 0x68], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0x66]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x400
lea eax, [ebp - 0x68]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
mov dword [ebp - 0x6c], 0x20
je 0x435279
mov dword [ebp - 0x6c], 0x22
jmp 0x435284
test al, 1
je 0x435284
mov dword [ebp - 0x6c], 0x21
test ah, 2
je 0x43528d
or dword [ebp - 0x6c], 4
push dword [esi + 0x24]
mov ebx, dword [ebp + 0x7a4]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call edi
push 1
push ebx
mov dword [ebp - 0x70], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esi + 0x28]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x70]
push ebx
call edi
mov ecx, dword [ebp + 0x798]
pop edi
pop ebx
call fcn.004c2215
add ebp, 0x79c
leave
ret 4

Function at 0x435b9d
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x79c]
sub esp, 0x81c
mov eax, dword [0x4e7384]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x5c]
test ecx, ecx
push edi
mov dword [ebp + 0x798], eax
lea edi, [ebp - 0x68]
jne 0x435bd7
push 0x400
mov eax, edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x435bec
mov eax, dword [esi + 0x40]
test eax, eax
jl 0x435c20
cmp eax, ecx
jge 0x435c20
lea ecx, [esi + 0x58]
call fcn.004484fd
mov edi, dword [eax]
lea eax, [ebp - 0x78]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
lea edi, [ebp - 0x80]
mov eax, esi
call fcn.00435e34
mov ecx, dword [eax]
mov dword [esi + 0x44], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
xor ecx, ecx
cmp dword [esi + 0x44], eax
setg cl
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp + 0x798]
pop edi
pop esi
call fcn.004c2215
add ebp, 0x79c
leave
ret
Function at 0x4365fa
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], edi
jne 0x436606
mov eax, esi
cmp dword [esp + 0x10], ebx
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], 7
mov dword [esi + 0x14], eax
je 0x436634
push 0x40
push dword [esp + 0x14]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436664
cmp dword [esi + 0x14], ebx
jne 0x436652
push ebx
push ebx
push 0x7f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
cmp word [eax], bx
jne 0x436664
push 0x40
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
inc eax
pop ebx
ret 0xc

Function at 0x436741
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x118
mov eax, dword [0x4e7384]
push edi
push 0x44
mov dword [ebp + 0x74], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x4367b7
xor eax, eax
inc eax
cmp dword [ebp - 0x90], eax
jne 0x43679b
cmp dword [ebp - 0x9c], 4
jb 0x4367b7
cmp dword [ebp - 0x98], 0x5a
jmp 0x4367b5
cmp dword [ebp - 0x90], 2
jne 0x4367b7
cmp dword [ebp - 0x9c], 5
ja 0x4367b9
jne 0x4367b7
cmp dword [ebp - 0x98], eax
jae 0x4367b9
xor eax, eax
mov ecx, dword [ebp + 0x74]
call fcn.004c2215
add ebp, 0x78
leave
ret
Function at 0x437afc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x437b2a
cmp word [edi], si
je 0x437b2a
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], esi
jne 0x437b33
call fcn.00403c4e
test eax, eax
je 0x437b2a
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
or dword [ebp - 0x40], 0xffffffff
push 0x80
push 2
push 1
push edi
mov eax, 0xc0000000
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0x1000
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0040d9ce
test eax, eax
je 0x437c8b
push 3
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4e914c
call fcn.0041d6cf
mov eax, ebx
call fcn.0046ce29
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x437c85
mov eax, dword [0x4e9150]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
lea ebx, [ebp - 0x18]
lea esi, [ebp - 0xc]
call fcn.00433794
push dword [ebp - 0x18]
or eax, 0xffffffff
lea ecx, [ebp - 4]
call fcn.00401569
pop ecx
mov ecx, dword [ebp - 4]
push dword [ecx - 8]
lea eax, [ebp - 0x40]
push eax
call fcn.0041d6cf
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push str._d
push eax
call fcn.0040a98d
mov ecx, dword [ebp - 4]
add esp, 0xc
push dword [ecx - 8]
lea eax, [ebp - 0x40]
push eax
call fcn.0041d6cf
mov ebx, dword [ebp - 8]
push ebx
or eax, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401569
mov edi, eax
pop ecx
lea eax, [ebp - 4]
call fcn.0040a94a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x437c20
push eax
call fcn.004013aa
mov esi, dword [ebp - 4]
push dword [esi - 8]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.0041d6cf
push 2
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4cfcb4
call fcn.0041d6cf
lea eax, [esi - 0xc]
cmp eax, dword [0x4e9154]
je 0x437c52
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e9154]
je 0x437c63
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x437c77
push eax
call fcn.004013aa
xor esi, esi
cmp dword [ebp - 0xc], esi
jne 0x437b91
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], esi
xor esi, esi
inc esi
lea eax, [ebp - 0x40]
call fcn.0040da24
mov eax, esi
jmp 0x437b2c