joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540fc8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x41629b
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ebx, 1
mov ecx, ebx
mov dword [ebp - 4], 0
sub ecx, dword [esi - 4]
sub eax, 0x1000
or eax, ecx
jge 0x4162d3
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.00406dd0
mov esi, dword [ebp - 0x10]
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [esi - 8]
mov edi, eax
push esi
call fcn.00526cb2
add esp, 8
test eax, eax
js 0x416378
cmp eax, dword [esi - 8]
jg 0x416378
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
cmp edi, 0x1000
ja 0x416382
test edi, edi
je 0x416382
cmp dword [esi - 0xc], 0
jle 0x416382
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub ebx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x1000
or eax, ebx
jge 0x416333
push 0x1000
mov ecx, edi
call fcn.00406dd0
push dword [edi]
push 0
push str.hrdm
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [edi]
mov ebx, eax
test ecx, ecx
je 0x41635d
push dword [ecx - 8]
push ecx
call fcn.00526cb2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x416378
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x416378
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov byte [ecx + eax], 0
test ebx, ebx
je 0x416382
mov edi, 1
jmp 0x416384
push 0x80070057
call fcn.004063a0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4163a3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416560
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push edi
push 0x30
push 0
push eax
mov ebx, ecx
call fcn.00517590
push 0x90
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc8], 0x94
push 0
push eax
mov edi, 0x30
call fcn.00517590
add esp, 0x18
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4165c7
cmp dword [ebp - 0xc4], 6
jae 0x4165cc
mov edi, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
test eax, eax
jne 0x4165f0
push esi
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
jmp 0x4165f6
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov eax, dword [0x58d488]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x405
push dword [ebx]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 8

Function at 0x417d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540638
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x417d8a
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x417e10
lea eax, [ebp - 0x10]
push eax
call fcn.00416260
mov esi, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x417e10
push 1
push esi
push edi
call fcn.0044d290
push 1
push esi
push edi
call fcn.0044d290
add esp, 0x18
test eax, eax
je 0x417df2
push 1
push 0
push esi
push str.notepad.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x417df2
mov edi, 1
jmp 0x417e12
push 1
push esi
call fcn.0044d9d0
push 0x10
push 0x86cd
push 0x8732
push 0
call fcn.004112d0
add esp, 0x18
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417e31
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
test edi, edi
js 0x4187ba
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x418775
push edi
mov ecx, esi
call fcn.00406dd0
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x41879d
mov ecx, dword [esi]
test ecx, ecx
je 0x4187a1
push dword [ecx - 8]
push ecx
call fcn.00526cb2
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x4187ba
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4187ba
mov dword [eax - 0xc], ecx
mov eax, dword [esi]
mov byte [ecx + eax], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.004063a0
int3
Function at 0x418a00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ecx, 0xb
cmp eax, ecx
je 0x418a50
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x3c
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.00517590
add esp, 0xc
lea ecx, [ebp - 0x178]
call fcn.0041f3f0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push dword [ebx + 4]
call esi
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 0
test eax, eax
jne 0x418aad
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push 1
push eax
push 0x30
push dword [ebx + 4]
mov dword [ebp - 0x17c], eax
call esi
mov eax, dword [0x57ebe8]
mov edx, dword [0x57ebe0]
sub eax, edx
mov ecx, dword [0x57ebdc]
push 0
push dword [0x58d484]
push 0
push dword [ebx + 4]
push eax
mov eax, dword [0x57ebe4]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebx + 0x28], eax
mov ecx, ebx
push dword [ebx + 0x24]
call fcn.0041f7c0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call esi
push 0x31
mov edi, eax
call esi
push 4
push 0
push 0x21
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0x12c
mov dword [ebx + 0x4c], eax
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.00517590
add esp, 0xc
lea eax, [ebp - 0x13c]
push 0x12b
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x418b61
lea eax, [ebp - 0x13c]
mov ecx, ebx
push eax
call fcn.0041f7c0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x418b74
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret
Function at 0x418e20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.00517590
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
mov ebx, 0x30
call fcn.00517590
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x418e84
cmp dword [ebp - 0x94], 6
jae 0x418e89
mov ebx, 0x2c
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], ebx
test eax, eax
jne 0x418eab
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
jmp 0x418eb1
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x418ebf
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [0x58d488]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
xor ecx, ebp
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [esi + 0x28], eax
pop esi
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41afa0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
push dword [eax + 4]
lea ebx, [eax + 4]
mov dword [eax + 0x9c], 0
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b12c
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x41b009
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0xfffffffffffffff0
push dword [ebx]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
cmp al, 3
jne 0x41b053
push 0
push 0
push 0x147
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x41b0b5
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00418320
mov esi, dword [ebp - 0x10]
jmp 0x41b0b5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edx, eax
add edx, 1
mov dword [ebp - 0x14], edx
jns 0x41b06f
push 0x80070057
call fcn.004063a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x41b08f
push edx
lea ecx, [ebp - 0x10]
call fcn.00406dd0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi - 8]
push esi
call fcn.00526cb2
add esp, 8
test eax, eax
js 0x41b065
cmp eax, dword [esi - 8]
jg 0x41b065
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xfffffa1c
mov ecx, dword [edx + 0x24]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x28], ecx
mov cl, byte [edx + 0x30]
mov byte [ebp - 0x24], cl
cmp dword [esi - 4], 1
jle 0x41b0f4
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b12c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539e08
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x41b1a2
push 0
push 0
push 0x1008
push dword [esi + 4]
call edi
cmp eax, dword [ebp + 8]
je 0x41b31f
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
je 0x41b31f
push 0
push 0
push 0x1008
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b1e7
push 0
push 0
push 0x1008
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b314
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x41b216
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 0
push 0x1001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41b249
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [esi + 0x2c]
test eax, 0x400
je 0x41b25b
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
test eax, 0x800
je 0x41b26a
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x38], eax
mov al, byte [esi + 0x30]
mov byte [ebp - 0x34], al
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], 0xfffffa1c
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.00406950
mov esi, dword [ebp - 0x24]
add esp, 0x20
cmp dword [esi - 4], 1
jle 0x41b2d9
push dword [esi - 0xc]
lea ecx, [ebp - 0x24]
call fcn.004068d0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], esi
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x44]
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b311
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 4
Function at 0x41b340
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541928
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b487
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x41b399
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebx + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edx, eax
add edx, 1
mov dword [ebp - 0x14], edx
jns 0x41b3c8
push 0x80070057
call fcn.004063a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x41b3e8
push edx
lea ecx, [ebp - 0x10]
call fcn.00406dd0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi - 8]
push esi
call fcn.00526cb2
add esp, 8
test eax, eax
js 0x41b3be
cmp eax, dword [esi - 8]
jg 0x41b3be
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [ebx + 0x24]
mov edx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x24], ecx
mov cl, byte [ebx + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0xfffffa1c
mov byte [ebp - 0x20], cl
cmp dword [esi - 4], 1
jle 0x41b451
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
push edx
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b487
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x41c94a
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x41c94a
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x41c974
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c992
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004f74b0
test eax, eax
je 0x41c9f6
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.0050f820
mov ecx, esi
test eax, eax
jne 0x41c9df
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.0041f080
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], eax
call fcn.00465970
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41ca00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f438
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x300
cmp ax, word [ebp + 8]
jne 0x41caba
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x41ca4a
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x200
or eax, ecx
mov dword [ebp - 4], 0
jge 0x41ca80
push 0x200
lea ecx, [ebp + 8]
call fcn.00406dd0
mov esi, dword [ebp + 8]
push 0x200
push esi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
lea ecx, [edi + 0xd4]
call fcn.00429de0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41caba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f3f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
mov esi, ecx
mov edi, 0x158
call fcn.00517590
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41f446
cmp dword [ebp - 0x94], 6
jae 0x41f44b
mov edi, 0x154
push 0x154
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1f0], edi
push 0
push eax
call fcn.00517590
add esp, 0xc
lea eax, [ebp - 0x1f0]
push 0
push eax
push 0x158
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa0]
xor ecx, ebp
movups xmmword [esi], xmm0
pop edi
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [esi + 0x30], xmm0
mov dword [esi + 0x38], eax
pop esi
call fcn.00513512
mov esp, ebp
pop ebp
ret
Function at 0x4223f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push esi
push 0x422a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x20], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x422740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi]
mov eax, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x422779
cmp dword [edx + 0x10], ebx
jge 0x42276f
mov edx, dword [edx + 8]
jmp 0x422773
mov eax, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x422765
cmp eax, ecx
je 0x422782
cmp ebx, dword [eax + 0x10]
jge 0x422784
mov eax, ecx
cmp eax, ecx
je 0x42282c
cmp dword [eax + 0x14], 0
jle 0x42282c
mov ecx, edi
shr ecx, 0x10
cmp ecx, dword [eax + 0x1c]
jb 0x4227b6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
pop ebp
ret 0xc
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test ecx, ecx
je 0x4227d6
nop
mov eax, dword [eax]
lea edx, [ecx - 1]
shl edx, 0x10
movzx edi, di
or edi, edx
mov ecx, edi
shr ecx, 0x10
test ecx, ecx
jne 0x4227c0
movzx ecx, di
cmp ecx, dword [eax + 0x24]
jb 0x4227f4
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
pop ebp
ret 0xc
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
test ecx, ecx
je 0x422811
nop dword [eax]
mov eax, dword [eax]
lea ecx, [edi - 1]
xor ecx, edi
movzx ecx, cx
xor edi, ecx
test di, di
jne 0x422800
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0xc