joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44952c
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 + 0x240], 0
je 0x449548
cmp dword [esi + 4], 0
je 0x449575
test byte [ebx + 0x55], 1
jne 0x449567
mov eax, ebx
call fcn.00447914
test eax, eax
jne 0x449567
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x449685
mov edx, esi
mov eax, ebx
call fcn.00448f34
jmp 0x449685
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 0x44967e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044b62c
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.00444c2c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044952c
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.0044b62c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449685
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 0x450990
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x51ae34]
cmp byte [eax + 0xc], 0
je 0x450afd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450af6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51e57c], 0
jne 0x4509e4
push 0x450b04
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x450b0c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e57c], eax
cmp dword [0x48e718], 0
jne 0x450adf
push 0x450b1c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48e718], eax
cmp dword [0x48e718], 0
je 0x450adf
push 0x450b28
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e580], eax
push 0x450b38
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e584], eax
push 0x450b4c
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e588], eax
push 0x450b64
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e58c], eax
push 0x450b7c
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e590], eax
push 0x450b90
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e594], eax
push 0x450ba8
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e598], eax
push 0x450bc0
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e59c], eax
push 0x450bdc
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e5a0], eax
push 0x450be8
mov eax, dword [0x48e718]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51e5a4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450afd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x456624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x456678]
test si, 4
je 0x456639
or bl, 1
test si, 8
je 0x456643
or bl, 4
test si, 1
je 0x45664d
or bl, 8
test si, 2
je 0x456657
or bl, 0x10
test si, 0x10
je 0x456661
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456670
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45667c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4566b8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456696
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4566a5
or bl, 4
test esi, 0x20000000
je 0x4566b0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45dd6c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45dd7e
add esp, 0xfffffff0
call fcn.00404300
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ef1c
mov eax, dword [0x51aa54]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e110
mov eax, dword [0x51aa60]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e11c
mov eax, ebx
call fcn.0045e128
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
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, 0x459bc0
push eax
push 0
push 0
mov eax, dword [0x51abec]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423cd0]
call fcn.00425524
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423cd0]
call fcn.00425524
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423cd0]
call fcn.00425524
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e558
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e428
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e428
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e428
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45debb
call fcn.00404358
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e20c
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 0x45e3b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e398
mov dl, 1
mov eax, dword [0x416720]
call fcn.00403fac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e08
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e387
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.00450cec
test al, al
je 0x45e37a
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, 0x45e3c8
lea eax, [ebp - 0x254]
call fcn.00409f84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e37a
xor eax, eax
push ebp
push 0x45e373
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 0x45e400
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e35c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405078
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 0x45e35c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e37a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e27d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041ac50
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 0x45e3be
lea eax, [ebp - 0x260]
call fcn.00404e08
ret

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

Disassembly:
push ecx
mov eax, dword [0x51e5b4]
cmp byte [eax + 0xad], 0
jne 0x45eda1
cmp dword [0x51e5cc], 0
jne 0x45ed62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ecec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51e5cc], eax
cmp dword [0x51e5c8], 0
jne 0x45ed7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51e5c8], eax
cmp dword [0x51e5d0], 0
jne 0x45eda1
push esp
push 0
push 0
push 0x45ec90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x51e5d0], eax
pop edx
ret
Function at 0x45ef74
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ef8b
add esp, 0xfffffff0
call fcn.00404300
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ef1c
mov eax, dword [0x51abd4]
cmp word [eax + 2], 0
jne 0x45efb3
mov eax, dword [0x51abd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460a24
mov eax, dword [0x51ac98]
cmp word [eax + 2], 0
jne 0x45efcd
mov eax, dword [0x51ac98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460c30
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416170]
call fcn.00403fac
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 [0x4247e0]
call fcn.0042c600
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45f184
mov eax, dword [0x51aac8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c9d4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461300
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x51aac8]
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.0040d9ec
test eax, eax
je 0x45f0d4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409928
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da20
test eax, eax
je 0x45f0e8
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.00405078
mov byte [ebx + 0xd4], 0
push ebx
push 0x460584
call fcn.00420098
mov dword [ebx + 0xc8], eax
mov eax, dword [0x51a978]
cmp byte [eax], 0
jne 0x45f139
mov eax, ebx
call fcn.0045f2c8
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.004614dc
mov eax, ebx
call fcn.0046203c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f179
call fcn.00404358
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f548
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51e5b4]
cmp dword [eax + 0x30], 0
je 0x45f5f2
cmp dword [ebx + 0x94], 0
jne 0x45f5ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f4d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f5ec
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 0x45f5b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f5ec
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.00418730
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f5c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46030c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x460341
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.00404ef8
jmp 0x46034e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e5c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4616c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46172e
mov eax, esi
call fcn.0044b9cc
test al, al
je 0x46172e
mov eax, dword [ebx + 0x84]
call fcn.0044b62c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46172e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x461722
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b62c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004438a0
jmp 0x46172e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004614fc
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004052cc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret
Function at 0x46b438
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46b466
mov eax, ebx
call fcn.0046beec
cmp dword [ebx + 0x40], 0
je 0x46b45f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46b4d7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46b4c9
cmp dword [ebx + 8], 0
je 0x46b488
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46b49a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46b4c9
cmp dword [ebx + 8], 0
je 0x46b47b
cmp eax, 3
je 0x46b4ad
dec eax
jne 0x46b47b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46b47b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46b47b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46b4f5
cmp dword [ebx + 0x14], 0xcc
je 0x46b4f5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046b500
pop ebx
ret

Function at 0x47c0cc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x51e650
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47c0ee
shr eax, 1
xor eax, 0xedb88320
jmp 0x47c0f0
shr eax, 1
dec edx
jne 0x47c0dc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x47c0d5
mov byte [0x51ea50], 1
pop esi
pop ebx
ret

Function at 0x47c10c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x51ea50], 0
jne 0x47c123
call fcn.0047c0cc
mov eax, edi
dec eax
test eax, eax
jl 0x47c14b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51e650]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47c12d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47e500
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.0x47e59a.0
jmp dword [ecx*4 + 0x47e533]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x47e565
sub dl, 8
je 0x47e574
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e1ac
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e204
jmp case.0x47e59a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x47e59a.0
movzx ecx, byte [ecx + 0x47e5a1]
jmp dword [ecx*4 + 0x47e5b2]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e2b0
jmp case.0x47e59a.0
cmp dl, 3
jne 0x47e5df
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e304
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e2c0
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e348
jmp case.0x47e59a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x47e60a
sub dl, 8
je 0x47e616
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e374
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e3e0
jmp case.0x47e59a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x47e635
sub dl, 8
je 0x47e641
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e49c
jmp case.0x47e59a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x47e4c4
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 0x47e6e5
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.0047d758
test eax, eax
je 0x47e6e5
mov eax, ebx
call fcn.0047e6f0
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 0x47e67e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47e6f0
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 0x47e721
dec al
je 0x47e75c
dec al
je 0x47e7a1
dec al
je 0x47e80a
jmp 0x47e894
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47e894
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 0x47e731
jmp 0x47e894
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47e894
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 0x47e76c
jmp 0x47e894
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47e894
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 0x47e7d0
xor ebp, ebp
jmp 0x47e7e0
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 0x47e7e9
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 0x47e7b1
jmp 0x47e894
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47e894
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 0x47e863
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.0047c154
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 0x47e81e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret