joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469948
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x4f2cdc]
cmp esi, dword [eax + 0x30]
jne 0x46996f
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x46999e
mov eax, dword [0x4f2cdc]
cmp esi, dword [eax + 0x30]
jne 0x46999a
mov eax, dword [0x4f2cdc]
cmp byte [eax + 0x5b], 0
jne 0x46999e
xor eax, eax
jmp 0x4699a0
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x4699b5
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x4699cc
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4699db
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x4699ea
test bl, bl
je 0x469a00
test bl, bl
je 0x4699f8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x469a00
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x469ca4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x469cca
mov eax, esp
push eax
push 0x469c6c
call sub.user32.dll_EnumWindows
jmp 0x469cdd
mov eax, esp
push eax
push 0x469c4c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x469d68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x469dbc]
test si, 4
je 0x469d7d
or bl, 1
test si, 8
je 0x469d87
or bl, 4
test si, 1
je 0x469d91
or bl, 8
test si, 2
je 0x469d9b
or bl, 0x10
test si, 0x10
je 0x469da5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x469db4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x469dc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x469dfc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x469dda
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x469de9
or bl, 4
test esi, 0x20000000
je 0x469df4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x471ce4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x471cf6
add esp, 0xfffffff0
call fcn.00404660
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425548
mov eax, dword [0x4ed00c]
mov dword [eax + 4], ebx
mov dword [eax], 0x472088
mov eax, dword [0x4ed01c]
mov dword [eax + 4], ebx
mov dword [eax], 0x472094
mov eax, ebx
call fcn.004720a0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
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, 0x46d734
push eax
push 0
push 0
mov eax, dword [0x4ed2b4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42a750]
call fcn.0042c044
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42a750]
call fcn.0042c044
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42a750]
call fcn.0042c044
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004724d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4723a0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4723a0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4723a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471e33
call fcn.004046b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x472184
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 0x47232f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x472310
mov dl, 1
mov eax, dword [0x419b68]
call fcn.004042cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040521c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4722ff
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.00464560
test al, al
je 0x4722f2
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, 0x472340
lea eax, [ebp - 0x254]
call fcn.0040b9f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4722f2
xor eax, eax
push ebp
push 0x4722eb
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 0x472378
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4722d4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040548c
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 0x4722d4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040548c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4722f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4721f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e810
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 0x472336
lea eax, [ebp - 0x260]
call fcn.0040521c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f2cdc]
cmp byte [eax + 0xad], 0
jne 0x472d19
cmp dword [0x4f2cf8], 0
jne 0x472cda
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x472c64
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f2cf8], eax
cmp dword [0x4f2cf4], 0
jne 0x472cf5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f2cf4], eax
cmp dword [0x4f2cfc], 0
jne 0x472d19
push esp
push 0
push 0
push 0x472c08
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f2cfc], eax
pop edx
ret
Function at 0x472eec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x472f03
add esp, 0xfffffff0
call fcn.00404660
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425548
mov eax, dword [0x4ed28c]
cmp word [eax + 2], 0
jne 0x472f2b
mov eax, dword [0x4ed28c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474b5c
mov eax, dword [0x4ed3e0]
cmp word [eax + 2], 0
jne 0x472f45
mov eax, dword [0x4ed3e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474d68
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4194fc]
call fcn.004042cc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42b300]
call fcn.00433688
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4730fc
mov eax, dword [0x4ed0d0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00433a5c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47542c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ed0d0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f994
test eax, eax
je 0x47304c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040afdc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f9c8
test eax, eax
je 0x473060
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040548c
mov byte [ebx + 0xd4], 0
push ebx
push 0x47466c
call fcn.004266c4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4ece88]
cmp byte [eax], 0
jne 0x4730b1
mov eax, ebx
call fcn.00473240
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00475604
mov eax, ebx
call fcn.00476168
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4730f1
call fcn.004046b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4734c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x47355f
cmp dword [ebx + 0x94], 0
jne 0x473559
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x473448
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x473559
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 0x47351f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x473559
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.0041be98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47352e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f2cdc]
cmp dword [eax + 0x30], 0
je 0x4738d5
test bl, bl
jne 0x473826
cmp dword [esi + 0x9c], 0
jne 0x47381b
mov eax, esi
call fcn.00475fe4
push eax
push 0x4736a4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4737ec
mov eax, dword [0x4f2cdc]
call fcn.004766c4
test al, al
je 0x4737ec
mov eax, dword [0x4f2d00]
call fcn.0040657c
mov edi, eax
cmp edi, 0
jl 0x4737ec
push 0
mov eax, dword [0x4f2d00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4737d6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47381b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041be98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4737fb
inc dword [esi + 0x9c]
jmp 0x4738d5
cmp dword [esi + 0x9c], 0
jle 0x4738d5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4738d5
cmp dword [esi + 0x44], 0
je 0x473881
mov eax, dword [0x4f2cdc]
call fcn.004766c4
test al, al
je 0x473881
mov eax, dword [0x4f2d00]
call fcn.0040657c
mov edi, eax
cmp edi, 0
jl 0x473881
push 5
mov eax, dword [0x4f2d00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47386b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4738b0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041be98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x473890
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4f2d00
mov ecx, 1
mov edx, dword [0x473684]
call fcn.00406730
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x474368
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4743d2
mov eax, ebx
call fcn.004766c4
test al, al
jne 0x4743d2
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.0040530c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4743bf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4743df
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405270
jmp 0x4743df
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405270
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4757e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x475856
mov eax, esi
call fcn.0045f1e0
test al, al
je 0x475856
mov eax, dword [ebx + 0x84]
call fcn.0045ee30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x475856
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47584a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045ee30
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00456ca0
jmp 0x475856
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00475624
pop esi
pop ebx
ret
Function at 0x477568
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 0x477592
cmp dword [ebx + 0x64], 0
jne 0x477592
cmp dword [ebx + 0x6c], 0
jne 0x477592
mov edi, esi
jmp 0x477619
cmp edi, 0xffffffff
jne 0x47759a
dec edi
jmp 0x477619
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x477619
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00476964
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 0x4775e7
mov cx, word [esp]
sub cx, si
jmp 0x4775e9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4775d0
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 0x47760f
mov cx, word [esp]
sub cx, si
jmp 0x477611
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4775f8
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x477676
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00477304
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x477661
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 0x477676
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x477572
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47d860
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f2d18
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47d882
shr eax, 1
xor eax, 0xedb88320
jmp 0x47d884
shr eax, 1
dec edx
jne 0x47d870
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x47d869
mov byte [0x4f3118], 1
pop esi
pop ebx
ret

Function at 0x47d8a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f3118], 0
jne 0x47d8b7
call fcn.0047d860
mov eax, edi
dec eax
test eax, eax
jl 0x47d8df
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f2d18]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47d8c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47fd34
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.0x47fdce.0
jmp dword [ecx*4 + 0x47fd67]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x47fd99
sub dl, 8
je 0x47fda8
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47faa0
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47faf8
jmp case.0x47fdce.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x47fdce.0
movzx ecx, byte [ecx + 0x47fdd5]
jmp dword [ecx*4 + 0x47fde6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fb50
jmp case.0x47fdce.0
cmp dl, 3
jne 0x47fe13
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fba4
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fb60
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fbe8
jmp case.0x47fdce.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x47fe3e
sub dl, 8
je 0x47fe4a
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fc04
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fc70
jmp case.0x47fdce.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x47fe69
sub dl, 8
je 0x47fe75
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fce0
jmp case.0x47fdce.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47fd08
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 0x47ff05
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.0047f094
test eax, eax
je 0x47ff05
mov eax, ebx
call fcn.0047ff10
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 0x47fea5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47ff10
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 0x47ff41
dec al
je 0x47ff7c
dec al
je 0x47ffc1
dec al
je 0x48002a
jmp 0x4800b4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4800b4
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 0x47ff51
jmp 0x4800b4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4800b4
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 0x47ff8c
jmp 0x4800b4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4800b4
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 0x47fff0
xor ebp, ebp
jmp 0x480000
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 0x480009
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 0x47ffd1
jmp 0x4800b4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4800b4
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 0x480083
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.0047d8e8
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 0x48003e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret