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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x441694
mov eax, esi
call fcn.004576c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441694
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x441694
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4417d3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4416d4
cmp eax, 0x108
ja 0x4416d4
mov eax, esi
call fcn.004576c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4417ca
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4417d3
jmp 0x4417ca
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4417b3
cmp eax, 0x20a
ja 0x4417b3
test byte [esi + 0x50], 0x80
jne 0x441706
sub eax, 0x203
je 0x441703
sub eax, 3
je 0x441703
sub eax, 3
jne 0x441706
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44171a
dec eax
je 0x44172f
dec eax
je 0x44174c
dec eax
je 0x44172f
jmp 0x441753
mov ecx, ebx
mov eax, dword [0x51d97c]
mov eax, dword [eax]
mov edx, esi
call fcn.004610fc
jmp 0x4417ca
cmp byte [esi + 0x5d], 1
jne 0x441745
mov eax, esi
mov si, 0xffed
call fcn.00403aec
jmp 0x4417d3
or word [esi + 0x54], 1
jmp 0x4417ca
and word [esi + 0x54], 0xfffe
jmp 0x4417ca
mov eax, dword [0x51ead8]
cmp byte [eax + 0x20], 0
je 0x4417ca
mov eax, dword [0x51ead8]
cmp dword [eax + 0x1c], 0
je 0x4417ca
mov eax, dword [ebx]
mov edx, dword [0x51ead8]
cmp eax, dword [edx + 0x1c]
jne 0x4417ca
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045760c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403aec
jmp 0x4417d3
cmp eax, 0xb00b
jne 0x4417ca
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043ff44
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444d54
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x444d70
cmp dword [esi + 4], 0
je 0x444d9d
test byte [ebx + 0x55], 1
jne 0x444d8f
mov eax, ebx
call fcn.004438f4
test eax, eax
jne 0x444d8f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x444ead
mov edx, esi
mov eax, ebx
call fcn.00444878
jmp 0x444ead
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x444ea6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446bc4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044157c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00444d54
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446bc4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444ead
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b614
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x51db28]
cmp byte [eax + 0xc], 0
je 0x44b781
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b77a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51eb2c], 0
jne 0x44b668
push 0x44b788
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b790
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb2c], eax
cmp dword [0x519c90], 0
jne 0x44b763
push 0x44b7a0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x519c90], eax
cmp dword [0x519c90], 0
je 0x44b763
push 0x44b7ac
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb30], eax
push 0x44b7bc
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb34], eax
push 0x44b7d0
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb38], eax
push 0x44b7e8
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb3c], eax
push 0x44b800
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb40], eax
push 0x44b814
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb44], eax
push 0x44b82c
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb48], eax
push 0x44b844
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb4c], eax
push 0x44b860
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb50], eax
push 0x44b86c
mov eax, dword [0x519c90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b781
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44fb70
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.004046f4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44fbbf
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.00404964
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45757c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4575cc]
test si, 4
je 0x457590
or bl, 1
test si, 8
je 0x45759a
or bl, 4
test si, 1
je 0x4575a4
or bl, 8
test si, 2
je 0x4575ae
or bl, 0x10
test si, 0x10
je 0x4575b8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4575c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4575d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457608]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4575e9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4575f8
or bl, 4
test esi, 0x20000000
je 0x457603
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45dccc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45dcde
add esp, 0xfffffff0
call fcn.00403c1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fce0
mov eax, dword [0x51d76c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e070
mov eax, dword [0x51d778]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e07c
mov eax, ebx
call fcn.0045e088
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416b7c]
call fcn.004038b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416b7c]
call fcn.004038b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416b7c]
call fcn.004038b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416b7c]
call fcn.004038b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416b7c]
call fcn.004038b4
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, 0x45a4a0
push eax
push 0
push 0
mov eax, dword [0x51d8ec]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4217c8]
call fcn.00422fd0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4217c8]
call fcn.00422fd0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4217c8]
call fcn.00422fd0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e5d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e454
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e454
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e454
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45de1b
call fcn.00403c74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e238
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 0x45e3e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e3c4
mov dl, 1
mov eax, dword [0x417124]
call fcn.004038b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046f4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e3b3
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.0044b974
test al, al
je 0x45e3a6
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, 0x45e3f4
lea eax, [ebp - 0x254]
call fcn.0040a0f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e3a6
xor eax, eax
push ebp
push 0x45e39f
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 0x45e42c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e388
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404964
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 0x45e388
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e3a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e2a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b690
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 0x45e3ea
lea eax, [ebp - 0x260]
call fcn.004046f4
ret

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

Disassembly:
push ecx
mov eax, dword [0x51eb78]
cmp byte [eax + 0xa5], 0
jne 0x45ede5
cmp dword [0x51eb90], 0
jne 0x45eda6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ed30
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51eb90], eax
cmp dword [0x51eb8c], 0
jne 0x45edc1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51eb8c], eax
cmp dword [0x51eb94], 0
jne 0x45ede5
push esp
push 0
push 0
push 0x45ecd4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51eb94], eax
pop edx
ret
Function at 0x45f4a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51eb78]
cmp dword [eax + 0x30], 0
je 0x45f552
cmp dword [ebx + 0x94], 0
jne 0x45f54c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f438
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f54c
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 0x45f512
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f54c
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.004191d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f521
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4600c8
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 0x4600fd
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.004047e4
jmp 0x46010a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404748
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461244
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461285
mov eax, esi
call fcn.00446ec8
test al, al
je 0x461285
mov eax, dword [ebx + 0x84]
call fcn.00446bc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461285
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446bc4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x464038
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00463c68
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404bb4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x464096
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x51d8f8]
mov dl, 1
mov eax, dword [0x463b60]
call fcn.0040cd4c
call fcn.00404084
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4640a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404bb4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4640f8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x51db34]
mov dl, 1
mov eax, dword [0x463b60]
call fcn.0040cd4c
call fcn.00404084
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00463c98
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46f53c
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 0x46f56e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0046f450
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.004bca04
test al, al
je 0x46f669
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.0042aaa8
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0042a9e4
dec eax
pop edx
sub eax, edx
jl 0x46f669
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.0042aaa8
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0042a9e4
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x46f65d
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 0x46f5f3
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x46f5c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x478568
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, 0x51ed80
test esi, esi
jne 0x478582
xor eax, eax
jmp 0x478684
cmp dword [ebp], 0
jne 0x47858d
call fcn.004784f8
xor ebx, 0xffffffff
cmp edi, 8
jb 0x47865d
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 0x478599
test edi, edi
jbe 0x47867f
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 0x478661
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48e534
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 0x48e5ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e00
mov eax, dword [0x51db18]
cmp dword [eax], 2
jne 0x48e5a3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405048
mov eax, dword [ebx]
call fcn.00404f6c
push eax
mov eax, dword [ebx]
call fcn.00404f5c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404f6c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405048
jmp 0x48e5d5
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.00409c70
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e5f5
lea eax, [ebp - 0x3f0]
call fcn.004046f4
ret
Function at 0x4985cc
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 0x4985e4
mov eax, ebx
call fcn.00498364
cmp dword [ebx + 0x60], 0
jne 0x4985f1
mov eax, ebx
call fcn.004982bc
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x498795
cmp dword [ebx + 0x60], 0
je 0x498795
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.00498240
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x498664
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x49864d
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x498659
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 0x49867a
call fcn.00446bc4
mov esi, eax
jmp 0x49867d
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x498692
or esi, 0xffffffff
jmp 0x49869c
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.0043fb14
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0043fb38
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.0043fb60
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.0043fb84
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406b68
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.00446bc4
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.00446bc4
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.00446bc4
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.0042888c
call fcn.0042427c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00446bc4
push eax
call dword [0x51ee3c]
push 4
mov eax, dword [ebx + 0x60]
call fcn.00446bc4
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