joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f6600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x5f6647
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f662a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f663b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5f6647
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x602664
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x602685
test edi, 0x40000
je 0x60269f
test bl, bl
jne 0x602720
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x602720
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x6026d2
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x6026e7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x6026f6
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x602707
cmp byte [esp + 2], 0
je 0x602720
cmp byte [esp + 2], 0
je 0x602718
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x602720
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x6029c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x6029ea
mov eax, esp
push eax
push 0x60298c
call sub.user32.dll_EnumWindows
jmp 0x6029fd
mov eax, esp
push eax
push 0x60296c
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x602ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x602ad2
or si, 1
test bl, 8
je 0x602adb
or si, 4
test bl, 1
je 0x602ae4
or si, 8
test bl, 2
je 0x602aed
or si, 0x10
test bl, 0x10
je 0x602af6
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x602b06
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x602b0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x602b25
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x602b35
or bx, 4
test esi, 0x20000000
je 0x602b41
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x60caac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x60cabe
add esp, 0xfffffff0
call fcn.00409c5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c52d8
mov eax, dword [0x681ed0]
mov dword [eax + 4], ebx
mov dword [eax], 0x60cf80
mov eax, dword [0x681ee0]
mov dword [eax + 4], ebx
mov dword [eax], 0x60cf8c
mov eax, ebx
call fcn.0060cf98
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x606d28
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x51b1e0]
call fcn.00521d5c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x51b1e0]
call fcn.00521d5c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x51b1e0]
call fcn.00521d5c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x51b1e0]
call fcn.00521d5c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x51b1e0]
call fcn.00521d5c
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.0060d578
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d3a8
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d3a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d3a8
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d3a8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d3a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60cc3e
call fcn.00409cb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x60d144
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x60d2f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x60d2d3
mov dl, 1
mov eax, dword [0x487ea4]
call fcn.004b4088
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040b458
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x60d2c2
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00561cfc
test al, al
je 0x60d2b5
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x60d304
lea eax, [ebp - 0x394]
call fcn.004299f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x60d2b5
xor eax, eax
push ebp
push 0x60d2ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x60d374
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x60d295
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c0a4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x60d295
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c0a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d2b5
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x60d1b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b3fb0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d2fb
lea eax, [ebp - 0x3a0]
call fcn.0040b458
pop eax
jmp eax

Function at 0x60df0c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x689ca8]
cmp byte [eax + 0xc5], 0
jne 0x60df7e
cmp dword [0x689cd0], 0
jne 0x60df3e
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6810c8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x689cd0], eax
cmp dword [0x689ccc], 0
jne 0x60df59
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x689ccc], eax
cmp dword [0x689cd4], 0
jne 0x60df7e
push esp
push 0
push 0
mov eax, dword [0x6810c4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x689cd4], eax
pop edx
ret
Function at 0x60e4f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x60e50f
add esp, 0xfffffff0
call fcn.00409c5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c52d8
mov eax, dword [0x681d34]
cmp byte [eax], 0
jne 0x60e53c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x682150]
cmp word [eax + 2], 0
jne 0x60e556
mov eax, dword [0x682150]
mov dword [eax + 4], ebx
mov dword [eax], fcn.006109bc
mov eax, dword [0x6822bc]
cmp word [eax + 2], 0
jne 0x60e570
mov eax, dword [0x6822bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00610dd4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x51b1e0]
call fcn.00521d5c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x611380
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x520350]
call fcn.0052c330
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x60e760
mov eax, dword [0x681fa8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0052c84c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x61166c
mov dl, 1
mov eax, dword [0x484158]
call fcn.00409638
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x681fa8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004297f0
test eax, eax
je 0x60e683
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00429648
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004297d4
test eax, eax
je 0x60e69b
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040c0a4
push ebx
push 0x610390
call fcn.00602aa4
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x681d34]
cmp byte [eax], 0
jne 0x60e6ec
mov eax, ebx
call fcn.0060e928
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00611a14
mov eax, ebx
call fcn.00612550
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60e757
call fcn.00409cb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60ec58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x60ecfa
cmp dword [ebx + 0xac], 0
jne 0x60ecf4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x60eb98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x60ecf4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x60ecba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x60ecf4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aeeac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x60ecc9
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x60f03c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x689ca8]
cmp dword [eax + 0x190], 0
je 0x60f1a5
test bl, bl
jne 0x60f0f8
cmp dword [esi + 0xb4], 0
jne 0x60f0ed
mov eax, esi
call fcn.006123a0
push eax
push 0x60ef3c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x60f0be
mov eax, dword [0x689ca8]
cmp byte [eax + 0xeb], 0
je 0x60f0be
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x60f09f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x60f0be
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60f0a7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x60f0ed
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aeeac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x60f0cd
inc dword [esi + 0xb4]
jmp 0x60f1a5
cmp dword [esi + 0xb4], 0
jle 0x60f1a5
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x60f1a5
cmp dword [esi + 0x58], 0
je 0x60f15a
mov eax, dword [0x689ca8]
cmp byte [eax + 0xeb], 0
je 0x60f15a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x60f13b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x60f15a
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60f143
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x60f189
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aeeac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x60f169
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5fef44]
call fcn.0040e4dc
pop edi
pop esi
pop ebx
ret
Function at 0x60ff9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x60fff9
cmp byte [ebx + 0xeb], 0
jne 0x60fff9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040b5f0
mov eax, dword [esi]
test eax, eax
je 0x60ffe6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x610006
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b848
jmp 0x610006
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b848
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x611c28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x611c99
mov eax, esi
call fcn.0055b7bc
test al, al
je 0x611c99
mov eax, dword [ebx + 0x98]
call fcn.0055b354
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x611c99
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x611c8a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0055b354
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005515f8
jmp 0x611c99
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00611a34
pop esi
pop ebx
ret
Function at 0x61a468
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x61a4ee
mov eax, dword [ebx + 8]
call fcn.0055b354
mov ecx, eax
mov dl, 1
mov eax, dword [0x56fc60]
call fcn.00554e88
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.0058021c
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x619d38
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0055b354
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0055b354
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x61a570
mov eax, dword [ebx + 8]
call fcn.0055b354
mov ecx, eax
mov dl, 1
mov eax, dword [0x56fc60]
call fcn.00554e88
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.0058021c
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x619d84
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0055b354
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0055b354
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x61a5ee
mov eax, dword [ebx + 8]
call fcn.0055b354
mov ecx, eax
mov dl, 1
mov eax, dword [0x570754]
call fcn.00554e88
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0055b354
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0055b354
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x631580
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x68a160], 0
jne 0x631597
call fcn.0063153c
mov eax, edi
dec eax
test eax, eax
jl 0x6315bf
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x689d60]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6315a1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x634618
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x634649
dec al
je 0x634684
dec al
je 0x6346c8
dec al
je 0x63473a
jmp 0x6347d5
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6347d5
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x634659
jmp 0x6347d5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6347d5
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x634694
jmp 0x6347d5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6347d5
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x6346fb
xor edx, edx
mov dword [esp + 4], edx
jmp 0x634710
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x634728
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x6346d8
jmp 0x6347d5
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6347d5
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x6347a1
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.006315c8
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x634756
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x638d94
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b54c
xor eax, eax
push ebp
push 0x638f7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040b458
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00642150
mov eax, dword [ebp - 0x20]
mov dl, 1
call fcn.00428a20
test al, al
je 0x638f5a
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00642150
mov eax, dword [ebp - 0x24]
call fcn.0040bff0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x638e72
xor eax, eax
push ebp
push 0x638e66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00407004
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00642150
mov eax, dword [ebp - 0x28]
call fcn.0040bff0
push eax
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x638e72
test bl, bl
je 0x638f5a
xor eax, eax
push ebp
push 0x638f45
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x638f90
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00427d98
mov eax, dword [ebp - 8]
push dword [eax]
push 0x638fa0
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00427d98
push dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040c2dc
mov eax, dword [ebp - 8]
push dword [eax]
push 0x638fa0
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00427d98
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040c2dc
mov eax, dword [ebp - 8]
push dword [eax]
push 0x638fa0
mov eax, dword [ebx + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00427d98
push dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040c2dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x638f4f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00407020
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x638f86
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.0040b4b8
lea eax, [ebp - 4]
call fcn.0040b458
pop eax
jmp eax