joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c78]
test eax, eax
je 0x406c94
cmp dword [ebp + 0xc], 0
jne 0x406c94
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x406c94
mov eax, dword [esi + 0x1c78]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x406ca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [edi + 0x24]
mov ebx, edi
test eax, eax
cmove ebx, ecx
cmp byte [eax + 0x1c], cl
je 0x406cf6
push 0xe801
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x406ce7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x406cfb
test esi, esi
jne 0x406cf6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x406cfb
cmp esi, 1
je 0x406d11
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [ebx + 0x24]
push eax
call fcn.004bb130
push 0
push 0
push 0x130b
push dword [edi + 0x1c60]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x1c60]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
push dword [edi + 0x1c60]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sub eax, 3
add ebx, dword [edi + 0x1c68]
sub ecx, 2
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [edi + 0x1c70], esi
jle 0x406de7
mov edx, dword [ebp - 0x14]
test esi, esi
js 0x406dd6
cmp esi, dword [edi + 0x1c70]
jge 0x406dd6
push 0x10
sub ecx, ebx
sub eax, edx
push ecx
push eax
mov eax, dword [edi + 0x1c6c]
push ebx
push edx
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, dword [edi + 0x1c70]
jge 0x406dd6
mov eax, dword [edi + 0x1c6c]
push 1
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_InvalidateRect]
inc esi
cmp esi, dword [edi + 0x1c70]
jge 0x406de7
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
jmp 0x406d7d
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406e90
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0
mov esi, ecx
push 0
push 0x130b
push dword [esi + 0x1c60]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, dword [esi + 0x1c70]
jge 0x406ee9
test edi, edi
js 0x406ee9
push 0
cmp edi, dword [esi + 0x1c70]
jge 0x406ef0
mov eax, dword [esi + 0x1c6c]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
cmp edi, dword [esi + 0x1c70]
jge 0x406ef0
mov eax, dword [esi + 0x1c6c]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
xor eax, eax
pop esi
ret 0xc
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]

Function at 0x4071fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x4071e3
jmp dword [eax*4 + 0x40731c]
xor esi, esi
jmp 0x407201
mov esi, 1
jmp 0x407201
mov esi, 2
jmp 0x407201
mov esi, 3
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push dword [edi + 0x1c60]
call ebx
mov ecx, eax
test ecx, ecx
js 0x407301
cmp ecx, dword [edi + 0x1c70]
jge 0x407301
mov eax, dword [edi + 0x1c6c]
push 0
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x130b
push dword [edi + 0x1c60]
call ebx
test eax, eax
js 0x407301
cmp eax, dword [edi + 0x1c70]
jge 0x407301
mov ecx, dword [edi + 0x1c6c]
push 0
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
push 0x130c
push dword [edi + 0x1c60]
call ebx
pop ebx
cmp esi, dword [edi + 0x1c70]
jge 0x407301
mov eax, dword [edi + 0x1c6c]
push 1
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [edi + 0x1c70]
jge 0x407301
mov eax, dword [edi + 0x1c6c]
push 1
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, dword [edi + 0x1c70]
jge 0x407301
mov eax, dword [edi + 0x1c6c]
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x1c70]
jge 0x407301
mov eax, dword [edi + 0x1c6c]
push 1
push 0
push dword [eax + esi*4]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
call esi
push 1
push 0
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x40e000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x4117e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40e022
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40eae0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
or edi, 0xffffffff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401bd0
add esp, 0xc
cmp eax, 2
jge 0x40eb0a
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push esi
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 4]
push dword [esi*8 + 0x585df0]
push dword [eax + 4]
call fcn.00531202
add esp, 8
test eax, eax
je 0x40eb42
inc esi
cmp esi, 8
jb 0x40eb10
push dword [ebp - 4]
call fcn.00401c00
add esp, 4
mov eax, edi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
mov edi, dword [esi*8 + 0x585df4]
call fcn.00401c00
add esp, 4
mov eax, edi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4101f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x410209
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410215
sub eax, edi
inc eax
add edx, eax
add esi, eax
cmp eax, 1
jne 0x410210
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415060
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], esi
push eax
push ebx
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
call edi
mov ecx, dword [ebp - 0x18]
mov esi, eax
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
push eax
push dword [ebp - 0x3c]
call ebx
push eax
push esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call edi
mov ecx, dword [ebp - 8]
mov edi, eax
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push ecx
push eax
push esi
call ebx
push eax
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x14]
push 2
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
movups xmmword [ebp - 0x34], xmm0
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0xcc0020
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push esi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x415179
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x415186
push edi
call ebx
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x415194
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x41519b
push esi
call ebx
push dword [ebp - 0x3c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret
Function at 0x4151c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41522d
mov eax, dword [ebp - 0x94]
cmp eax, 5
jae 0x41521d
cmp eax, 4
jne 0x41522d
cmp dword [ebp - 0x90], 0x5a
jb 0x41522d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret
Function at 0x4161b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push dword [edi + 4]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416203
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x58]
test bl, 0x60
mov eax, 0
setne al
push dword [ebp - 0x54]
lea eax, [eax*2 + 0x40000080]
mov esi, eax
or esi, 8
and bl, 0x10
cmove esi, eax
mov eax, dword [ecx]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
add eax, 3
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
sub eax, 3
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov ecx, str.EDIT
sub eax, 2
mov dword [ebp - 8], eax
mov eax, dword [0x5867a0]
test eax, eax
cmovne ecx, eax
lea eax, [edi + 0x20]
push eax
push 0x586770
push 0x593dd4
push 0x594af8
mov dword [0x5867a0], ecx
call fcn.00411840
add esp, 0x14
movzx eax, ax
mov ecx, edi
push 0
push eax
push 0
push 0
push esi
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x5c]
call fcn.004d6f00
test eax, eax
jne 0x4162ad
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x18
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.0041eec0
cmp dword [edi + 0x34], 0
je 0x4162df
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4162df
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [edi + 0x34], eax
test eax, eax
je 0x416298
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
push 0x50005
push 3
push 0xd3
push dword [edi + 4]
call esi
push dword [ebp - 0x54]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [edi + 4]
call esi
push 0
push 0
push 0xb7
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4164e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541b98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x41651b
push 0x80004005
call fcn.004049a0
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 0x416553
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.004053d0
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.0052644e
add esp, 8
test eax, eax
js 0x4165f8
cmp eax, dword [esi - 8]
jg 0x4165f8
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
cmp edi, 0x1000
ja 0x416602
test edi, edi
je 0x416602
cmp dword [esi - 0xc], 0
jle 0x416602
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 0x4165b3
push 0x1000
mov ecx, edi
call fcn.004053d0
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 0x4165dd
push dword [ecx - 8]
push ecx
call fcn.0052644e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4165f8
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4165f8
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov byte [ecx + eax], 0
test ebx, ebx
je 0x416602
mov edi, 1
jmp 0x416604
push 0x80070057
call fcn.004049a0
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 0x416623
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 0x416640
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x58a710]
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.0051d400
push 0x90
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc8], 0x94
push 0
push eax
mov edi, 0x30
call fcn.0051d400
add esp, 0x18
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4166a7
cmp dword [ebp - 0xc4], 6
jae 0x4166ac
mov edi, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
test eax, eax
jne 0x4166d0
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 0x4166d6
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov eax, dword [0x594b00]
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.005193a0
mov esp, ebp
pop ebp
ret 8

Function at 0x417c20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547b48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x417c5a
push 0x80004005
call fcn.004049a0
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 0x417ce0
lea eax, [ebp - 0x10]
push eax
call fcn.004164e0
mov esi, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x417ce0
push 1
push esi
push edi
call fcn.0044e780
push 1
push esi
push edi
call fcn.0044e780
add esp, 0x18
test eax, eax
je 0x417cc2
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 0x417cc2
mov edi, 1
jmp 0x417ce2
push 1
push esi
call fcn.0044f470
push 0x10
push 0x86cd
push 0x8732
push 0
call fcn.004102a0
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 0x417d01
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 0x418640
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 0x4186ba
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 0x418675
push edi
mov ecx, esi
call fcn.004053d0
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 0x41869d
mov ecx, dword [esi]
test ecx, ecx
je 0x4186a1
push dword [ecx - 8]
push ecx
call fcn.0052644e
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x4186ba
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4186ba
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.004049a0
int3

Function at 0x418900
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x418920
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x418934
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418957
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x418960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fc6b
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x58a710]
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 0x4189b0
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.0051d400
add esp, 0xc
lea ecx, [ebp - 0x178]
call fcn.0041eec0
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 0x418a0d
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 [0x585bc8]
mov edx, dword [0x585bc0]
sub eax, edx
mov ecx, dword [0x585bbc]
push 0
push dword [0x594afc]
push 0
push dword [ebx + 4]
push eax
mov eax, dword [0x585bc4]
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.0041f130
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.0051d400
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 0x418ac1
lea eax, [ebp - 0x13c]
mov ecx, ebx
push eax
call fcn.0041f130
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x418ad4
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.005193a0
mov esp, ebp
pop ebp
ret
Function at 0x418ce0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x58a710]
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.0051d400
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
mov ebx, 0x30
call fcn.0051d400
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x418d44
cmp dword [ebp - 0x94], 6
jae 0x418d49
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 0x418d6b
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 0x418d71
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x418d7f
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [0x594b00]
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.005193a0
mov esp, ebp
pop ebp
ret 0x18