joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x4a1440
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.004a0b38
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a1d4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a18b8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a0b8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004a192c
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1447
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ca4
ret
Function at 0x4a1450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x4a1550
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.004a0b38
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x4a1516
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a1d4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a18b8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a0b8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004a192c
jmp 0x4a1528
xor edx, edx
mov eax, ebx
call fcn.004a18b8
xor edx, edx
mov eax, ebx
call fcn.004a192c
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1557
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ca4
ret

Function at 0x4a7a4c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x148]
mov edx, ebx
mov eax, edi
call fcn.004a7c70
mov esi, eax
mov dword [edi + 0x148], esi
and esi, 0xff
add dword [edi + 0x14c], esi
imul esi, dword [edi + 0x14c], 0x8088405
inc esi
mov dword [edi + 0x14c], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x150]
mov eax, edi
call fcn.004a7c70
mov dword [edi + 0x150], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4a7ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a7ae5
inc esi
mov eax, edi
call fcn.004a7aa4
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004a7a4c
inc ebx
dec esi
jne 0x4a7acf
pop edi
pop esi
pop ebx
ret
Function at 0x4a7b74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x4a7be9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004a7aec
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004a7aa4
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004a7a4c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4a7bb4
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7bf0
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x4a85a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8778
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4a8734
mov eax, dword [ebp - 4]
call fcn.004a9cf8
cmp ebx, eax
jge 0x4a8734
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov edx, ebx
call fcn.0049f448
mov edx, dword [0x4a0e58]
call fcn.0040402c
mov esi, eax
mov eax, esi
call fcn.004a184c
test al, al
je 0x4a872a
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x4a871e
xor eax, eax
push ebp
push 0x4a8717
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a8b20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.0041f008
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x3e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx edx, word [ebp - 0x22]
movzx eax, word [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0x14]
movzx esi, word [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004052cc
mov eax, dword [ebp - 8]
call fcn.00405198
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a8908
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8762
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4a8716
mov eax, dword [ebp - 4]
call fcn.004a8ba4
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a5a0
jmp 0x4a8762
mov eax, dword [ebp - 8]
call fcn.00404c80
jmp 0x4a8762
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x4c]
mov eax, 0xb3
call fcn.00409af0
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x419ed8]
call fcn.0040d570
call fcn.00404610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a877f
lea eax, [ebp - 0x4c]
call fcn.00404c80
ret
Function at 0x4ab3f4
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffac
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.00403690
mov dword [esp + 0x2c], 1
mov word [esp + 0x30], 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00405140
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [esp + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x54
pop ebx
ret

Function at 0x4ab620
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x4ab70d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
mov eax, 2
call fcn.004ab2dc
mov esi, eax
test esi, esi
jbe 0x4ab6ec
mov dword [ebp - 0x12d], 0x128
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.004ab2fc
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4ab6e2
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x109]
mov ecx, 0x104
call fcn.00404ef0
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.0040508c
jne 0x4ab6cf
mov eax, dword [ebp - 0x125]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 0
push edi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.004ab31c
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4ab686
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab714
lea eax, [ebp - 0x134]
call fcn.00404c80
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x4ac4d0
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 [0x4196b0]
call fcn.00405678
xor eax, eax
push ebp
push 0x4ac614
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e3640], 0
jne 0x4ac523
mov ecx, dword [0x4e6134]
mov dl, 1
mov eax, dword [0x408498]
call fcn.0040d5f0
call fcn.00404610
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403690
mov eax, ebx
call fcn.00405524
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ac624
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.004069a8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405534
test eax, eax
jle 0x4ac5bb
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 0x4ac5b4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404f08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ef0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040937c
test eax, eax
jne 0x4ac5b4
mov ebx, 0x15
jmp 0x4ac5c0
mov ebx, 0x10
jmp 0x4ac5c0
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 [0x4e3640]
call fcn.004ac348
mov eax, dword [ebp - 8]
call fcn.004ac348
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004069c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac61b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x10]
mov edx, dword [0x4196b0]
call fcn.00405748
ret

Function at 0x4bd894
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4bd942
push 0xf01ff
mov eax, ebx
call fcn.00405140
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x4bd942
xor eax, eax
push ebp
push 0x4bd91f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd942
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd94c
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, 0x4bdaa8
call fcn.00404cd4
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4bda99
push 0xf01ff
mov eax, esi
call fcn.00405140
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4bda99
xor edx, edx
push ebp
push 0x4bda76
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x4bd9d7
mov eax, ebx
mov edx, 0x4bdab8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 4
jne 0x4bd9ea
mov eax, ebx
mov edx, 0x4bdac8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 2
jne 0x4bd9fd
mov eax, ebx
mov edx, 0x4bdac8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 3
jne 0x4bda10
mov eax, ebx
mov edx, 0x4bdad8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 7
jne 0x4bda23
mov eax, ebx
mov edx, 0x4bdae8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 1
jne 0x4bda36
mov eax, ebx
mov edx, 0x4bdad8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 5
jne 0x4bda49
mov eax, ebx
mov edx, 0x4bdac8
call fcn.00404cd4
jmp 0x4bda5a
cmp eax, 6
jne 0x4bda5a
mov eax, ebx
mov edx, 0x4bdac8
call fcn.00404cd4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bda99
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bdaf0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bdbf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
test esi, esi
je 0x4bdbe1
push 2
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4bdbe1
xor eax, eax
push ebp
push 0x4bdbbe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00405140
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov eax, ebx
call fcn.00405140
mov edi, eax
push edi
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x4bdb9e
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x10]
call fcn.0040ccec
mov eax, dword [ebp - 0x10]
call fcn.0043f6ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdbe1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdbe1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdbfe
lea eax, [ebp - 0x10]
call fcn.00404c80
ret
Function at 0x4c1298
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427934
cmp ebx, dword [ebp - 8]
jge 0x4c12fb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427c7c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427c7c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427ca8
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c12c1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c1304
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427934
cmp ebx, dword [ebp - 8]
jge 0x4c1367
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427c7c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427c7c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427ca8
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c132d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4d0468
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 0x4d0492
cmp dword [ebx + 0x64], 0
jne 0x4d0492
cmp dword [ebx + 0x6c], 0
jne 0x4d0492
mov edi, esi
jmp 0x4d0519
cmp edi, 0xffffffff
jne 0x4d049a
dec edi
jmp 0x4d0519
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4d0519
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004cf864
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 0x4d04e7
mov cx, word [esp]
sub cx, si
jmp 0x4d04e9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d04d0
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 0x4d050f
mov cx, word [esp]
sub cx, si
jmp 0x4d0511
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d04f8
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4d0576
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004d0204
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4d0561
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 0x4d0576
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4d0472
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d67cc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e879c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4d67ee
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d67f0
shr eax, 1
dec edx
jne 0x4d67dc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4d67d5
mov byte [0x4e8b9c], 1
pop esi
pop ebx
ret

Function at 0x4d680c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e8b9c], 0
jne 0x4d6823
call fcn.004d67cc
mov eax, edi
dec eax
test eax, eax
jl 0x4d684c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e879c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4d682d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4d8e20
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 0x4d8e51
dec al
je 0x4d8e8d
dec al
je 0x4d8ed1
dec al
je 0x4d8f3c
jmp 0x4d8fc6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4d8fc6
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 0x4d8e61
jmp 0x4d8fc6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d8fc6
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 0x4d8e9d
jmp 0x4d8fc6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d8fc6
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 0x4d8eff
xor ebp, ebp
jmp 0x4d8f10
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 0x4d8f19
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 0x4d8ee1
jmp 0x4d8fc6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d8fc6
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 0x4d8f94
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.004d6854
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 0x4d8f50
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret