joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44baa0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4de750]
cmp byte [eax + 0xc], 0
je 0x44bc0d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bc06
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dfb6c], 0
jne 0x44baf4
push 0x44bc14
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44bc1c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb6c], eax
cmp dword [0x4d9ccc], 0
jne 0x44bbef
push 0x44bc2c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d9ccc], eax
cmp dword [0x4d9ccc], 0
je 0x44bbef
push 0x44bc38
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb70], eax
push 0x44bc48
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb74], eax
push 0x44bc5c
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb78], eax
push 0x44bc74
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb7c], eax
push 0x44bc8c
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb80], eax
push 0x44bca0
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb84], eax
push 0x44bcb8
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb88], eax
push 0x44bcd0
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb8c], eax
push 0x44bcec
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb90], eax
push 0x44bcf8
mov eax, dword [0x4d9ccc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dfb94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bc0d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44fa98
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405140
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44fae7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004053c0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4574d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457528]
test si, 4
je 0x4574ec
or bl, 1
test si, 8
je 0x4574f6
or bl, 4
test si, 1
je 0x457500
or bl, 8
test si, 2
je 0x45750a
or bl, 0x10
test si, 0x10
je 0x457514
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457523
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45752c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457564]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457545
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457554
or bl, 4
test esi, 0x20000000
je 0x45755f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45dc28
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45dc3a
add esp, 0xfffffff0
call fcn.00404668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422dd4
mov eax, dword [0x4de18c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45dfcc
mov eax, dword [0x4de1a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45dfd8
mov eax, ebx
call fcn.0045dfe4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4184f0]
call fcn.004042c0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4184f0]
call fcn.004042c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4184f0]
call fcn.004042c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4184f0]
call fcn.004042c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4184f0]
call fcn.004042c0
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, 0x45a3fc
push eax
push 0
push 0
mov eax, dword [0x4de3d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424878]
call fcn.004260b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424878]
call fcn.004260b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424878]
call fcn.004260b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e4e8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e368
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e368
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e368
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45dd77
call fcn.004046c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e14c
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 0x45e2f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e2d8
mov dl, 1
mov eax, dword [0x41890c]
call fcn.004042c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405140
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e2c7
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.0044be00
test al, al
je 0x45e2ba
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, 0x45e308
lea eax, [ebp - 0x254]
call fcn.0040aab8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e2ba
xor eax, eax
push ebp
push 0x45e2b3
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 0x45e340
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e29c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053c0
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 0x45e29c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e2ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e1bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c788
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 0x45e2fe
lea eax, [ebp - 0x260]
call fcn.00405140
ret

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

Disassembly:
push ecx
mov eax, dword [0x4dfbb8]
cmp byte [eax + 0xa5], 0
jne 0x45ecf9
cmp dword [0x4dfbd0], 0
jne 0x45ecba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ec44
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dfbd0], eax
cmp dword [0x4dfbcc], 0
jne 0x45ecd5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4dfbcc], eax
cmp dword [0x4dfbd4], 0
jne 0x45ecf9
push esp
push 0
push 0
push 0x45ebe8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4dfbd4], eax
pop edx
ret
Function at 0x45f38c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dfbb8]
cmp dword [eax + 0x30], 0
je 0x45f436
cmp dword [ebx + 0x94], 0
jne 0x45f430
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f31c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f430
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 0x45f3f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f430
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.0041abdc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f405
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ff94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ffc9
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.00405230
jmp 0x45ffd6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405194
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4611a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4611e1
mov eax, esi
call fcn.0044742c
test al, al
je 0x4611e1
mov eax, dword [ebx + 0x84]
call fcn.00447128
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4611e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447128
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x465120
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46514e
mov eax, ebx
call fcn.00465bd4
cmp dword [ebx + 0x40], 0
je 0x465147
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4651bf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4651b1
cmp dword [ebx + 8], 0
je 0x465170
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 0x465182
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4651b1
cmp dword [ebx + 8], 0
je 0x465163
cmp eax, 3
je 0x465195
dec eax
jne 0x465163
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 0x465163
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x465163
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4651dd
cmp dword [ebx + 0x14], 0xcc
je 0x4651dd
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.004651e8
pop ebx
ret
Function at 0x477ce8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4178bc]
call fcn.00405b2c
xor eax, eax
push ebp
push 0x477e2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4da80c], 0
jne 0x477d3b
mov ecx, dword [0x4de008]
mov dl, 1
mov eax, dword [0x4088a8]
call fcn.0040d5f0
call fcn.00404ad0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403800
mov eax, ebx
call fcn.004059d8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x477e3c
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406cc8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004059e8
test eax, eax
jle 0x477dd3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x477dcc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004053d8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004053c0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040978c
test eax, eax
jne 0x477dcc
mov ebx, 0x15
jmp 0x477dd8
mov ebx, 0x10
jmp 0x477dd8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4da80c]
call fcn.00477c40
mov eax, dword [ebp - 8]
call fcn.00477c40
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406ce0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e33
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 0x10]
mov edx, dword [0x4178bc]
call fcn.00405bfc
ret
Function at 0x47b90c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ba8c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403800
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4daebc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4daec0], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4daec4], eax
mov eax, dword [0x4de738]
cmp dword [eax], 2
sete byte [0x4daa9c]
push 0x47ba98
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047bd68
cmp byte [0x4daa9c], 0
jne 0x47b998
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047bd98
test al, al
je 0x47b998
mov eax, dword [ebp - 0x4c]
mov dword [0x4e0510], eax
jmp 0x47b99f
xor eax, eax
mov dword [0x4e0510], eax
call fcn.0047b7a4
and eax, 0x7f
cmp eax, 0xc
ja case.0x47b9b0.0
jmp dword [eax*4 + 0x47b9b7]
mov byte [0x4daa88], 1
jmp case.0x47b9b0.0
mov byte [0x4daa8c], 1
jmp case.0x47b9b0.0
mov byte [0x4daa90], 1
jmp case.0x47b9b0.0
mov byte [0x4daa94], 1
jmp case.0x47b9b0.0
mov byte [0x4daa98], 1
jmp case.0x47b9b0.0
mov byte [0x4daaa0], 1
mov byte [0x4daaa4], 1
jmp case.0x47b9b0.0
mov byte [0x4daaa0], 1
mov byte [0x4daaa8], 1
jmp case.0x47b9b0.0
mov byte [0x4daaa0], 1
mov byte [0x4daaa8], 1
mov byte [0x4daaac], 1
jmp case.0x47b9b0.0
mov byte [0x4daab0], 1
jmp case.0x47b9b0.0
mov byte [0x4daab4], 1
jmp case.0x47b9b0.0
mov byte [0x4daab8], 1
jmp case.0x47b9b0.0
mov byte [0x4daabc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba93
lea eax, [ebp - 4]
call fcn.00405140
ret

Function at 0x47bd98
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47be3f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405610
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47be29
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040579c
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405610
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47be29
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47be50
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47be29
cmp dword [ebp - 8], 0x34
jne 0x47be29
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47be46
lea eax, [ebp - 0x10]
call fcn.00405140
ret
Function at 0x485f28
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e0960
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x485f4a
shr eax, 1
xor eax, 0xedb88320
jmp 0x485f4c
shr eax, 1
dec edx
jne 0x485f38
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x485f31
mov byte [0x4e0d60], 1
pop esi
pop ebx
ret

Function at 0x485f68
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e0d60], 0
jne 0x485f7f
call fcn.00485f28
mov eax, edi
dec eax
test eax, eax
jl 0x485fa8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e0960]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x485f89
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x48857c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4885ad
dec al
je 0x4885e9
dec al
je 0x48862d
dec al
je 0x488698
jmp 0x488722
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x488722
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, 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 0x4885bd
jmp 0x488722
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x488722
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4885f9
jmp 0x488722
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x488722
mov esi, 1
mov al, 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 0x48865b
xor ebp, ebp
jmp 0x48866c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x488675
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48863d
jmp 0x488722
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x488722
mov esi, 1
mov al, 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 0x4886f0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, 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
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00485fb0
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4886ac
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48d748
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x4252b4]
call fcn.0042b8d0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48d91b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x48d8fa
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0042ccfc
mov eax, dword [ebp - 8]
call fcn.0042bea0
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.00426a50
cmp byte [ebp + 8], 0
je 0x48d7e2
xor edx, edx
mov eax, ebx
call fcn.0048c6d0
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.0048c6d0
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.0048c600
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x48d81e
xor edx, edx
mov eax, ebx
call fcn.0048c6d0
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.0048c600
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.0048c6d0
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419594
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0042bea0
pop edx
call fcn.00426e3c
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.0048c600
dec eax
test eax, eax
jl 0x48d8d2
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0048c5a4
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.0048c6fc
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.0048c6fc
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041956c
mov eax, dword [ebp - 8]
call fcn.0042bea0
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x48d868
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0048c5a4
cmp byte [ebp + 0xc], 0
je 0x48d8fa
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0042e014
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0048bd94
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d922
mov eax, dword [ebp - 8]
call fcn.004042f0
ret