joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499aa4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x499b08
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004052d8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409e0c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499b0f
lea eax, [ebp - 0xc]
call fcn.00405068
ret

Function at 0x4ac454
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.0040841c
ret

Function at 0x4b35bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4b3735
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x4b374c
call fcn.00405100
mov dl, 1
mov eax, dword [0x437d38]
call fcn.00437e38
mov dword [ebp - 4], eax
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00437f14
xor eax, eax
push ebp
push 0x4b3713
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4b3780
mov eax, dword [ebp - 4]
call fcn.00437f7c
test al, al
je 0x4b36d9
lea ecx, [ebp - 8]
mov edx, 0x4b37ac
mov eax, dword [ebp - 4]
call fcn.004384f8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040a494
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00405100
mov edx, dword [ebp - 8]
mov eax, 0x4b37c0
call fcn.0040566c
mov ebx, eax
test ebx, ebx
jle 0x4b3679
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405328
mov ecx, eax
sub ecx, ebx
lea edx, [ebx + 1]
mov eax, dword [ebp - 8]
call fcn.00405588
jmp 0x4b3681
lea eax, [ebp - 8]
call fcn.00405068
mov edx, dword [ebp - 8]
mov eax, 0x4b37cc
call fcn.0040566c
mov ebx, eax
test ebx, ebx
jle 0x4b36a8
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405588
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004099e4
cmp dword [ebp - 0x14], 0
je 0x4b36d1
push dword [ebp - 0xc]
push 0x4b37d8
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 4]
call fcn.00437ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b371a
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405528
push eax
push 0x4b37e8
mov eax, dword [0x4f4c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 4]
call fcn.004041dc
ret
Function at 0x4b3928
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405518
xor eax, eax
push ebp
push 0x4b397f
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405528
push eax
push 0x4b398c
mov eax, dword [0x4f4c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3986
lea eax, [ebp - 4]
call fcn.00405068
ret

Function at 0x4b3a08
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b3b9a
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4b3b74
push ebp
call fcn.004b39ec
pop ecx
mov eax, esi
call fcn.0041c770
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 5], 0x41
lea eax, [ebp - 0x1d4]
mov dl, byte [ebp - 5]
call fcn.00405250
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 4]
mov ecx, 0x4b3bb0
call fcn.00405374
mov eax, dword [ebp - 4]
call fcn.00405528
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4b3b60
cmp eax, 3
jne 0x4b3b60
test bl, bl
je 0x4b3b05
push 0x200
push 0x160
lea eax, [ebp - 0x1d0]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405528
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4b3b60
push ebp
call fcn.004b3994
pop ecx
test al, al
jne 0x4b3b60
lea eax, [ebp - 0x1d8]
lea edx, [ebp - 0x1c4]
mov ecx, 0x104
call fcn.004052d8
mov edx, dword [ebp - 0x1d8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b3b60
push ebp
call fcn.004b3994
pop ecx
test al, al
jne 0x4b3b60
lea eax, [ebp - 0x1e0]
mov dl, byte [ebp - 5]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1e0]
lea eax, [ebp - 0x1e4]
call fcn.00403588
mov edx, 0x4b3bb4
lea eax, [ebp - 0x1e4]
mov cl, 2
call fcn.00403558
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x1dc]
call fcn.004052cc
mov edx, dword [ebp - 0x1dc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc byte [ebp - 5]
cmp byte [ebp - 5], 0x5b
jne 0x4b3a64
mov eax, esi
call fcn.0041c82c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3ba1
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.0040508c
lea eax, [ebp - 4]
call fcn.00405068
ret
Function at 0x4b3bb8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405518
xor eax, eax
push ebp
push 0x4b3c26
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.00405528
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3c2d
lea eax, [ebp - 4]
call fcn.00405068
ret

Function at 0x4b479c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405068
push 0
push esi
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f4c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x4b47d4
mov edx, ebx
mov eax, esp
call fcn.0040a7f4
add esp, 0x108
pop esi
pop ebx
ret

Function at 0x4b47e0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a7f4
add esp, 0x108
pop ebx
ret

Function at 0x4b480c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a7f4
add esp, 0x108
pop ebx
ret

Function at 0x4b4cb4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405518
xor eax, eax
push ebp
push 0x4b4d14
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405528
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4d1b
lea eax, [ebp - 4]
call fcn.00405068
ret
Function at 0x4b5230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405518
mov eax, dword [ebp - 8]
call fcn.00405518
mov eax, dword [ebp - 0xc]
call fcn.00405518
xor eax, eax
push ebp
push 0x4b52e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, 0x3c
call fcn.0040841c
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov eax, 0x4b52f4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00405528
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
call fcn.00405528
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
call fcn.00405528
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b52eb
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040508c
ret

Function at 0x4b52fc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405518
mov eax, dword [ebp - 8]
call fcn.00405518
xor eax, eax
push ebp
push 0x4b542f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x437d38]
call fcn.00437e38
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b5400
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00437f14
mov cl, 1
mov edx, 0x4b5444
mov eax, dword [ebp - 0xc]
call fcn.00437f7c
test al, al
je 0x4b53ea
test bl, bl
je 0x4b53c8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004386f4
test al, al
je 0x4b538c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00438218
push 0x4b547c
lea edx, [ebp - 0x14]
mov eax, dword [0x4f4c40]
mov eax, dword [eax]
call fcn.004710e4
push dword [ebp - 0x14]
push 0x4b5488
push dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053e8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004384cc
jmp 0x4b53e2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004386f4
test al, al
je 0x4b53e2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00438218
mov eax, dword [ebp - 0xc]
call fcn.00437ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5407
mov eax, dword [ebp - 0xc]
call fcn.004041dc
ret
Function at 0x4b764c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b771c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.004b573c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4b7734
call fcn.00405374
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x436dd8]
call fcn.00436e88
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b76f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
push eax
mov ecx, 0x4b774c
mov edx, 0x4b7764
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebx + 0x34]
push eax
mov ecx, 0x4b7774
mov edx, 0x4b7764
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x38]
push eax
mov ecx, 0x4b778c
mov edx, 0x4b7764
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b76fe
lea eax, [ebp - 8]
call fcn.0040f81c
ret
Function at 0x4b9340
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
mov eax, dword [0x4f4e08]
cmp dword [eax], 1
jne 0x4b9432
push 0x4b94e0
push 0x4b94f8
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4b9373
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b94d4
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.004036dc
mov dword [ebp - 0x54], 0x44
mov eax, dword [0x4f2584]
call fcn.00402b40
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b942b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4f2584]
push eax
push 0
push 0x4b9508
push 0
call sub.kernel32.dll_SearchPathA
test eax, eax
jne 0x4b93ce
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
jmp 0x4b9415
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4b93fe
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
jmp 0x4b9415
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b94d4
mov eax, dword [ebp - 8]
call fcn.00402b70
ret
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jne 0x4b9450
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
jmp 0x4b94d4
push 0x14
push 0x4b9514
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
push ebx
call sub.advapi32.dll_CloseServiceHandle
test esi, esi
jne 0x4b9473
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
jmp 0x4b94d4
lea eax, [ebp - 0x80]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x4b9491
push esi
call sub.advapi32.dll_CloseServiceHandle
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
jmp 0x4b94d4
cmp dword [ebp - 0x7c], 4
jne 0x4b94a4
push esi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b94d4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceA
test eax, eax
jne 0x4b94c9
push esi
call sub.advapi32.dll_CloseServiceHandle
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
jmp 0x4b94d4
push esi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bab40
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4bab48
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4bad4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4191e4]
call fcn.004041ac
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bad20
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.004b573c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4bad60
call fcn.00405374
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4baccc
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
mov byte [ebx + 0x360], 0
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004ba960
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x354]
add eax, 0x3c
pop ecx
call fcn.00405374
lea eax, [ebp - 0x1c]
call fcn.004b573c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x354]
add eax, 0x44
mov ecx, 0x4bad74
call fcn.00405374
mov eax, dword [ebx + 0x354]
call fcn.004b6c64
cmp byte [ebx + 0x360], 0
je 0x4baccc
lea eax, [ebp - 0x20]
call fcn.004b573c
lea eax, [ebp - 0x20]
mov edx, 0x4bad8c
call fcn.00405330
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004baa6c
test al, al
jne 0x4bac50
mov byte [ebx + 0x360], 0
jmp 0x4baccc
push 0
lea eax, [ebp - 0x28]
call fcn.004b573c
push dword [ebp - 0x28]
push 0x4bada4
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x24]
call fcn.00405528
push eax
lea eax, [ebp - 0x30]
call fcn.004b573c
lea eax, [ebp - 0x30]
mov edx, 0x4bad8c
call fcn.00405330
mov eax, dword [ebp - 0x30]
call fcn.00405528
push eax
call sub.kernel32.dll_CopyFileA
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.004badb0
inc esi
dec dword [ebp - 0xc]
jne 0x4babba
lea eax, [ebp - 0x38]
call fcn.004b573c
lea eax, [ebp - 0x38]
mov edx, 0x4bad8c
call fcn.00405330
mov eax, dword [ebp - 0x38]
call fcn.0040a1a8
test al, al
je 0x4bad0a
lea eax, [ebp - 0x3c]
call fcn.004b573c
lea eax, [ebp - 0x3c]
mov edx, 0x4bad8c
call fcn.00405330
mov eax, dword [ebp - 0x3c]
call fcn.0040a2d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad27
mov eax, dword [ebp - 4]
call fcn.004041dc
ret
Function at 0x4bcfd4
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 0x4bcffe
cmp dword [ebx + 0x64], 0
jne 0x4bcffe
cmp dword [ebx + 0x6c], 0
jne 0x4bcffe
mov edi, esi
jmp 0x4bd085
cmp edi, 0xffffffff
jne 0x4bd006
dec edi
jmp 0x4bd085
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4bd085
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004bc3d0
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 0x4bd053
mov cx, word [esp]
sub cx, si
jmp 0x4bd055
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4bd03c
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 0x4bd07b
mov cx, word [esp]
sub cx, si
jmp 0x4bd07d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4bd064
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4bd0e2
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004bcd70
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4bd0cd
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 0x4bd0e2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4bcfde
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c3338
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f6064
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4c335a
shr eax, 1
xor eax, 0xedb88320
jmp 0x4c335c
shr eax, 1
dec edx
jne 0x4c3348
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4c3341
mov byte [0x4f6464], 1
pop esi
pop ebx
ret

Function at 0x4c3378
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f6464], 0
jne 0x4c338f
call fcn.004c3338
mov eax, edi
dec eax
test eax, eax
jl 0x4c33b8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f6064]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4c3399
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4c59d8
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 0x4c5a09
dec al
je 0x4c5a45
dec al
je 0x4c5a89
dec al
je 0x4c5af4
jmp 0x4c5b7e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4c5b7e
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 0x4c5a19
jmp 0x4c5b7e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c5b7e
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 0x4c5a55
jmp 0x4c5b7e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c5b7e
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 0x4c5ab7
xor ebp, ebp
jmp 0x4c5ac8
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 0x4c5ad1
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 0x4c5a99
jmp 0x4c5b7e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c5b7e
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 0x4c5b4c
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.004c33c0
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 0x4c5b08
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret