joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4705b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630766
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.0060cd03
mov dword [esi], eax
add esp, 4
mov dword [esi + 4], edx
mov dword [esi + 8], 0xfffffffe
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
lea eax, [esi + 0x64]
mov ecx, 4
nop word [eax + eax]
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x470680
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi + 0x54], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x470a10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d8f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push fcn.004250c0
push fcn.00406030
push 2
push 4
lea esi, [edi + 0x50]
push esi
call fcn.00606f18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x24]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x34]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x4c], eax
lea eax, [ebp + 8]
push eax
push str.Processing__Spackets:_s_r:___1___2__delta:___3___4_n
push esi
call fcn.005abfb0
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x54]
push str.Blocked__Spackets:_s_r:___1___2__delta:___3___4_n
push eax
call fcn.005abfb0
mov ecx, dword [ebp + 8]
add esp, 0x18
test ecx, ecx
je 0x470b01
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x470b01
push ecx
call fcn.005a47b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a5e50
Capabilities:
Encode data using xor

Disassembly:
test byte [ecx + 0x18], 3
push edi
jne 0x4a5eac
mov edi, dword [esp + 8]
xor eax, eax
push esi
mov edx, edi
mov esi, 3
ror eax, 0x19
lea edx, [edx + 4]
xor eax, dword [edx - 4]
sub esi, 1
jne 0x4a5e65
xor edx, edx
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
pop esi
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4a5eac
mov edx, dword [edi]
cmp dword [eax + 4], edx
jne 0x4a5ea6
mov ecx, dword [eax + 8]
cmp ecx, dword [edi + 4]
jne 0x4a5ea6
mov cx, word [eax + 0xc]
cmp cx, word [edi + 8]
jne 0x4a5ea6
mov cx, word [eax + 0xe]
cmp cx, word [edi + 0xa]
je 0x4a5eb5
mov eax, dword [eax]
test eax, eax
jne 0x4a5e85
mov eax, 1
pop edi
ret 8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4a5ec8
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], eax
xor eax, eax
pop edi
ret 8

Function at 0x4a5fa0
Capabilities:
Encode data using xor

Disassembly:
test byte [0x6ae208], 3
push esi
jne 0x4a6007
mov esi, dword [esp + 8]
xor eax, eax
mov ecx, esi
mov edx, 3
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x4a5fb7
div dword [0x6ae200]
mov eax, dword [0x6ae204]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4a6007
mov edx, dword [esi]
nop dword [eax]
cmp dword [ecx + 4], edx
jne 0x4a6001
mov eax, dword [ecx + 8]
cmp eax, dword [esi + 4]
jne 0x4a6001
mov ax, word [ecx + 0xc]
cmp ax, word [esi + 8]
jne 0x4a6001
mov ax, word [ecx + 0xe]
cmp ax, word [esi + 0xa]
je 0x4a6010
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4a5fe0
mov eax, 1
pop esi
ret 8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4a601d
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
xor eax, eax
pop esi
ret 8
Function at 0x4b5080
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63266d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4b5125
mov ecx, dword [0x6ad84c]
push 0x10
test ecx, ecx
je 0x4b50e1
lock inc dword [ecx]
mov esi, dword [ecx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x4b50e6
push ecx
call fcn.005a47b0
jmp 0x4b50e6
mov esi, 0x651f68
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x4b5155
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4b5209
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push str.OpenSCManager__
lea ecx, [ebp - 0x28]
call fcn.005d1470
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041aad0
push 0x6a3c84
lea eax, [ebp - 0x20]
push eax
call fcn.006089ec
push str.OpenService_
lea ecx, [ebp - 0x1c]
call fcn.005a5400
mov esi, eax
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push 0x6ad84c
call fcn.005a5bd0
call fcn.004b7c70
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.004b7da0
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.005a6c40
push 0x662438
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.005a6ce0
push 0xffffffffffffffff
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.005a5da0
push eax
lea ecx, [ebp - 0x28]
call fcn.005d1470
lea ecx, [ebp - 0x10]
call fcn.004250c0
lea ecx, [ebp - 0x14]
call fcn.004250c0
lea ecx, [ebp - 0x18]
call fcn.004250c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.004250c0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041aad0
push 0x6a3c84
lea eax, [ebp - 0x30]
push eax
call fcn.006089ec
push str.StartService_
lea ecx, [ebp - 0x10]
call fcn.005a5400
mov esi, eax
push ecx
mov ecx, esp
mov dword [ebp - 4], 0xa
push 0x6ad84c
call fcn.005a5bd0
call fcn.004b7c70
add esp, 4
lea ecx, [ebp - 0x14]
mov edx, eax
call fcn.004b7da0
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.005a6c40
push 0x662438
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.005a6ce0
push 0xffffffffffffffff
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.005a5da0
push eax
lea ecx, [ebp - 0x30]
call fcn.005d1470
lea ecx, [ebp - 0x1c]
call fcn.004250c0
lea ecx, [ebp - 0x18]
call fcn.004250c0
lea ecx, [ebp - 0x14]
call fcn.004250c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
call fcn.004250c0
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push edi
call esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041aad0
push 0x6a3c84
lea eax, [ebp - 0x38]
push eax
call fcn.006089ec
int3
Function at 0x4b71a0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63285d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov ecx, str.RRSvc
mov dword [ebp - 4], 0
call fcn.005b4610
or ebx, 0xffffffff
cmp eax, 0x3ffffffa
jle 0x4b7202
mov edi, dword [0x6aefbc]
test edi, edi
je 0x4b71fb
lock inc dword [edi]
mov dword [ebp - 0x10], edi
jmp 0x4b723c
xor edi, edi
mov dword [ebp - 0x10], edi
jmp 0x4b723c
push 0
add eax, eax
lea ecx, [ebp - 0x1c]
push eax
push str.RRSvc
call fcn.005a5770
mov edi, dword [eax]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
test ecx, ecx
je 0x4b7235
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x4b7235
push ecx
call fcn.005a47b0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 4
mov ecx, dword [0x6ad84c]
test ecx, ecx
je 0x4b7261
lock inc dword [ecx]
mov esi, dword [ecx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x4b7266
push ecx
call fcn.005a47b0
jmp 0x4b7266
mov esi, 0x651f68
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4b736b
mov ecx, str.RRSvc
call fcn.005b4610
cmp eax, 0x3ffffffa
jle 0x4b72a4
mov esi, dword [0x6aefbc]
test esi, esi
je 0x4b729d
lock inc dword [esi]
mov dword [ebp - 0x14], esi
jmp 0x4b72de
xor esi, esi
mov dword [ebp - 0x14], esi
jmp 0x4b72de
push 0
add eax, eax
lea ecx, [ebp - 0x1c]
push eax
push str.RRSvc
call fcn.005a5770
mov esi, dword [eax]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x4b72d7
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x4b72d7
push ecx
call fcn.005a47b0
mov dword [ebp - 4], 4
push 0
lea edx, [ebp + 0xc]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.005b43d0
add esp, 4
test esi, esi
je 0x4b72fb
mov eax, dword [esi + 0xc]
jmp 0x4b7300
mov eax, 0x651f68
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b730f
mov eax, dword [eax + 0xc]
jmp 0x4b7314
mov eax, 0x651f68
push 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 2
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b7356
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
jne 0x4b7356
push ecx
mov ecx, eax
call fcn.005a47b0
test esi, esi
je 0x4b736b
mov eax, ebx
lock xadd dword [esi], eax
dec eax
jne 0x4b736b
push ecx
mov ecx, esi
call fcn.005a47b0
test edi, edi
je 0x4b7380
mov eax, ebx
lock xadd dword [edi], eax
dec eax
jne 0x4b7380
push ecx
mov ecx, edi
call fcn.005a47b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4b7394
lock xadd dword [ecx], ebx
dec ebx
jne 0x4b7394
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b9080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632c5f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
mov dword [ebp - 4], 3
call fcn.005d7110
mov dword [esi], vtable.CMaaHttpGetThread.0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov eax, dword [ebp + 8]
or edi, 0xffffffff
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b9119
lock inc dword [eax]
mov ecx, dword [esi + 0x48]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
test ecx, ecx
je 0x4b9119
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b9119
push ecx
call fcn.005a47b0
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x4c]
je 0x4b9144
test eax, eax
je 0x4b912b
lock inc dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x4c], eax
test ecx, ecx
je 0x4b9144
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b9144
push ecx
call fcn.005a47b0
mov eax, dword [ebp + 0x14]
cmp eax, dword [esi + 0x50]
je 0x4b916f
test eax, eax
je 0x4b9156
lock inc dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x50], eax
test ecx, ecx
je 0x4b916f
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b916f
push ecx
call fcn.005a47b0
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
cmp eax, dword [esi + 0x58]
je 0x4b91a0
test eax, eax
je 0x4b9187
lock inc dword [eax]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x58], eax
test ecx, ecx
je 0x4b91a0
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b91a0
push ecx
call fcn.005a47b0
lea eax, [esi + 0x10]
mov dword [esi + 0x44], 0
push eax
push 0
push esi
push 0x5e0ec0
push 0
push 0
mov dword [esi + 0x5c], 0xffffffff
call fcn.0061408e
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x4b91df
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b91df
push ecx
call fcn.005a47b0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b91f5
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b91f5
push ecx
call fcn.005a47b0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4b920b
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4b920b
push ecx
call fcn.005a47b0
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4b921f
lock xadd dword [ecx], edi
dec edi
jne 0x4b921f
push ecx
call fcn.005a47b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4be6a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, 2
mov eax, dword [ecx]
lea edx, [ecx + 4]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x4be6b0
pop esi
ret 4
Function at 0x4bff60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
lea edx, [ecx + 4]
push esi
mov esi, 2
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x4bff70
pop esi
ret
Function at 0x4cf810
Capabilities:
Encode data using xor

Disassembly:
push ecx
test byte [0x6b1378], 3
push esi
push edi
jne 0x4cf86c
mov edi, dword [esp + 0x10]
xor eax, eax
mov ecx, edi
mov edx, 0x30
nop dword [eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x4cf830
div dword [0x6b1370]
mov eax, dword [0x6b1374]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x4cf86c
push 0xc0
lea ecx, [esi + 4]
mov edx, edi
call fcn.004250e0
add esp, 4
test al, al
jne 0x4cf877
mov esi, dword [esi]
test esi, esi
jne 0x4cf850
mov eax, 1
pop edi
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4cf88b
lea eax, [esi + 0xc4]
push eax
call fcn.004d0b70
pop edi
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x4cfbd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov edx, 0x30
nop dword [eax + eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x4cfbe0
ret 4

Function at 0x4cfc00
Capabilities:
Encode data using xor

Disassembly:
push ecx
test byte [0x6b1348], 3
push esi
push edi
jne 0x4cfc5c
mov edi, dword [esp + 0x10]
xor eax, eax
mov ecx, edi
mov edx, 0x28
nop dword [eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x4cfc20
div dword [0x6b1340]
mov eax, dword [0x6b1344]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x4cfc5c
push 0xa0
lea ecx, [esi + 4]
mov edx, edi
call fcn.004250e0
add esp, 4
test al, al
jne 0x4cfc67
mov esi, dword [esi]
test esi, esi
jne 0x4cfc40
mov eax, 1
pop edi
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4cfc7b
lea eax, [esi + 0xa4]
push eax
call fcn.004d0b70
pop edi
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x4cffc0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov edx, 0x28
nop dword [eax + eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x4cffd0
ret 4

Function at 0x4d0450
Capabilities:
Encode data using xor

Disassembly:
test byte [ecx + 0x18], 3
push edi
jne 0x4d04ac
mov edi, dword [esp + 8]
xor eax, eax
push esi
mov edx, edi
mov esi, 3
ror eax, 0x19
lea edx, [edx + 4]
xor eax, dword [edx - 4]
sub esi, 1
jne 0x4d0465
xor edx, edx
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
pop esi
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4d04ac
mov edx, dword [edi]
cmp dword [eax + 4], edx
jne 0x4d04a6
mov ecx, dword [eax + 8]
cmp ecx, dword [edi + 4]
jne 0x4d04a6
mov cx, word [eax + 0xc]
cmp cx, word [edi + 8]
jne 0x4d04a6
mov cx, word [eax + 0xe]
cmp cx, word [edi + 0xa]
je 0x4d04b5
mov eax, dword [eax]
test eax, eax
jne 0x4d0485
mov eax, 1
pop edi
ret 8
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d04c2
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
ret 8
Function at 0x508370
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov edx, 9
nop dword [eax + eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x508380
ret 4
Function at 0x5088a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test byte [ebx + 0x18], 3
mov dword [esp + 0x18], ebx
jne 0x508941
mov edi, dword [esp + 0x24]
xor eax, eax
mov edx, edi
mov esi, 9
ror eax, 0x19
lea edx, [edx + 4]
xor eax, dword [edx - 4]
sub esi, 1
jne 0x5088c4
xor edx, edx
div dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edx*4]
lea ebp, [eax + edx*4]
xor edx, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], edx
test esi, esi
je 0x508941
mov ecx, dword [edi + 8]
cmp dword [esi + 0xc], ecx
jne 0x508935
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0xc]
jne 0x508935
mov eax, dword [esi + 0x14]
cmp eax, dword [edi + 0x10]
jne 0x508935
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x14]
jne 0x508935
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x18]
jne 0x508935
mov eax, dword [esi + 4]
cmp eax, dword [edi]
jne 0x508935
mov eax, dword [esi + 8]
cmp eax, dword [edi + 4]
jne 0x508935
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x1c]
jne 0x508935
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 0x20]
je 0x508950
mov edx, esi
mov dword [esp + 0x10], esi
mov esi, dword [esi]
test esi, esi
jne 0x5088f1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x508a23
test eax, eax
je 0x508a23
nop word [eax + eax]
mov ebx, dword [eax]
xor edx, edx
mov edi, dword [eax + 8]
cmp ebx, ecx
cmove ebx, edx
mov dword [esp + 0x14], ebx
test edi, edi
je 0x508a0d
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jne 0x508a09
test ecx, ecx
je 0x5089de
mov ecx, dword [ecx]
mov ebp, edi
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x5089d4
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jae 0x5089d0
mov ebx, edi
nop dword [eax]
mov ecx, dword [edi + 0x14]
mov ebp, edi
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x5089cc
inc edx
mov ebp, ebx
mov dword [eax + 0x10], edx
mov edi, ebx
cmp edx, dword [ebx + 0x10]
jb 0x5089b0
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x5089da
mov byte [eax + 0x14], 1
jmp 0x508a09
test ebp, ebp
je 0x508a09
mov edx, dword [eax + 4]
test edx, edx
je 0x5089e9
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
test edx, edx
je 0x5089f5
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov ecx, dword [esp + 0x24]
mov eax, ebx
test ebx, ebx
jne 0x508970
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
test edx, edx
je 0x508a2d
mov dword [edx], eax
jmp 0x508a30
mov dword [ebp], eax
dec dword [ebx + 0xc]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x508a4a
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x508a4a
push ecx
call fcn.005a47b0
lea ecx, [ebx + 4]
push ecx
push ecx
mov ecx, dword [ecx]
push esi
call fcn.0050a2d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
Function at 0x508f50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test byte [0x6ad968], 3
push ebx
push esi
push edi
jne 0x508fe1
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, ecx
mov esi, 7
ror eax, 0x19
lea edx, [edx + 4]
xor eax, dword [edx - 4]
sub esi, 1
jne 0x508f70
xor edx, edx
xor ebx, ebx
div dword [0x6ad960]
mov eax, dword [0x6ad964]
mov dword [esp + 0x18], ebx
lea edi, [eax + edx*4]
mov edx, dword [edi]
mov dword [esp + 0x10], edi
test edx, edx
je 0x508fe1
mov esi, dword [ecx + 8]
cmp dword [edx + 0xc], esi
jne 0x508fd5
mov eax, dword [edx + 0x10]
cmp eax, dword [ecx + 0xc]
jne 0x508fd5
mov eax, dword [edx + 0x14]
cmp eax, dword [ecx + 0x10]
jne 0x508fd5
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x14]
jne 0x508fd5
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jne 0x508fd5
mov eax, dword [edx + 4]
cmp eax, dword [ecx]
jne 0x508fd5
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 4]
je 0x508fef
mov ebx, edx
mov dword [esp + 0x18], edx
mov edx, dword [edx]
test edx, edx
jne 0x508fa1
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 4
mov eax, dword [0x6ad96c]
cmp eax, 0x6ad96c
je 0x5090b4
test eax, eax
je 0x5090b4
push ebp
mov ebx, dword [eax]
xor ecx, ecx
mov edi, dword [eax + 8]
cmp ebx, 0x6ad96c
cmove ebx, ecx
mov dword [esp + 0x10], ebx
test edi, edi
je 0x5090a1
mov ecx, dword [eax + 0xc]
cmp ecx, edx
jne 0x5090a1
test ecx, ecx
je 0x509076
mov ecx, dword [ecx]
mov ebp, edi
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x50906c
mov esi, dword [eax + 0x10]
inc esi
mov dword [eax + 0x10], esi
cmp esi, dword [edi + 0x10]
jae 0x509068
mov ebx, edi
mov ecx, dword [edi + 0x14]
mov ebp, edi
mov ecx, dword [ecx + esi*4]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x509064
inc esi
mov ebp, ebx
mov dword [eax + 0x10], esi
mov edi, ebx
cmp esi, dword [ebx + 0x10]
jb 0x509048
mov ebx, dword [esp + 0x10]
test ecx, ecx
je 0x509072
mov byte [eax + 0x14], 1
jmp 0x5090a1
test ebp, ebp
je 0x5090a1
mov esi, dword [eax + 4]
test esi, esi
je 0x509081
mov ecx, dword [eax]
mov dword [esi], ecx
mov esi, dword [eax]
test esi, esi
je 0x50908d
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov eax, ebx
test ebx, ebx
jne 0x509008
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
pop ebp
mov eax, dword [edx]
test ebx, ebx
je 0x5090be
mov dword [ebx], eax
jmp 0x5090c0
mov dword [edi], eax
dec dword [0x6ad95c]
push ecx
mov ecx, dword [0x6ad954]
push 0x6ad954
push edx
call fcn.0050a020
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4

Function at 0x509420
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov edx, 7
nop dword [eax + eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x509430
ret 4