joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43afec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x43b021
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c8c
jmp 0x43b02b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403c40
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43bf8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43bfc4
mov eax, esi
call fcn.004475cc
test al, al
je 0x43bfc4
mov eax, dword [ebx + 0x6c]
call fcn.004471a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43bfc4
push 0
mov eax, dword [ebx + 0x6c]
call fcn.004471a4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43f1b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x54d7ac], 0
sete dl
or al, dl
jne 0x43f2fc
mov eax, dword [0x54d7b0]
mov bx, 0xffff
call fcn.00403120
mov eax, dword [0x54d7ac]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x43f2cb
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x54d7ac]
call fcn.00410cd0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x43f2c3
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x43f2c3
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43f2c3
mov eax, dword [ebp - 0x10]
call fcn.004471a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f2c3
push ebp
call fcn.0043f174
pop ecx
test al, al
jne 0x43f2c3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x43f27f
mov eax, dword [ebp - 0x10]
call fcn.00445ae8
dec eax
jle 0x43f2c3
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00403120
cmp byte [ebp - 0x15], 0
je 0x43f2c3
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43f2c3
mov edx, dword [ebp - 0x10]
mov eax, dword [0x54d7b0]
call fcn.0043ea10
inc edi
dec esi
jne 0x43f212
mov eax, dword [0x54d7b0]
cmp dword [eax + 8], 0
jle 0x43f2e3
mov eax, dword [0x54d7b0]
call fcn.0043eaa0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f2fc
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0043f02c
pop ecx
test al, al
jne 0x43f2fc
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444c00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x444c31
je 0x444c8b
sub eax, 7
je 0x444c52
dec eax
je 0x444c7c
sub eax, 0x17
je 0x444d0c
jmp 0x444d4a
add eax, 0xffffff00
sub eax, 9
jb 0x444cf8
add eax, 0xffffff09
sub eax, 0xb
jb 0x444ce2
jmp 0x444d4a
mov eax, ebx
call fcn.00432f90
mov edi, eax
test edi, edi
je 0x444daa
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xcc]
test al, al
je 0x444db3
jmp 0x444daa
test byte [ebx + 0x44], 0x20
jne 0x444db3
jmp 0x444daa
mov edx, esi
mov eax, ebx
call fcn.00442468
cmp dword [esi + 0xc], 0xffffffff
jne 0x444db3
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407870
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00440efc
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00444a84
test eax, eax
je 0x444db3
mov dword [esi + 0xc], 1
jmp 0x444db3
mov edx, esi
mov eax, ebx
call fcn.00444b48
test al, al
jne 0x444db3
jmp 0x444daa
mov eax, ebx
call fcn.00441adc
test al, al
jne 0x444db3
jmp 0x444daa
mov eax, ebx
call fcn.004471a4
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x444daa
cmp dword [0x5479f0], 0
je 0x444daa
mov eax, dword [0x5479f0]
cmp ebx, dword [eax + 0x24]
jne 0x444daa
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x5479f0]
call fcn.00442384
jmp 0x444daa
mov eax, dword [0x54d774]
cmp byte [eax + 0x20], 0
je 0x444daa
mov eax, dword [0x54d774]
cmp dword [eax + 0x1c], 0
je 0x444daa
mov eax, dword [esi]
mov edx, dword [0x54d774]
cmp eax, dword [edx + 0x1c]
jne 0x444daa
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00432ea4
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00403120
jmp 0x444db3
mov edx, esi
mov eax, ebx
call fcn.00442468
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4452b8
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 + 0x1e8], 0
je 0x4452d4
cmp dword [esi + 4], 0
je 0x445301
test byte [ebx + 0x45], 1
jne 0x4452f3
mov eax, ebx
call fcn.00444230
test eax, eax
jne 0x4452f3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445411
mov edx, esi
mov eax, ebx
call fcn.00444f30
jmp 0x445411
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 0x44540a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004471a4
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.00442384
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004452b8
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.004471a4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445411
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 0x44c5c4
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.00403ba8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c625
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x44c625
cmp byte [ebp - 0x102], 0
je 0x44c625
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403dd4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455cb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x455d70
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebp
push 0x455d48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403e24
test eax, eax
jle 0x455d3e
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.00403d4c
lea eax, [ebp - 0x14]
mov edx, 0x455d8c
call fcn.00403e2c
mov eax, dword [ebp - 0x14]
call fcn.00403fe8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
je 0x455d3e
mov eax, dword [ebp - 4]
mov al, byte [eax]
sub al, 0x40
call fcn.00409688
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455d52
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455d77
lea eax, [ebp - 0x14]
call fcn.00403ba8
lea eax, [ebp - 4]
call fcn.00403ba8
ret

Function at 0x456038
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x54c8b4]
cmp dword [eax], 2
je 0x456052
push 0
push 1
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret
call fcn.00455fb8
test al, al
je 0x456066
push 0
push 8
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret

Function at 0x456144
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x45619d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00456108
mov eax, dword [ebp - 4]
call fcn.00403fe8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x456181
test al, 0x10
jne 0x456185
xor ebx, ebx
jmp 0x456187
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4561a4
lea eax, [ebp - 4]
call fcn.00403ba8
ret

Function at 0x4563f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403c40
mov eax, dword [ebp - 4]
call fcn.00403e24
mov edi, eax
test edi, edi
jle 0x45645e
mov ebx, 1
mov eax, dword [ebp - 8]
call fcn.00403ff4
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x456427
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4568c8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
push ebp
call fcn.00456884
pop ecx
mov edx, eax
mov eax, ebx
call fcn.00404154
mov eax, dword [ebx]
call fcn.00403fe8
mov esi, eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00403e24
mov dword [ebp - 8], eax
cmp ebx, dword [ebp - 8]
jg 0x456a67
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456915
call fcn.00402e84
inc ebx
movzx eax, byte [eax + ebx - 1]
shr eax, 2
and eax, 0x3f
inc eax
mov edx, 0x456a78
dec eax
cmp eax, dword [edx - 4]
jb 0x456932
call fcn.00402e84
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi], al
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jg 0x45697c
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x45694f
call fcn.00402e84
inc ebx
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
lea edx, [ebx + 1]
mov ecx, dword [ebp - 4]
dec edx
cmp edx, dword [ecx - 4]
jb 0x45696c
call fcn.00402e84
inc edx
movzx edx, byte [ecx + edx - 1]
shr edx, 4
and edx, 0xf
or eax, edx
jmp 0x456996
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x45698a
call fcn.00402e84
inc ebx
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
inc eax
mov edx, 0x456a78
dec eax
cmp eax, dword [edx - 4]
jb 0x4569a7
call fcn.00402e84
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 1], al
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jg 0x456a13
lea eax, [ebx + 1]
mov edx, dword [ebp - 4]
dec eax
cmp eax, dword [edx - 4]
jb 0x4569c8
call fcn.00402e84
inc eax
movzx eax, byte [edx + eax - 1]
shl eax, 2
and eax, 0x3c
lea edx, [ebx + 2]
cmp edx, dword [ebp - 8]
jg 0x4569f8
mov ecx, dword [ebp - 4]
dec edx
cmp edx, dword [ecx - 4]
jb 0x4569ea
call fcn.00402e84
inc edx
movzx edx, byte [ecx + edx - 1]
shr edx, 6
and edx, 3
or eax, edx
inc eax
mov edx, 0x456a78
dec eax
cmp eax, dword [edx - 4]
jb 0x456a09
call fcn.00402e84
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 2], al
jmp 0x456a17
mov byte [esi + 2], 0x3d
lea eax, [ebx + 2]
cmp eax, dword [ebp - 8]
jg 0x456a54
mov edx, dword [ebp - 4]
dec eax
cmp eax, dword [edx - 4]
jb 0x456a2d
call fcn.00402e84
inc eax
mov al, byte [edx + eax - 1]
and al, 0x3f
and eax, 0xff
inc eax
mov edx, 0x456a78
dec eax
cmp eax, dword [edx - 4]
jb 0x456a4a
call fcn.00402e84
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 3], al
jmp 0x456a58
mov byte [esi + 3], 0x3d
add ebx, 3
add esi, 4
cmp ebx, dword [ebp - 8]
jle 0x456907
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x456dc8
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
lea edi, [ebp - 0x60]
xor eax, eax
push ebp
push 0x456f7c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x5c], eax
lea eax, [edi + 0x1c]
xor ecx, ecx
mov edx, 0x40
call fcn.00402bd8
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 0x64]
call fcn.00403e24
mov esi, eax
mov eax, 8
mov ebx, dword [edi + 0x18]
add dword [edi + 0x18], esi
cmp ebx, dword [edi + 0x18]
jle 0x456e4a
inc dword [edi + 0x14]
dec eax
jne 0x456e3c
mov ebx, 1
test esi, esi
jle 0x456e95
mov eax, dword [ebp - 0x64]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456e64
call fcn.00402e84
inc ebx
mov al, byte [eax + ebx - 1]
mov edx, dword [edi + 0x5c]
cmp edx, 0x3f
jbe 0x456e76
call fcn.00402e84
mov byte [edi + edx + 0x1c], al
inc ebx
inc dword [edi + 0x5c]
dec esi
cmp dword [edi + 0x5c], 0x40
jne 0x456e91
xor eax, eax
mov dword [edi + 0x5c], eax
push ebp
call fcn.00456b10
pop ecx
test esi, esi
jg 0x456e56
mov eax, dword [edi + 0x5c]
cmp eax, 0x3f
jbe 0x456ea2
call fcn.00402e84
mov byte [edi + eax + 0x1c], 0x80
cmp dword [edi + 0x5c], 0x38
jl 0x456eb4
push ebp
call fcn.00456b10
pop ecx
mov eax, dword [edi + 0x14]
test eax, eax
jns 0x456ec0
call fcn.00402e84
call fcn.00456ae0
lea edx, [edi + 0x54]
mov dword [edx], eax
mov eax, dword [edi + 0x18]
test eax, eax
jns 0x456ed6
call fcn.00402e84
call fcn.00456ae0
lea edx, [edi + 0x58]
mov dword [edx], eax
push ebp
call fcn.00456b10
pop ecx
mov eax, dword [edi]
call fcn.00456ae0
mov dword [edi], eax
mov eax, dword [edi + 4]
call fcn.00456ae0
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
call fcn.00456ae0
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
call fcn.00456ae0
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
call fcn.00456ae0
mov dword [edi + 0x10], eax
lea edx, [ebp - 0x7c]
mov eax, edi
mov ecx, 0x14
call fcn.0040282c
mov eax, dword [ebp - 0x68]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403c40
mov ebx, 0x14
lea esi, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
xor eax, eax
mov al, byte [esi]
mov edx, 2
call fcn.00408eb0
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
call fcn.00403e2c
mov eax, dword [ebp - 0x68]
inc esi
dec ebx
jne 0x456f43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456f83
lea eax, [ebp - 0x80]
call fcn.00403ba8
ret
Function at 0x457140
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x457163
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x457163
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x457173
mov bl, 1
jmp 0x457265
mov eax, dword [0x54c8b4]
cmp dword [eax], 2
jne 0x457187
mov eax, dword [0x54c36c]
cmp dword [eax], 4
jg 0x4571bb
mov eax, dword [0x54c8b4]
cmp dword [eax], 1
jne 0x45724f
mov eax, dword [0x54c36c]
cmp dword [eax], 4
jg 0x4571bb
mov eax, dword [0x54c36c]
cmp dword [eax], 4
jne 0x45724f
mov eax, dword [0x54c668]
cmp dword [eax], 0
jle 0x45724f
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x457209
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x45725b
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x45725b
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x457f9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x54e888]
shl edi, 2
xor edx, dword [esi + 0x54d800]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x54d888]
mov bl, dl
add ecx, dword [ebx*4 + 0x54dc88]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x54e088]
mov bl, dl
add ecx, dword [ebx*4 + 0x54e488]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x457fb9
xchg edx, eax
xor eax, dword [esi + 0x54d800]
xor edx, dword [esi + 0x54d804]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x458010
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x54e888]
inc esi
shl esi, 2
xor edx, dword [esi + 0x54d800]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x54d888]
mov bl, dl
add ecx, dword [ebx*4 + 0x54dc88]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x54e088]
mov bl, dl
add ecx, dword [ebx*4 + 0x54e488]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x458028
xchg edx, eax
xor eax, dword [0x54d804]
xor edx, dword [0x54d800]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x458308
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x54e888], 0x10
mov esi, 0x547bc4
mov edi, 0x54d800
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x458390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or edx, edx
je 0x4583af
jecxz 0x4583af
push ebx
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword cs:[ebx + 0x4583b0]
inc edx
loop 0x458397
pop ebx
ret
Function at 0x45a4e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a517
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x45a50d
mov eax, dword [ebp - 4]
call fcn.00458da8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a521
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x45a5d7
call sub.kernel32.dll_GetTickCount
sub eax, 0xa
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1c]
jb 0x45a5d7
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
xor edx, edx
push ebp
push 0x45a5cd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409178
cmp eax, 0xffffffff
jne 0x45a577
pop dword fs:[0]
add esp, 8
jmp 0x45a5d7
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jle 0x45a5c3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 0
je 0x45a592
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a5d7
mov eax, dword [ebp - 4]
mov byte [eax + 0x2a], 1
xor eax, eax
push ebp
push 0x45a5b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00458da8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a5c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a5d7
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x462f7c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402bd8
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x54c8c4]
cmp byte [edx + 8], 0
je 0x462fe3
mov edx, dword [0x54c8b4]
cmp dword [edx], 2
jne 0x462fe3
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
pop ebp
ret