joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f9bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4f9be9
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4f9be2
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4f9bfd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004f9594
test bl, bl
jne 0x4f9cd0
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x6a98fc
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4f9c34
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4f9c48
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004f9aa8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4f9c7a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4f9c29
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4f9c9d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4f9cae
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4f9cc2
jmp 0x4f9d8b
cmp bl, 1
jne 0x4f9d8b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x6a9956
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4f9cf0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4f9d04
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004f9aa8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4f9d36
sub ebx, 6
inc dword [ebp - 8]
jne 0x4f9ce5
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4f9d5d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4f9d6e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4f9d82
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004f9618
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4fb600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fb860
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4fb663
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004fb0c8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ed64
cmp al, 1
jne 0x4fb663
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004fb3e0
test al, al
je 0x4fb7ef
cmp dword [ebp - 8], 0
jge 0x4fb681
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004fb0c8
mov eax, dword [ebp - 0x210]
call fcn.00404dac
cmp ebx, eax
jge 0x4fb6cb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004fb0c8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x6a493c]
and eax, 0xff
bt dword [edx], eax
jae 0x4fb6cb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4fb6df
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004fb5dc
cmp ebx, dword [ebp - 8]
je 0x4fb7e1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4fb70b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403df4
and eax, 0x7f
movzx eax, word [eax*2 + 0x6a20cc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4fb7ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403df4
and eax, 0x7f
movzx eax, word [eax*2 + 0x6a20cc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0048cc2c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403df4
and eax, 0x7f
movzx eax, word [eax*2 + 0x6a20cc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0048cc2c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb7d5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4fb842
cmp dword [ebp - 8], 0
jge 0x4fb7fa
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004fb0c8
mov eax, dword [ebp - 0x218]
call fcn.00404dac
cmp eax, dword [ebp - 8]
jg 0x4fb834
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004fb0c8
mov eax, dword [ebp - 0x21c]
call fcn.00404dac
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004fb5dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb867
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404b10
ret
Function at 0x51ea4c
Capabilities:
Copy file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x51ea55
mov eax, dword [ebp - 4]
add esp, 0xfffffc48
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x43bc], ebx
mov dword [ebp - 0x43b8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
mov eax, dword [ebp - 8]
call fcn.00404f9c
mov eax, dword [ebp - 0xc]
call fcn.00404f9c
lea esi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x51ec9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a46c
test al, al
jne 0x51eac4
xor ebx, ebx
jmp 0x51ec67
push 0xff
lea eax, [ebp - 0x3b4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x43b8]
lea edx, [ebp - 0x3b4]
mov ecx, pe_nt_image_headers32
call fcn.00404d5c
mov edx, dword [ebp - 0x43b8]
lea eax, [ebp - 0x18]
mov ecx, 0x51ecb8
call fcn.00404df8
lea eax, [ebp - 0x43bc]
lea edx, [ebp - 0x3b4]
mov ecx, pe_nt_image_headers32
call fcn.00404d5c
mov edx, dword [ebp - 0x43bc]
lea eax, [ebp - 0x1c]
mov ecx, 0x51eccc
call fcn.00404df8
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404fac
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
call sub.kernel32.dll_CopyFileA
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
push ebp
push 0x51ec5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x168]
call fcn.00402fd8
mov edx, 1
lea eax, [ebp - 0x168]
call fcn.00403510
call fcn.004029b8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2b4]
call fcn.00402fd8
mov edx, 1
lea eax, [ebp - 0x2b4]
call fcn.0040352c
call fcn.004029b8
jmp 0x51ebf2
push esi
lea edx, [ebp - 0x23b4]
mov ecx, 0x2000
lea eax, [ebp - 0x168]
call fcn.00403130
call fcn.004029b8
lea eax, [ebp - 0x43b4]
push eax
lea ecx, [ebp - 0x23b4]
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0051e9c0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x43b4]
mov ecx, dword [esi]
lea eax, [ebp - 0x2b4]
call fcn.00403150
call fcn.004029b8
lea eax, [ebp - 0x168]
call fcn.00403314
call fcn.004029b8
test al, al
je 0x51eba3
lea eax, [ebp - 0x2b4]
call fcn.00403170
call fcn.004029b8
lea eax, [ebp - 0x168]
call fcn.00403170
call fcn.004029b8
push 0x80
mov eax, dword [ebp - 0x1c]
call fcn.00404fac
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
push 0
mov eax, dword [ebp - 8]
call fcn.00404fac
push eax
push ebx
call sub.kernel32.dll_CopyFileA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51ec67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51eca6
lea eax, [ebp - 0x43bc]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b10
ret
Function at 0x51f2e8
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
mov eax, dword [ebp - 8]
call fcn.00404f9c
xor eax, eax
push ebp
push 0x51f479
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x51f43a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x51f494
call fcn.004050f0
test eax, eax
jle 0x51f3e6
lea eax, [ebp - 0x114]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x114]
mov ecx, pe_nt_image_headers32
call fcn.00404d5c
mov eax, dword [ebp - 0x10]
call fcn.00404dac
mov edx, eax
lea eax, [ebp - 0x10]
mov ecx, 1
call fcn.0040504c
lea eax, [ebp - 0x14]
mov ecx, 0x51f4a0
mov edx, dword [ebp - 0x10]
call fcn.00404df8
mov eax, dword [ebp - 0x14]
call fcn.0040a46c
test al, al
je 0x51f3c2
mov eax, dword [ebp - 0x14]
call fcn.00404fac
push eax
call sub.kernel32.dll_DeleteFileA
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404fac
push eax
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00404b84
mov dl, 1
mov eax, dword [0x41d900]
call fcn.00403bc8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00422b5c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0051f1b8
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0xc]
call fcn.0051ed7c
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.004123ec
mov eax, dword [ebp - 0xc]
call fcn.00403bf8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51f446
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f480
lea eax, [ebp - 0x124]
call fcn.00411fd4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b10
ret
Function at 0x51f4b0
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov esi, edx
lea edi, [ebp - 0x28]
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 dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
lea eax, [ebp - 0x28]
call fcn.00418634
mov eax, dword [ebp - 8]
call fcn.00404f9c
xor eax, eax
push ebp
push 0x51f640
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x51f604
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x51f658
call fcn.004050f0
test eax, eax
jle 0x51f596
lea eax, [ebp - 0x128]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x128]
mov ecx, pe_nt_image_headers32
call fcn.00404d5c
mov eax, dword [ebp - 0x10]
call fcn.00404dac
mov edx, eax
lea eax, [ebp - 0x10]
mov ecx, 1
call fcn.0040504c
lea eax, [ebp - 0x14]
mov ecx, 0x51f664
mov edx, dword [ebp - 0x10]
call fcn.00404df8
mov eax, dword [ebp - 0x14]
call fcn.0040a46c
test al, al
je 0x51f580
mov eax, dword [ebp - 0x14]
call fcn.00404fac
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404b84
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00404b84
mov dl, 1
mov eax, dword [0x41d900]
call fcn.00403bc8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0051ed14
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0051f06c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00422a88
mov eax, dword [ebp - 0xc]
call fcn.00403bf8
mov edx, dword [ebp - 0x18]
mov eax, 0x51f658
call fcn.004050f0
test eax, eax
jle 0x51f5f8
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404fac
push eax
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
call sub.kernel32.dll_CopyFileA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51f610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f647
lea eax, [ebp - 0x28]
call fcn.00411fd4
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b10
ret
Function at 0x5202a4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov word [ebp - 2], cx
mov ecx, dword [ebp + 8]
mov dx, word [ebp + 0xc]
mov word [ebp - 4], dx
mov si, word [ebp + 0xc]
mov dx, word [ebp - 2]
dec edx
test dx, dx
jb 0x520312
inc edx
mov word [ebp - 6], dx
xor edx, edx
movzx ebx, cx
movzx edi, dx
sub ebx, edi
movzx ebx, byte [eax + ebx]
sub bx, si
xor bx, word [ebp + 0xc]
add bx, word [ebp - 4]
mov esi, ebx
movzx ebx, cx
movzx edi, dx
sub ebx, edi
movzx ebx, byte [eax + ebx]
mov word [ebp - 4], bx
movzx ebx, cx
movzx edi, dx
sub ebx, edi
lea ebx, [eax + ebx]
push ebx
mov ebx, esi
pop edi
mov byte [edi], bl
inc edx
dec word [ebp - 6]
jne 0x5202d1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x520b08
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
mov esi, 0x6a99e8
mov edi, 0x6a99f0
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [0x6a99ec], eax
or ebx, 0xffffffff
mov dword [edi], 0x94
push edi
call sub.kernel32.dll_GetVersionExA
test eax, eax
jne 0x520b3a
xor ebx, ebx
jmp 0x520c4a
cmp dword [edi + 0x10], 1
jne 0x520b4c
cmp dword [edi + 4], 4
jne 0x520b4c
cmp dword [edi + 8], 0
ja 0x520b62
cmp dword [edi + 4], 4
ja 0x520b62
cmp dword [edi + 0x10], 2
jne 0x520b5e
cmp dword [edi + 4], 4
je 0x520b62
xor eax, eax
jmp 0x520b64
mov al, 1
neg al
sbb eax, eax
test eax, eax
jne 0x520b73
xor ebx, ebx
jmp 0x520c4a
cmp dword [esi], 0
jne 0x520b84
push 0x520c50
call sub.kernel32.dll_LoadLibraryA
mov dword [esi], eax
cmp dword [esi], 0
jne 0x520b90
xor ebx, ebx
jmp 0x520c4a
push 0x520c60
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [0x6a99d8], edi
test edi, edi
jne 0x520bb8
xor ebx, ebx
mov eax, dword [esi]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x520c4a
push 0x520c78
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [0x6a99dc], edi
test edi, edi
jne 0x520bdd
xor ebx, ebx
mov eax, dword [esi]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x520c4a
push 0x520c94
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [0x6a99e0], edi
test edi, edi
jne 0x520c02
xor ebx, ebx
mov eax, dword [esi]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x520c4a
push 0x520cb4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [0x6a99e4], edi
test edi, edi
jne 0x520c27
xor ebx, ebx
mov eax, dword [esi]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x520c4a
push 0x520cb4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [0x6a9a90], edi
test edi, edi
jne 0x520c4a
xor ebx, ebx
mov eax, dword [esi]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5211cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x52121f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, esi
mov ecx, dword [0x5211ac]
call fcn.004063ec
xor eax, eax
mov edx, dword [ebp - 4]
xor byte [edx + eax], bl
inc eax
cmp eax, 0xa
jne 0x5211f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521226
lea eax, [ebp - 4]
mov edx, dword [0x5211ac]
call fcn.004063b0
ret

Function at 0x5258d4
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5259f5
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x6a4698]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x6a4698]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x525a0c
call fcn.0040b204
mov eax, dword [ebp - 4]
call fcn.0053c420
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x6a411c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x6a461c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x525a28
call fcn.0040b204
mov eax, dword [ebp - 0x10]
call fcn.0053c420
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x5254f0
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x525a48
call fcn.0040b204
mov eax, dword [ebp - 0x24]
call fcn.0053c420
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x525a60
call fcn.0040b204
mov eax, dword [ebp - 0x28]
call fcn.0053c420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5259fc
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0x10]
call fcn.00404aec
lea eax, [ebp - 4]
call fcn.00404aec
ret

Function at 0x52f230
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x264], 0
pop ebx
ret
Function at 0x536198
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 0x536252
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051f8
mov eax, dword [0x6a3f3c]
cmp byte [eax], 0
je 0x536207
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004055fc
mov eax, dword [ebx]
call fcn.004053c4
push eax
mov eax, dword [ebx]
call fcn.004053b4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004053c4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004055fc
jmp 0x536239
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.0040ad14
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004053a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536259
lea eax, [ebp - 0x3f0]
call fcn.00404aec
ret

Function at 0x536260
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040ad14
add esp, 0x3ec
pop ebx
ret
Function at 0x5376e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.004988d8
mov edi, eax
dec edi
test edi, edi
jl 0x537797
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.004988e8
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x53772e
je 0x53774f
dec eax
je 0x537770
jmp 0x53778f
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.004988e8
cmp byte [ebx + 0x168], 0
setne dl
call fcn.00498804
jmp 0x53778f
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.004988e8
cmp byte [ebx + 0x168], 1
setne dl
call fcn.00498804
jmp 0x53778f
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.004988e8
cmp byte [ebx + 0x168], 2
setne dl
call fcn.00498804
inc esi
dec edi
jne 0x53770f
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x5377bc
cmp eax, dword [esp]
pop edx
pop eax
jae 0x53782b
jmp 0x5377c0
pop edx
pop eax
jge 0x53782b
mov eax, dword [0x6a47d0]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x537807
cmp byte [ebx + 0x165], 2
je 0x537807
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x537850
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x537850
cmp dword [ebx + 0x120], 0
je 0x537850
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00442680
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret