joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443b94
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 0x443be0
mov eax, esi
call fcn.00459c14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443be0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x443be0
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 0x443d1f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x443c20
cmp eax, 0x108
ja 0x443c20
mov eax, esi
call fcn.00459c14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443d16
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x443d1f
jmp 0x443d16
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x443cff
cmp eax, 0x20a
ja 0x443cff
test byte [esi + 0x50], 0x80
jne 0x443c52
sub eax, 0x203
je 0x443c4f
sub eax, 3
je 0x443c4f
sub eax, 3
jne 0x443c52
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x443c66
dec eax
je 0x443c7b
dec eax
je 0x443c98
dec eax
je 0x443c7b
jmp 0x443c9f
mov ecx, ebx
mov eax, dword [0x51d9b8]
mov eax, dword [eax]
mov edx, esi
call fcn.00463648
jmp 0x443d16
cmp byte [esi + 0x5d], 1
jne 0x443c91
mov eax, esi
mov si, 0xffed
call fcn.00403aec
jmp 0x443d1f
or word [esi + 0x54], 1
jmp 0x443d16
and word [esi + 0x54], 0xfffe
jmp 0x443d16
mov eax, dword [0x51ead8]
cmp byte [eax + 0x20], 0
je 0x443d16
mov eax, dword [0x51ead8]
cmp dword [eax + 0x1c], 0
je 0x443d16
mov eax, dword [ebx]
mov edx, dword [0x51ead8]
cmp eax, dword [edx + 0x1c]
jne 0x443d16
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.00459b58
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 0x443d1f
cmp eax, 0xb00b
jne 0x443d16
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00442490
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 0x4472a0
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 0x4472bc
cmp dword [esi + 4], 0
je 0x4472e9
test byte [ebx + 0x55], 1
jne 0x4472db
mov eax, ebx
call fcn.00445e40
test eax, eax
jne 0x4472db
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4473f9
mov edx, esi
mov eax, ebx
call fcn.00446dc4
jmp 0x4473f9
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 0x4473f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449110
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.00443ac8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004472a0
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.00449110
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4473f9
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 0x44db60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x51db70]
cmp byte [eax + 0xc], 0
je 0x44dccd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44dcc6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51eb2c], 0
jne 0x44dbb4
push 0x44dcd4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44dcdc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb2c], eax
cmp dword [0x519cd4], 0
jne 0x44dcaf
push 0x44dcec
call sub.kernel32.dll_LoadLibraryA
mov dword [0x519cd4], eax
cmp dword [0x519cd4], 0
je 0x44dcaf
push 0x44dcf8
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb30], eax
push 0x44dd08
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb34], eax
push 0x44dd1c
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb38], eax
push 0x44dd34
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb3c], eax
push 0x44dd4c
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb40], eax
push 0x44dd60
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb44], eax
push 0x44dd78
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb48], eax
push 0x44dd90
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb4c], eax
push 0x44ddac
mov eax, dword [0x519cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51eb50], eax
push 0x44ddb8
mov eax, dword [0x519cd4]
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 0x44dccd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4520bc
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 0x45210b
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 0x459ac8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459b18]
test si, 4
je 0x459adc
or bl, 1
test si, 8
je 0x459ae6
or bl, 4
test si, 1
je 0x459af0
or bl, 8
test si, 2
je 0x459afa
or bl, 0x10
test si, 0x10
je 0x459b04
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459b13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459b1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459b54]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459b35
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459b44
or bl, 4
test esi, 0x20000000
je 0x459b4f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460218
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46022a
add esp, 0xfffffff0
call fcn.00403c1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042001c
mov eax, dword [0x51d790]
mov dword [eax + 4], ebx
mov dword [eax], 0x4605bc
mov eax, dword [0x51d79c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4605c8
mov eax, ebx
call fcn.004605d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416eb8]
call fcn.004038b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416eb8]
call fcn.004038b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416eb8]
call fcn.004038b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416eb8]
call fcn.004038b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416eb8]
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, 0x45c9ec
push eax
push 0
push 0
mov eax, dword [0x51d928]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421b0c]
call fcn.00423314
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421b0c]
call fcn.00423314
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421b0c]
call fcn.00423314
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460b20
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4609a0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4609a0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4609a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460367
call fcn.00403c74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460784
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 0x46092f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460910
mov dl, 1
mov eax, dword [0x417460]
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 0x4608ff
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.0044dec0
test al, al
je 0x4608f2
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, 0x460940
lea eax, [ebp - 0x254]
call fcn.0040a0dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4608f2
xor eax, eax
push ebp
push 0x4608eb
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 0x460978
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4608d4
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 0x4608d4
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 0x4608f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4607f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b9cc
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 0x460936
lea eax, [ebp - 0x260]
call fcn.004046f4
ret

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

Disassembly:
push ecx
mov eax, dword [0x51eb78]
cmp byte [eax + 0xa5], 0
jne 0x461331
cmp dword [0x51eb90], 0
jne 0x4612f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46127c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51eb90], eax
cmp dword [0x51eb8c], 0
jne 0x46130d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51eb8c], eax
cmp dword [0x51eb94], 0
jne 0x461331
push esp
push 0
push 0
push 0x461220
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51eb94], eax
pop edx
ret
Function at 0x4619f4
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 0x461a9e
cmp dword [ebx + 0x94], 0
jne 0x461a98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461984
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461a98
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 0x461a5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461a98
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.00419514
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461a6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462614
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 0x462649
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 0x462656
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404748
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463790
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4637d1
mov eax, esi
call fcn.00449414
test al, al
je 0x4637d1
mov eax, dword [ebx + 0x84]
call fcn.00449110
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4637d1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449110
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x466584
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.004661b4
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 0x4665e2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x51d934]
mov dl, 1
mov eax, dword [0x4660ac]
call fcn.0040d0b0
call fcn.00404084
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4665ec
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 0x466644
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x51db7c]
mov dl, 1
mov eax, dword [0x4660ac]
call fcn.0040d0b0
call fcn.00404084
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004661e4
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 0x472f90
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 0x472fc2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.00472ea4
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.004c0458
test al, al
je 0x4730bd
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.0042aca8
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0042abe4
dec eax
pop edx
sub eax, edx
jl 0x4730bd
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.0042aca8
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0042abe4
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4730b1
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 0x473047
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x473014
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47bfbc
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, 0x55ede0
test esi, esi
jne 0x47bfd6
xor eax, eax
jmp 0x47c0d8
cmp dword [ebp], 0
jne 0x47bfe1
call fcn.0047bf4c
xor ebx, 0xffffffff
cmp edi, 8
jb 0x47c0b1
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 0x47bfed
test edi, edi
jbe 0x47c0d3
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 0x47c0b5
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x491f88
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 0x492042
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e00
mov eax, dword [0x51db60]
cmp dword [eax], 2
jne 0x491ff7
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 0x492029
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.00409c5c
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 0x492049
lea eax, [ebp - 0x3f0]
call fcn.004046f4
ret
Function at 0x49c020
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 0x49c038
mov eax, ebx
call fcn.0049bdb8
cmp dword [ebx + 0x60], 0
jne 0x49c045
mov eax, ebx
call fcn.0049bd10
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x49c1e9
cmp dword [ebx + 0x60], 0
je 0x49c1e9
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.0049bc94
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x49c0b8
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x49c0a1
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x49c0ad
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 0x49c0ce
call fcn.00449110
mov esi, eax
jmp 0x49c0d1
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x49c0e6
or esi, 0xffffffff
jmp 0x49c0f0
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.00442060
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.00442084
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.004420ac
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.004420d0
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.00449110
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.00449110
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.00449110
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.00428a8c
call fcn.004245c0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00449110
push eax
call dword [0x55ee9c]
push 4
mov eax, dword [ebx + 0x60]
call fcn.00449110
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