joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453244
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x5aab3c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x45341d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0044b3c4
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0044c610
mov eax, dword [esi]
call fcn.00469554
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4532b6
mov eax, dword [esi]
call fcn.00469554
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00469560
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4532da
mov eax, dword [esi]
call fcn.00469560
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00469548
cmp eax, dword [ebp - 0x18]
jle 0x4532f0
mov eax, dword [esi]
call fcn.00469548
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046953c
cmp eax, dword [ebp - 0xc]
jle 0x453306
mov eax, dword [esi]
call fcn.0046953c
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00451bec
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4533cd
mov eax, ebx
call fcn.00404bbc
cmp eax, 0x64
jge 0x4533cd
cmp dword [0x5a5cfc], 0
je 0x4533cd
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4533cd
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x453390
mov bl, 2
jmp 0x4533ab
lea edx, [ebp - 0x20]
mov eax, dword [0x5abae0]
call fcn.0045652c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4533a9
xor ebx, ebx
jmp 0x4533ab
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x5a5e04]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.00451bec
push eax
call dword [0x5a5cfc]
mov eax, dword [0x5aa900]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.0044f2e8
push 4
mov eax, dword [ebp - 4]
call fcn.00451bec
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453424
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x45663c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5aab7c]
cmp byte [eax + 0xc], 0
je 0x4567a9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4567a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5abb34], 0
jne 0x456690
push 0x4567b0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4567b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb34], eax
cmp dword [0x5a5e2c], 0
jne 0x45678b
push 0x4567c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5a5e2c], eax
cmp dword [0x5a5e2c], 0
je 0x45678b
push 0x4567d4
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb38], eax
push 0x4567e4
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb3c], eax
push 0x4567f8
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb40], eax
push 0x456810
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb44], eax
push 0x456828
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb48], eax
push 0x45683c
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb4c], eax
push 0x456854
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb50], eax
push 0x45686c
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb54], eax
push 0x456888
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb58], eax
push 0x456894
mov eax, dword [0x5a5e2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abb5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4567a9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45b0e4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004048fc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45b133
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404b6c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462bb4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x462c04]
test si, 4
je 0x462bc8
or bl, 1
test si, 8
je 0x462bd2
or bl, 4
test si, 1
je 0x462bdc
or bl, 8
test si, 2
je 0x462be6
or bl, 0x10
test si, 0x10
je 0x462bf0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x462bff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x462c08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x462c40]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x462c21
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x462c30
or bl, 4
test esi, 0x20000000
je 0x462c3b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x469304
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x469316
add esp, 0xfffffff0
call fcn.00403de8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004254a0
mov eax, dword [0x5aa60c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4696a8
mov eax, dword [0x5aa618]
mov dword [eax + 4], ebx
mov dword [eax], 0x4696b4
mov eax, ebx
call fcn.004696c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419ac8]
call fcn.00403a40
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419ac8]
call fcn.00403a40
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419ac8]
call fcn.00403a40
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419ac8]
call fcn.00403a40
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419ac8]
call fcn.00403a40
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x465ad8
push eax
push 0
push 0
mov eax, dword [0x5aa834]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426fb8]
call fcn.00428860
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426fb8]
call fcn.00428860
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426fb8]
call fcn.00428860
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00469c0c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x469a8c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x469a8c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x469a8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x469453
call fcn.00403e40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x469870
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469a1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4699fc
mov dl, 1
mov eax, dword [0x41a12c]
call fcn.00403a40
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4699eb
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.0045699c
test al, al
je 0x4699de
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x469a2c
lea eax, [ebp - 0x254]
call fcn.0040ae00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4699de
xor eax, eax
push ebp
push 0x4699d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x469a64
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4699c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b6c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4699c0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699de
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4698e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ebcc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469a22
lea eax, [ebp - 0x260]
call fcn.004048fc
ret

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

Disassembly:
push ecx
mov eax, dword [0x5abb80]
cmp byte [eax + 0xa5], 0
jne 0x46a41d
cmp dword [0x5abb98], 0
jne 0x46a3de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a368
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5abb98], eax
cmp dword [0x5abb94], 0
jne 0x46a3f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5abb94], eax
cmp dword [0x5abb9c], 0
jne 0x46a41d
push esp
push 0
push 0
push 0x46a30c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5abb9c], eax
pop edx
ret
Function at 0x46aae0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5abb80]
cmp dword [eax + 0x30], 0
je 0x46ab8a
cmp dword [ebx + 0x94], 0
jne 0x46ab84
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46aa70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46ab84
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_GetWindowLongA
test al, 8
je 0x46ab4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46ab84
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c520
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46ab59
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46b700
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46b735
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004049ec
jmp 0x46b742
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404950
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46c90c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46c94d
mov eax, esi
call fcn.00451ef0
test al, al
je 0x46c94d
mov eax, dword [ebx + 0x84]
call fcn.00451bec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46c94d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00451bec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x485254
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419030]
call fcn.00405614
xor eax, eax
push ebp
push 0x485398
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a6460], 0
jne 0x4852a7
mov ecx, dword [0x5aa4d8]
mov dl, 1
mov eax, dword [0x408660]
call fcn.0040e24c
call fcn.00404250
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004033c4
mov eax, ebx
call fcn.00405234
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4853a8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004068a0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405244
test eax, eax
jle 0x48533f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x485338
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b84
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b6c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409640
test eax, eax
jne 0x485338
mov ebx, 0x15
jmp 0x485344
mov ebx, 0x10
jmp 0x485344
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5a6460]
call fcn.00485070
mov eax, dword [ebp - 8]
call fcn.00485070
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004068b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48539f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404920
lea eax, [ebp - 0x10]
mov edx, dword [0x419030]
call fcn.004056e4
ret
Function at 0x48de9c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x48dece
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0048ddb0
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e93ec
test al, al
je 0x48dfc9
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.004307e0
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0043071c
dec eax
pop edx
sub eax, edx
jl 0x48dfc9
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x30]
xor eax, eax
call fcn.004307e0
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0043071c
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x48dfbd
inc edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x1a]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x1b]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x1c]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp - 0x19]
mov byte [ecx + 3], al
inc dword [ebp - 0x14]
dec edi
jne 0x48df53
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x48df20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x496ec8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x5abd90
test esi, esi
jne 0x496ee2
xor eax, eax
jmp 0x496fe4
cmp dword [ebp], 0
jne 0x496eed
call fcn.00496e58
xor ebx, 0xffffffff
cmp edi, 8
jb 0x496fbd
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x496ef9
test edi, edi
jbe 0x496fdf
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x496fc1
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4afac4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4afb7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405008
mov eax, dword [0x5aab68]
cmp dword [eax], 2
jne 0x4afb33
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004055ac
mov eax, dword [ebx]
call fcn.00405244
push eax
mov eax, dword [ebx]
call fcn.00405234
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405244
mov edx, eax
dec edx
mov eax, ebx
call fcn.004055ac
jmp 0x4afb65
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a980
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004051b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afb85
lea eax, [ebp - 0x3f0]
call fcn.004048fc
ret
Function at 0x4b9b5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x4b9b74
mov eax, ebx
call fcn.004b98f4
cmp dword [ebx + 0x60], 0
jne 0x4b9b81
mov eax, ebx
call fcn.004b984c
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4b9d25
cmp dword [ebx + 0x60], 0
je 0x4b9d25
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004b97d0
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4b9bf4
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4b9bdd
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4b9be9
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4b9c0a
call fcn.00451bec
mov esi, eax
jmp 0x4b9c0d
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4b9c22
or esi, 0xffffffff
jmp 0x4b9c2c
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.0044ab04
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0044ab28
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.0044ab50
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.0044ab74
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040711c
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00451bec
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.00451bec
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.00451bec
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.0042e56c
call fcn.00429b78
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00451bec
push eax
call dword [0x5abe4c]
push 4
mov eax, dword [ebx + 0x60]
call fcn.00451bec
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret