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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call fcn.004097dc
call fcn.00408cec
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0045eef4
test ebx, ebx
jne 0x4649c7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00464808
mov ebx, eax
test ebx, ebx
je 0x464ab2
cmp esi, ebx
je 0x4649f0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x464a05
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x464a3d
add eax, 0xffffff5f
sub eax, 2
jb 0x464a55
dec eax
sub eax, 2
jb 0x464a69
dec eax
sub eax, 2
jb 0x464a5f
jmp 0x464a73
add eax, 0xfffffdff
sub eax, 2
jb 0x464a55
dec eax
sub eax, 2
jb 0x464a69
dec eax
sub eax, 2
jb 0x464a5f
jmp 0x464a73
mov byte [esp + 0x120], 0
jmp 0x464a7b
mov byte [esp + 0x120], 2
jmp 0x464a7b
mov byte [esp + 0x120], 1
jmp 0x464a7b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call fcn.00409794
lea eax, [esp + 0x14]
call fcn.00474fbc
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004606e4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x464ab4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x474ac4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call fcn.00409864
mov edi, eax
test bl, bl
je 0x474ae5
test edi, 0x40000
je 0x474aff
test bl, bl
jne 0x474b80
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x474b80
push esi
call fcn.004098f4
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call fcn.0040991c
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x474b32
push 0
push esi
call fcn.00409ae4
test bl, bl
je 0x474b47
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call fcn.00409a94
jmp 0x474b56
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call fcn.00409a94
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x474b67
cmp byte [esp + 2], 0
je 0x474b80
cmp byte [esp + 2], 0
je 0x474b78
push 6
push esi
call fcn.00409ae4
jmp 0x474b80
push 5
push esi
call fcn.00409ae4
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x474e28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call fcn.004096fc
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x474e4e
mov eax, esp
push eax
push 0x474df0
call fcn.004096d4
jmp 0x474e61
mov eax, esp
push eax
push 0x474dd0
call fcn.00408fd4
push eax
call fcn.004096cc
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret
Function at 0x474f24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x474f78]
test si, 4
je 0x474f39
or bl, 1
test si, 8
je 0x474f43
or bl, 4
test si, 1
je 0x474f4d
or bl, 8
test si, 2
je 0x474f57
or bl, 0x10
test si, 0x10
je 0x474f61
or bl, 0x20
push 0x12
call fcn.00409774
test ax, ax
jge 0x474f70
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x474f7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x474fb8]
push 0x10
call fcn.00409774
test ax, ax
jge 0x474f96
or bl, 1
push 0x11
call fcn.00409774
test ax, ax
jge 0x474fa5
or bl, 4
test esi, 0x20000000
je 0x474fb0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47d30c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47d31e
add esp, 0xfffffff0
call fcn.004047b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042c778
mov eax, dword [0x52646c]
mov dword [eax + 4], ebx
mov dword [eax], 0x47d720
mov eax, dword [0x526480]
mov dword [eax + 4], ebx
mov dword [eax], 0x47d72c
mov eax, ebx
call fcn.0047d738
push 0
call fcn.0040977c
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x74], eax
push 0
call fcn.0040973c
mov esi, eax
push 0x5a
push esi
call fcn.004093c0
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.004099dc
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x478740
push eax
push 0
push 0
mov eax, dword [0x5267a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x432a70]
call fcn.004348f8
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x432a70]
call fcn.004348f8
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x432a70]
call fcn.004348f8
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x432a70]
call fcn.004348f8
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.0047dc30
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47db08
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47db08
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47db08
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47db08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47d471
call fcn.0040480c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47d8a8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47da55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47da36
mov dl, 1
mov eax, dword [0x421a14]
call fcn.004277f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.004063e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.00409784
dec eax
test eax, eax
jl 0x47da25
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.0046d7b0
test al, al
je 0x47da18
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x47da64
lea eax, [ebp - 0x394]
call fcn.0040e8d4
push eax
push 0x80000002
call fcn.00408ec4
test eax, eax
jne 0x47da18
xor eax, eax
push ebp
push 0x47da11
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x47dad4
mov eax, dword [ebp - 0xc]
push eax
call fcn.00408ecc
test eax, eax
jne 0x47d9fa
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004065e0
mov edx, dword [ebp - 0x3a0]
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 0x47d9fa
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004065e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da18
mov eax, dword [ebp - 0xc]
push eax
call fcn.00408eb4
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47d91b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004275e4
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 0x47da5c
lea eax, [ebp - 0x3a0]
call fcn.004063d0
ret

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

Disassembly:
push ecx
mov eax, dword [0x52c188]
cmp byte [eax + 0xa9], 0
jne 0x47e4b6
cmp dword [0x52c1a0], 0
jne 0x47e476
call fcn.00408fd4
push eax
push 0
mov eax, dword [0x5242e0]
push eax
push 3
call fcn.00409abc
mov dword [0x52c1a0], eax
cmp dword [0x52c19c], 0
jne 0x47e491
push 0
push 0
push 0
push 0
call fcn.00408ef4
mov dword [0x52c19c], eax
cmp dword [0x52c1a4], 0
jne 0x47e4b6
push esp
push 0
push 0
mov eax, dword [0x5242dc]
push eax
push 0x3e8
push 0
call fcn.00408f0c
mov dword [0x52c1a4], eax
pop edx
ret
Function at 0x47e6cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x47e6e3
add esp, 0xfffffff0
call fcn.004047b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042c778
mov eax, dword [0x526290]
cmp byte [eax], 0
jne 0x47e710
push 0
call fcn.0040a13c
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x52676c]
cmp word [eax + 2], 0
jne 0x47e72a
mov eax, dword [0x52676c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004805d4
mov eax, dword [0x526914]
cmp word [eax + 2], 0
jne 0x47e744
mov eax, dword [0x526914]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004807e4
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x432a70]
call fcn.004348f8
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x480c78
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x4336d0]
call fcn.0043c388
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x47e920
mov eax, dword [0x526564]
mov eax, dword [eax]
push eax
call fcn.00409944
mov edx, eax
mov eax, esi
call fcn.0043c78c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x480f28
mov dl, 1
mov eax, dword [0x4210dc]
call fcn.00404334
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x526564]
mov eax, dword [eax]
push eax
call fcn.00409024
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040e300
test eax, eax
je 0x47e852
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040e000
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040e2e8
test eax, eax
je 0x47e86a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call fcn.00409598
push eax
call fcn.00409580
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004065e0
push ebx
push 0x47ffd0
call fcn.00474f08
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x526290]
cmp byte [eax], 0
jne 0x47e8bb
mov eax, ebx
call fcn.0047ea94
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00481150
mov eax, ebx
call fcn.00481d14
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47e918
call fcn.0040480c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ed3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x47edde
cmp dword [ebx + 0x90], 0
jne 0x47edd8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47ecb4
call fcn.004096d4
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x47edd8
push 3
mov eax, dword [esp + 4]
push eax
call fcn.00409854
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.00409864
test al, 8
je 0x47ed9e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47edd8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00423df8
push eax
call fcn.00409aac
dec esi
cmp esi, 0xffffffff
jne 0x47edad
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47effc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x52c188]
cmp dword [eax + 0x170], 0
je 0x47f161
test bl, bl
jne 0x47f0af
cmp dword [esi + 0x98], 0
jne 0x47f0a4
mov eax, esi
call fcn.00481b64
push eax
push 0x47ef08
call fcn.004096d4
cmp dword [esi + 0x40], 0
je 0x47f075
mov eax, dword [0x52c188]
cmp byte [eax + 0xcf], 0
je 0x47f075
mov eax, dword [esi + 0xd4]
call fcn.00407988
mov edi, eax
cmp edi, 0
jl 0x47f075
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call fcn.00409ae4
dec edi
cmp edi, 0xffffffff
jne 0x47f05e
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47f0a4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00423df8
push eax
call fcn.00409ad4
dec edi
cmp edi, 0xffffffff
jne 0x47f084
inc dword [esi + 0x98]
jmp 0x47f161
cmp dword [esi + 0x98], 0
jle 0x47f161
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x47f161
cmp dword [esi + 0x40], 0
je 0x47f10c
mov eax, dword [0x52c188]
cmp byte [eax + 0xcf], 0
je 0x47f10c
mov eax, dword [esi + 0xd4]
call fcn.00407988
mov edi, eax
cmp edi, 0
jl 0x47f10c
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call fcn.00409ae4
dec edi
cmp edi, 0xffffffff
jne 0x47f0f5
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47f13b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00423df8
push eax
call fcn.00409ad4
dec edi
cmp edi, 0xffffffff
jne 0x47f11b
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x474914]
call fcn.00407b48
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47fd1c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x47fd87
cmp byte [ebx + 0xcf], 0
jne 0x47fd87
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call fcn.0040988c
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040651c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x47fd74
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47fd94
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004063e0
jmp 0x47fd94
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004063e0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x481324
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x481392
mov eax, esi
call fcn.0046806c
test al, al
je 0x481392
mov eax, dword [ebx + 0x80]
call fcn.00467cc0
push eax
call fcn.0040991c
test eax, eax
je 0x481392
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x481386
push 0
mov eax, dword [ebx + 0x80]
call fcn.00467cc0
push eax
call fcn.00409ae4
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0045f2e4
jmp 0x481392
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00481170
pop esi
pop ebx
ret

Function at 0x4834b4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x52c1b8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4834d6
shr eax, 1
xor eax, 0xedb88320
jmp 0x4834d8
shr eax, 1
dec edx
jne 0x4834c4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4834bd
mov byte [0x52c5b8], 1
pop esi
pop ebx
ret

Function at 0x4834f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x52c5b8], 0
jne 0x48350b
call fcn.004834b4
mov eax, edi
dec eax
test eax, eax
jl 0x483533
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52c1b8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x483515
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4862e8
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.0x486382.0
jmp dword [ecx*4 + 0x48631b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48634d
sub dl, 8
je 0x48635c
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x485fb4
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486008
jmp case.0x486382.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x486382.0
movzx ecx, byte [ecx + 0x486389]
jmp dword [ecx*4 + 0x48639a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4860a8
jmp case.0x486382.0
cmp dl, 3
jne 0x4863c7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486100
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4860bc
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486144
jmp case.0x486382.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4863f2
sub dl, 8
je 0x4863fe
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486170
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4861d4
jmp case.0x486382.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48641d
sub dl, 8
je 0x486429
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486284
jmp case.0x486382.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4862ac
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
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x4864cb
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.004854f0
test eax, eax
je 0x4864cb
mov eax, ebx
call fcn.004864d4
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 0x486464
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4864d4
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 0x486505
dec al
je 0x486540
dec al
je 0x486585
dec al
je 0x4865ee
jmp 0x486678
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x486678
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 0x486515
jmp 0x486678
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486678
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 0x486550
jmp 0x486678
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486678
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 0x4865b4
xor ebp, ebp
jmp 0x4865c4
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 0x4865cd
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 0x486595
jmp 0x486678
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486678
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 0x486647
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.0048353c
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 0x486602
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret