joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e9b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x47e9e7
movzx eax, byte [ebx]
mov edx, dword [0x566118]
cmp al, byte [edx]
jne 0x47e9e7
cmp dword [ebp + 8], 0x38
je 0x47e9f1
mov eax, 0xfffffffa
jmp 0x47ebb7
lea eax, [esi + 0x18]
call fcn.0040519c
cmp dword [esi + 0x20], 0
jne 0x47ea0b
mov dword [esi + 0x20], 0x47e8c4
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x47ea18
mov dword [esi + 0x24], 0x47e8bc
cmp dword [ebp - 4], 0xffffffff
jne 0x47ea25
mov dword [ebp - 4], 6
test edi, edi
jge 0x47ea32
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x47ea66
cmp dword [ebp + 0x14], 9
jg 0x47ea66
cmp dword [ebp - 8], 8
jne 0x47ea66
cmp edi, 8
jl 0x47ea66
cmp edi, 0xf
jg 0x47ea66
cmp dword [ebp - 4], 0
jl 0x47ea66
cmp dword [ebp - 4], 9
jg 0x47ea66
cmp dword [ebp + 0x10], 0
jl 0x47ea66
cmp dword [ebp + 0x10], 2
jle 0x47ea70
mov eax, 0xfffffffe
jmp 0x47ebb7
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.0047e8d0
mov ebx, eax
test ebx, ebx
jne 0x47ea91
mov eax, 0xfffffffc
jmp 0x47ebb7
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0047e8d0
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.0047e8d0
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.0047e8d0
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.0047e8d0
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x47eb5c
cmp dword [ebx + 0x38], 0
je 0x47eb5c
cmp dword [ebx + 0x3c], 0
je 0x47eb5c
cmp dword [ebx + 8], 0
jne 0x47eb77
lea eax, [esi + 0x18]
mov edx, 0x5661a0
call fcn.00405400
mov eax, esi
call fcn.0047ef64
mov eax, 0xfffffffc
jmp 0x47ebb7
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.0047ebe8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x47f268
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x47f291
cmp dword [ebx + 0x64], 0
jne 0x47f291
cmp dword [ebx + 0x6c], 0
jne 0x47f291
mov esi, edi
jmp 0x47f31d
cmp esi, 0xffffffff
jne 0x47f29c
dec esi
jmp 0x47f31d
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x47f31d
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.0047e8ac
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x47f2e5
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x47f2ea
mov word [edx], 0
dec eax
test eax, eax
jne 0x47f2cb
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x47f311
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x47f316
mov word [edx], 0
dec eax
test eax, eax
jne 0x47f2f7
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x47f37b
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0047efe0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x47f366
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x47f37b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47f271
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x483d5c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x570e58
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x483d7e
shr eax, 1
xor eax, 0xedb88320
jmp 0x483d80
shr eax, 1
dec edx
jne 0x483d6c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x483d65
mov byte [0x571258], 1
pop esi
pop ebx
ret

Function at 0x483d9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x571258], 0
jne 0x483db3
call fcn.00483d5c
mov eax, edi
dec eax
test eax, eax
jl 0x483ddb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x570e58]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x483dbd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x486258
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4862f2.0
jmp dword [ecx*4 + 0x48628b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4862bd
sub dl, 8
je 0x4862cc
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485f04
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485f5c
jmp case.0x4862f2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4862f2.0
movzx ecx, byte [ecx + 0x4862f9]
jmp dword [ecx*4 + 0x48630a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486008
jmp case.0x4862f2.0
cmp dl, 3
jne 0x486337
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48605c
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486018
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4860a0
jmp case.0x4862f2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x486362
sub dl, 8
je 0x48636e
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4860cc
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486138
jmp case.0x4862f2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48638d
sub dl, 8
je 0x486399
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4861f4
jmp case.0x4862f2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48621c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x48643d
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00485498
test eax, eax
je 0x48643d
mov eax, ebx
call fcn.00486448
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4863d6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x486448
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x486479
dec al
je 0x4864b4
dec al
je 0x4864f9
dec al
je 0x486562
jmp 0x4865ec
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4865ec
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x486489
jmp 0x4865ec
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4865ec
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4864c4
jmp 0x4865ec
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4865ec
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x486528
xor ebp, ebp
jmp 0x486538
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x486541
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x486509
jmp 0x4865ec
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4865ec
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4865bb
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00483de4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x486576
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x490b14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x490b29
add esp, 0xfffffff0
call fcn.004045c0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040561c
xor eax, eax
push ebp
push 0x490c04
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0048b664
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004185d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004185d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004185d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004185d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00418600
push esi
lea edi, [esi + 0x44]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x56], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490c0b
lea eax, [ebp - 4]
call fcn.0040519c
ret
Function at 0x4a5764
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x4a57a0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a577b
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a578a
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a5799
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4a6104
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x43fde4]
call fcn.00404428
test al, al
je 0x4a6146
mov eax, dword [0x56ac00]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a6146
mov edx, dword [0x56ac00]
xor edx, edx
call fcn.0045a6f0
push 0
mov eax, dword [0x56ac00]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4d56ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
cmp dword [ebx + 0x48], 0
je 0x4d57c4
mov eax, dword [ebx + 0x3c]
call fcn.0045a280
mov dword [esp], eax
mov eax, dword [ebx + 0x3c]
call fcn.0045a2a0
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + 0x48]
mov ebp, dword [eax + 0x4c]
mov esi, dword [ebx + 0x48]
mov eax, dword [esi + 0xe8]
add dword [esp], eax
mov eax, dword [esi + 0xec]
add dword [esp + 4], eax
add edi, dword [esi + 0xf0]
add ebp, dword [esi + 0xf4]
mov eax, dword [esi + 0x34]
sub dword [esp], eax
mov eax, dword [esi + 0x38]
sub dword [esp + 4], eax
lea eax, [esi + 0x34]
call fcn.00507a34
mov edx, dword [ebx + 0x4c]
add edi, dword [edx + 8]
sub edi, eax
mov eax, dword [ebx + 0x48]
add eax, 0x34
call fcn.00507a50
mov edx, dword [ebx + 0x4c]
add ebp, dword [edx + 0xc]
sub ebp, eax
mov esi, dword [ebx + 0xdc]
xor eax, eax
mov dword [ebx + 0xdc], eax
push edi
push ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004d4540
mov edi, esi
xor ebp, ebp
xor esi, esi
mov eax, edi
mov ecx, 0xf
cdq
idiv ecx
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x4d5773
mov dword [esp + 8], 1
mov eax, dword [0x56ac00]
mov eax, dword [eax]
call fcn.00462b10
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebp
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4d57a0
cmp eax, 5
jbe 0x4d57c0
jmp 0x4d57a2
jle 0x4d57c0
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add esi, dword [esp + 8]
cmp edi, esi
jge 0x4d57b3
mov esi, edi
mov dword [ebx + 0xdc], esi
mov eax, ebx
call fcn.004d54d4
cmp edi, esi
jg 0x4d577f
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5020cc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
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 - 4], eax
mov eax, dword [ebp - 4]
call fcn.00502e14
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00501fec
pop ecx
call fcn.00507840
test al, al
je 0x50217a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
cmp byte [eax + 0x60], 0
je 0x50217a
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0044c2d0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0044c2d0
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
cmp byte [eax + 0x61], 0
je 0x502160
mov eax, dword [ebp - 4]
call fcn.0044c2d0
xor edx, edx
call fcn.0050787c
jmp 0x50217a
mov eax, dword [ebp - 4]
call fcn.0044c2d0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x268]
movzx edx, byte [edx + 0x62]
call fcn.0050787c
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0044c2d0
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0044416c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x268]
cmp byte [ebx + 0x61], 0
je 0x502241
cmp byte [ebx + 0x60], 0
je 0x502241
call fcn.00507840
test al, al
je 0x502241
mov eax, dword [0x56ac00]
mov eax, dword [eax]
call fcn.00462b10
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
movzx eax, byte [eax + 0x62]
mov ecx, 0xf
xor edx, edx
div ecx
mov edi, eax
test edi, edi
jne 0x5021f9
mov edi, 1
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 5
jbe 0x502230
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
add ebx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x502221
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0044c2d0
mov edx, ebx
call fcn.0050787c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x5021f9
mov eax, dword [ebp - 4]
call fcn.0050335c
mov eax, dword [ebp - 4]
call fcn.0044c2d0
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50eec4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x50eeee
cmp dword [ebx + 0x64], 0
jne 0x50eeee
cmp dword [ebx + 0x6c], 0
jne 0x50eeee
mov edi, esi
jmp 0x50ef75
cmp edi, 0xffffffff
jne 0x50eef6
dec edi
jmp 0x50ef75
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x50ef75
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0050e2c0
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x50ef43
mov cx, word [esp]
sub cx, si
jmp 0x50ef45
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x50ef2c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x50ef6b
mov cx, word [esp]
sub cx, si
jmp 0x50ef6d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x50ef54
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x50efd2
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0050ec60
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x50efbd
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x50efd2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x50eece
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5151bc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5712f8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x5151de
shr eax, 1
xor eax, 0xedb88320
jmp 0x5151e0
shr eax, 1
dec edx
jne 0x5151cc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5151c5
mov byte [0x5716f8], 1
pop esi
pop ebx
ret

Function at 0x5151fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5716f8], 0
jne 0x515213
call fcn.005151bc
mov eax, edi
dec eax
test eax, eax
jl 0x51523b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5712f8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x51521d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x517690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x51772a.0
jmp dword [ecx*4 + 0x5176c3]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x5176f5
sub dl, 8
je 0x517704
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5173fc
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x517454
jmp case.0x51772a.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x51772a.0
movzx ecx, byte [ecx + 0x517731]
jmp dword [ecx*4 + 0x517742]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5174ac
jmp case.0x51772a.0
cmp dl, 3
jne 0x51776f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x517500
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5174bc
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x517544
jmp case.0x51772a.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x51779a
sub dl, 8
je 0x5177a6
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x517560
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5175cc
jmp case.0x51772a.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x5177c5
sub dl, 8
je 0x5177d1
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x51763c
jmp case.0x51772a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x517664
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x517861
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005169f0
test eax, eax
je 0x517861
mov eax, ebx
call fcn.0051786c
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x517801
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8