joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
xor esi, esi
mov edi, dword [ebx + 0x24]
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x404938
nop
cmp esi, 0x3e8
jge 0x404930
push 1
inc esi
call fcn.00413430
add esp, 4
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x404910
jmp 0x404938
test eax, eax
je 0x4049fd
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 4], 0
jbe 0x4049d6
xor ecx, ecx
mov dword [ebp - 8], ecx
nop
mov edi, dword [ebx + 0x28]
mov ebx, dword [edi + ecx]
add edi, ecx
cmp word [edi + 4], 0
lea eax, [edi + 4]
je 0x40496e
push eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
test eax, eax
cmovne ebx, eax
mov esi, dword [edi + 0xd0]
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [edi + 0xcc]
push eax
call fcn.0043abd0
mov esi, dword [ebp - 0xc]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4049b7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
inc eax
mov ecx, dword [ebp - 8]
add ecx, 0xd8
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp eax, dword [ebx + 0x2c]
jb 0x404950
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
xor esi, esi
call edi
test eax, eax
jne 0x4049fd
cmp esi, 0x3e8
jge 0x404a06
push 1
inc esi
call fcn.00413430
add esp, 4
call edi
test eax, eax
je 0x4049e4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4049fd
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404a20
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x10]
call fcn.00428880
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x404a3b
mov ecx, esi
call fcn.004043f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
lea ecx, [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
call fcn.004288a0
cmp dword [esi + 0x14], 0
jne 0x404a6d
push 0
push 0
push esi
push 0x404b90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
pop edi
pop esi
test eax, eax
je 0x404a7d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
ret
Function at 0x404ab0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push esi
push edi
mov edi, dword [ecx + 0x24]
xor esi, esi
push edi
call ebx
test eax, eax
jne 0x404ae2
cmp esi, 0x3e8
jge 0x404b3d
push 1
inc esi
call fcn.00413430
add esp, 4
push edi
call ebx
test eax, eax
je 0x404ac8
mov edi, dword [sym.imp.USER32.dll_EmptyClipboard]
xor esi, esi
call edi
test eax, eax
jne 0x404b09
cmp esi, 0x3e8
jge 0x404b09
push 1
inc esi
call fcn.00413430
add esp, 4
call edi
test eax, eax
je 0x404af0
mov esi, dword [ebp + 0x10]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [ebp + 8]
push eax
call fcn.0043abd0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp byte [ebp + 0xc], 0
push edi
je 0x404b4a
push 0xd
jmp 0x404b4c
test eax, eax
jne 0x404ae2
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
xor esi, esi
call edi
test eax, eax
jne 0x404b86
cmp esi, 0x3e8
jge 0x404b82
push 1
inc esi
call fcn.00413430
add esp, 4
call edi
test eax, eax
je 0x404b60
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
test eax, eax
je 0x404b41
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc

Function at 0x405180
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x40518e
mov ecx, dword [ecx]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
pop ebp
ret 0xc

Function at 0x406f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0x100
push 0
push dword [ebp + 8]
call fcn.00439d10
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetKeyState]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetKeyboardState]
pop ebp
ret

Function at 0x407e70
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push dword [0x489dd4]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
cmp dword [0x489b20], edi
je 0x407f10
push ebx
push esi
push 0
push edi
mov dword [0x489b20], edi
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
xorps xmm0, xmm0
mov word [ebp - 8], 0
lea eax, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
lea eax, [ebp - 0x28]
push str.0000042A
push eax
call fcn.004453bf
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esp, 8
test eax, eax
mov esi, 1
cmove edi, dword [0x4899bc]
mov dword [0x4899b8], edi
nop
push edi
push 0
push esi
call ebx
mov dword [esi*4 + 0x4895b0], eax
inc esi
cmp esi, 0x100
jge 0x407f0e
mov edi, dword [0x4899b8]
jmp 0x407ef0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x408ca0
Capabilities:
Create thread

Disassembly:
call fcn.0042e2d0
push 0
push 0
push 0
push 0
mov dword [0x4899b4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0x408a00
push 0
push 0
mov dword [0x489ac8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x13
push str.00000409
mov dword [0x48321c], eax
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov dword [0x4899bc], eax
call fcn.00407e70
mov byte [0x4899c4], 1
Function at 0x40da00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d4c1
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x260]
push eax
call fcn.00411460
add esp, 4
push 0xf
push 0x463080
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040be20
xor ecx, ecx
mov dword [ebp - 0x218], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x22c], cx
lea ecx, [ebp - 0x22c]
push eax
mov dword [ebp - 0x21c], 0
call fcn.00405630
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x40daa6
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00405850
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x218], 8
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x250], 0
call fcn.004458c0
add esp, 8
cmp eax, 0xffffffff
je 0x40dc33
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
push 0x4630a0
cmovae eax, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
call fcn.00445c0f
add esp, 0xc
cmp dword [ebp - 0x230], 0
je 0x40dc33
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00439d10
mov esi, dword [ebp - 0x230]
add esp, 0xc
push dword [ebp - 0x230]
lea eax, [ebp - 0x214]
push 0x200
push eax
call fcn.00445b2c
add esp, 0xc
test eax, eax
je 0x40dc6f
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x214], ax
je 0x40dba1
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40db92
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405750
push esi
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
push 0
lea eax, [ebp - 0x26c]
mov ecx, edi
push eax
call fcn.0040b490
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x40dbf2
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00405850
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dc00
sub ecx, edx
sar ecx, 1
je 0x40db41
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00439d10
jmp 0x40db3e
mov eax, dword [ebp - 0x218]
cmp eax, 8
jb 0x40dc51
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00405850
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x230]
call fcn.00445ccc
add esp, 4
lea eax, [ebp - 0x22c]
cmp dword [ebp - 0x218], 8
cmovae eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x218]
cmp eax, 8
jb 0x40dcb6
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00405850
mov al, 1
jmp 0x40dc53
Function at 0x40dcc0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push edi
push eax
push 1
xor edi, edi
push edi
push 0x463020
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ddb8
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.SGui
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ddaf
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [esi]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x18], eax
cmp ebx, eax
je 0x40dd83
test edi, edi
jne 0x40dd60
mov ecx, dword [ebx]
cmp dword [ecx + 0x20], 8
lea eax, [ecx + 0xc]
jb 0x40dd41
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push dword [ecx + 4]
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40dd60
xor edi, edi
jmp 0x40dd65
mov edi, 1
mov ecx, dword [ebx]
mov esi, dword [ecx]
mov eax, dword [esi + 0xc]
call eax
mov ecx, dword [ebx]
add eax, 1
adc edx, 0
push edx
push eax
call dword [esi + 0x18]
add ebx, 4
cmp ebx, dword [ebp - 0x18]
jne 0x40dd30
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMyQEVKey
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004380af
mov esp, ebp
pop ebp
ret

Function at 0x40fba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
push 3
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40fbdc
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.AppsUseLightTheme
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
test esi, esi
pop esi
cmove eax, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x40fc30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d78b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x238], 0
push eax
push 0x46352c
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00405750
mov dword [ebp - 4], 0
call fcn.0040fe30
mov ebx, eax
test ebx, ebx
jne 0x40fce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.004066e0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x40fd82
inc ecx
push ecx
jmp 0x40fd71
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x40fd3c
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x234]
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40fd30
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f830
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x14], 7
xor eax, eax
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.004066e0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40fd82
inc eax
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00405850
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret

Function at 0x40fda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
push 3
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40fddc
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.SystemUsesLightTheme
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
test esi, esi
pop esi
cmove eax, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret
Function at 0x411bd0
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push 0x4637a4
push str.Shell_TrayWnd
push 0
push 0
call esi
push 0x463804
push str.TrayNotifyWnd
push 0
push eax
call esi
push 0x463824
push str.SysPager
push 0
push eax
call esi
push str.Notification_Area
push 0x46383c
mov edi, eax
push 0
push edi
call esi
test eax, eax
jne 0x411c29
push str.User_Promoted_Notification_Area
push str.ToolbarWindow32
push eax
push edi
call esi
pop edi
pop esi
ret

Function at 0x411c30
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45da78
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x488250]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x238], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x411c99
mov eax, dword [esi]
jmp 0x411c9b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x21c], 1
cmp edi, 0xffffffff
je 0x411d9d
push 0x208
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.00439d10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040ebc0
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.004117c0
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x411d12
mov edx, dword [edx]
cmp word [edx], 0
jne 0x411d1c
xor ecx, ecx
jmp 0x411d30
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411d21
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00405750
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x411d57
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00405850
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x224], 0
cmp eax, 8
jb 0x411d92
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00405850
push esi
call fcn.0040f540
add esp, 4
jmp 0x411dab
push 0
push 0x463560
mov ecx, esi
call fcn.00405750
mov eax, esi
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.004380af
mov esp, ebp
pop ebp
ret
Function at 0x411e90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45daa8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x488250]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jb 0x411ee3
mov eax, dword [esi]
jmp 0x411ee5
mov eax, esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x411fbe
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x38]
push ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.004045e0
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x411f35
mov esi, dword [esi]
mov edi, dword [ebp - 0x38]
push edi
push ebx
push dword [ebp - 0x24]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x411fb1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x4631d4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x411fb1
cmp dword [ebp - 0x28], 0
je 0x411fb1
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0xfeef04bd
jne 0x411fb1
movzx ebx, word [eax + 0xe]
movzx esi, word [eax + 8]
movzx edi, word [eax + 0xa]
lea eax, [ebp - 0x20]
push ebx
push esi
push edi
push str._d._d._d
push eax
call fcn.0040f510
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
add esp, 0x14
push eax
call fcn.0040f7f0
lea ecx, [ebp - 0x38]
call fcn.0040f6f0
lea eax, [edi + edi*4]
lea eax, [esi + eax*2]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*2]
jmp 0x411fc0
test edi, edi
je 0x411fbe
push edi
call fcn.00438227
add esp, 4
xor eax, 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.004380af
mov esp, ebp
pop ebp
ret
Function at 0x411fe0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45daf2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x220], edi
mov dword [edi + 0x10], 0
jb 0x412050
mov eax, dword [edi]
jmp 0x412052
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x463634
call fcn.00405750
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
test esi, esi
je 0x4120f2
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4120f2
cmp word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
je 0x4120e1
movzx eax, word [esi]
push eax
call fcn.00445836
mov word [esi], ax
lea esi, [esi + 2]
add esp, 4
cmp word [esi], 0
jne 0x4120a0
cmp word [ebp - 0x218], 0
je 0x4120e1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4120d0
sub ecx, edx
sar ecx, 1
jmp 0x4120e3
xor ecx, ecx
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00405750
mov eax, edi
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.004380af
mov esp, ebp
pop ebp
ret
Function at 0x4132b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dc20
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00411350
add esp, 4
push 2
xor eax, eax
mov dword [ebp - 4], 0
push 0x463720
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405750
cmp dword [ebp + 0x10], 0
mov byte [ebp - 4], 1
je 0x41332c
push 3
push 0x463728
lea ecx, [ebp - 0x28]
call fcn.0040be20
cmp dword [ebp + 0x14], 0
je 0x413341
push 3
push 0x463730
lea ecx, [ebp - 0x28]
call fcn.0040be20
cmp dword [ebp + 0xc], 0
je 0x413356
push 6
push str.__fnad
lea ecx, [ebp - 0x28]
call fcn.0040be20
xor eax, eax
lea ecx, [ebp - 0x28]
test esi, esi
mov edx, 0x463748
push 1
cmove edx, eax
cmp dword [ebp - 0x14], 8
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov eax, dword [ebp - 0x14]
setg bl
cmp eax, 8
jb 0x4133a2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405850
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x4133cb
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00405850
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp
ret