joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2058
call fcn.00406ca0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1004]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
js 0x401052
jmp 0x401040
cmp word [ebp + eax*2 - 0x1004], 0x5c
je 0x401187
dec eax
jns 0x401040
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push eax
call esi
push str.HotA_DataRMG_Template_Editor.exe
lea eax, [ebp - 0x2004]
push eax
call esi
xor eax, eax
mov word [ebp - 0x1804], ax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1804]
push eax
call esi
push str.HotA_Data
lea eax, [ebp - 0x1804]
push eax
call esi
xor eax, eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x804]
push 0x40fd10
push eax
call esi
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x804]
push eax
call esi
push 0x40fd10
lea eax, [ebp - 0x804]
push eax
call esi
cmp dword [ebp + 8], 1
jle 0x401109
push 0x40fd14
lea eax, [ebp - 0x804]
push eax
call esi
push dword [edi + 4]
lea eax, [ebp - 0x804]
push eax
call esi
push 0x40fd10
lea eax, [ebp - 0x804]
push eax
call esi
push 0x44
lea eax, [ebp - 0x2048]
push 0
push eax
call fcn.004058d0
add esp, 0xc
mov dword [ebp - 0x2048], 0x44
lea eax, [ebp - 0x2058]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2058], xmm0
push eax
lea eax, [ebp - 0x2048]
push eax
lea eax, [ebp - 0x1804]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x2058]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2054]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004011a5
mov esp, ebp
pop ebp
ret
add eax, eax
cmp eax, 0x800
jae 0x40119f
xor ecx, ecx
mov word [ebp + eax - 0x1004], cx
jmp 0x401052
call fcn.004012ec
int3
Function at 0x404615
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00401601
mov dword [ebp - 0x14], eax
cmp dword [0x412ee8], esi
jne 0x404708
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x404695
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4047e8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4047e8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4047e8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x412ee8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x412eec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x412ef0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412ef8], eax
test eax, eax
je 0x404705
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412ef4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40472d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404720
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x404742
push 4
pop eax
jmp 0x4047ea
cmp dword [ebp - 0x14], esi
je 0x404742
push dword [0x412ee8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x404727
mov eax, dword [0x412ef4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4047a0
cmp dword [0x412ef8], edi
je 0x4047a0
push eax
call ebx
push dword [0x412ef8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4047a0
test eax, eax
je 0x4047a0
call ecx
test eax, eax
je 0x404795
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x404795
test byte [ebp - 8], 1
jne 0x4047a0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4047d0
mov eax, dword [0x412eec]
cmp eax, edi
je 0x4047cd
push eax
call ebx
test eax, eax
je 0x4047cd
call eax
mov esi, eax
test esi, esi
je 0x4047cd
mov eax, dword [0x412ef0]
cmp eax, edi
je 0x4047cd
push eax
call ebx
test eax, eax
je 0x4047cd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x412ee8]
call ebx
test eax, eax
je 0x4047e8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4047ea
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004011a5
mov esp, ebp
pop ebp
ret
Function at 0x92c54
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xc6008], 0x8088405
inc edx
mov dword [ebx + 0xc6008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x9aeb8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov dword [esp], 0x4e67c6a7
dec edx
test edx, edx
jl 0x9aee8
inc edx
xor ecx, ecx
mov ebx, dword [esp]
shl ebx, 5
movzx edi, byte [eax + ecx]
add ebx, edi
mov edi, dword [esp]
shr edi, 2
add ebx, edi
xor dword [esp], ebx
inc ecx
dec edx
jne 0x9aecd
mov ecx, esi
mov eax, esp
mov edx, 4
call fcn.00096fcc
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0xa05a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0xa05ca
cmp dword [ebx + 0x64], 0
jne 0xa05ca
cmp dword [ebx + 0x6c], 0
jne 0xa05ca
mov esi, edi
jmp 0xa0662
cmp esi, 0xffffffff
jne 0xa05d5
dec esi
jmp 0xa0662
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0xa0662
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0009be2c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0xa0622
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0xa062a
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0xa0609
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0xa0653
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0xa065b
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0xa063a
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0xa06c0
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.000a02d0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0xa06ab
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0xa06c0
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0xa05aa
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xa1590
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0xc98bc
mov eax, ebx
mov edx, 8
test al, 1
je 0xa15ac
shr eax, 1
xor eax, 0xedb88320
jmp 0xa15ae
shr eax, 1
dec edx
jne 0xa159f
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xa1598
pop ebx
ret
Function at 0xa15c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00094534
xor eax, eax
push ebp
push 0xa1633
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00094344
test eax, eax
jle 0xa161b
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov esi, ebx
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0xc98bc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0xa15f7
not ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa163a
lea eax, [ebp - 4]
call fcn.00094074
ret

Function at 0xa1644
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0xa1678
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0xc98bc]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0xa1655
not eax
pop edx
pop esi
pop ebx
ret

Function at 0xa1680
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0xa16b4
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0xc98bc]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0xa1691
not eax
pop edx
pop esi
pop ebx
ret
Function at 0xa17fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00094534
xor eax, eax
push ebp
push 0xa1955
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00094074
mov eax, dword [ebp - 4]
call fcn.00094344
mov edi, eax
test edi, edi
je 0xa193f
mov eax, dword [ebp - 4]
call fcn.000a15c4
mov dword [ebp - 0xc], eax
lea edx, [edi + 4]
lea eax, [ebp - 4]
call fcn.00094688
lea eax, [ebp - 4]
call fcn.0009459c
lea edx, [eax + edi]
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.00092a8c
mov eax, dword [ebp - 4]
call fcn.00094344
mov edi, eax
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
dec esi
cmp esi, 0
jb 0xa1934
mov dword [ebp - 8], esi
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov esi, edi
sub esi, 2
jb 0xa18e2
inc esi
mov ebx, 2
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0xa18bd
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
mov cl, byte [ebp - 0x10]
add dl, cl
mov byte [eax + edi - 1], dl
mov ebx, edi
dec ebx
cmp ebx, 1
jb 0xa1927
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0xa1902
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xa189c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.000940c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa195c
lea eax, [ebp - 4]
call fcn.00094074
ret
Function at 0xa1968
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00094534
xor eax, eax
push ebp
push 0xa1ab4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00094074
mov eax, dword [ebp - 4]
call fcn.00094344
mov edi, eax
test edi, edi
je 0xa1a9e
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, esi
mov byte [ebp - 9], al
dec ebx
cmp ebx, 0
jb 0xa1a65
mov dword [ebp - 8], ebx
mov esi, edi
dec esi
test esi, esi
jbe 0xa1a00
mov ebx, 1
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xa]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0xa19de
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
mov cl, byte [ebp - 0xc]
sub dl, cl
mov byte [eax + edi - 1], dl
mov ebx, edi
cmp ebx, 2
jb 0xa1a44
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 9]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0xa1a1f
lea eax, [ebp - 4]
call fcn.0009459c
mov edx, dword [ebp - 4]
mov dl, byte [edx]
mov cl, byte [ebp - 0xb]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xa19d2
lea eax, [ebp - 4]
call fcn.0009459c
mov ebx, edi
sub ebx, 4
mov edx, ebx
call fcn.000a1644
mov esi, eax
lea eax, [ebp - 4]
call fcn.0009459c
add eax, ebx
cmp esi, dword [eax]
jne 0xa1a9e
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.000940c8
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00094688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa1abb
lea eax, [ebp - 4]
call fcn.00094074
ret
Function at 0xa206c
Capabilities:
Acquire debug privileges

Disassembly:
mov dl, 1
mov eax, 0xa21bc
call fcn.000a1c14
mov dl, 1
mov eax, 0xa21dc
call fcn.000a1c14
mov dl, 1
mov eax, 0xa21f4
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2218
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2240
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2268
call fcn.000a1c14
mov dl, 1
mov eax, 0xa228c
call fcn.000a1c14
mov dl, 1
mov eax, 0xa22b0
call fcn.000a1c14
mov dl, 1
mov eax, 0xa22cc
call fcn.000a1c14
mov dl, 1
mov eax, 0xa22e8
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2308
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2328
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2348
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2370
call fcn.000a1c14
mov dl, 1
mov eax, 0xa238c
call fcn.000a1c14
mov dl, 1
mov eax, 0xa23b4
call fcn.000a1c14
mov dl, 1
mov eax, 0xa23dc
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2400
call fcn.000a1c14
mov dl, 1
mov eax, 0xa241c
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2440
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2460
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2480
call fcn.000a1c14
mov dl, 1
mov eax, 0xa249c
call fcn.000a1c14
mov dl, 1
mov eax, 0xa24b8
call fcn.000a1c14
mov dl, 1
mov eax, 0xa24d4
call fcn.000a1c14
mov dl, 1
mov eax, 0xa24fc
call fcn.000a1c14
mov dl, 1
mov eax, 0xa2518
call fcn.000a1c14
ret

Function at 0xa26e4
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffff8
xor edx, edx
mov ecx, eax
mov dword [esp], ecx
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp]
cmp word [eax], 0x5a4d
jne 0xa2725
mov eax, dword [esp + 4]
cmp dword [eax], 0x4550
jne 0xa2725
mov eax, dword [esp + 4]
mov ax, word [eax + 0x16]
test ah, 0x20
je 0xa2725
and ax, 2
cmp ax, 2
sete dl
mov eax, edx
pop ecx
pop edx
ret

Function at 0xa272c
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffff8
xor edx, edx
mov ecx, eax
mov dword [esp], ecx
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp]
cmp word [eax], 0x5a4d
jne 0xa277d
mov eax, dword [esp + 4]
cmp dword [eax], 0x4550
jne 0xa277d
mov eax, dword [esp + 4]
mov ax, word [eax + 0x16]
test ah, 0x20
je 0xa277d
mov ecx, dword [esp + 4]
movzx ecx, word [ecx + 0x14]
cmp ecx, 0xe0
je 0xa277d
and ax, 2
cmp ax, 2
sete dl
mov eax, edx
pop ecx
pop edx
ret
Function at 0xa2784
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esp]
call fcn.000a26e4
test al, al
je 0xa28b8
mov eax, dword [esp]
call fcn.000a2694
mov ebx, eax
test ebx, ebx
je 0xa28b8
mov eax, dword [esp]
mov eax, dword [eax + 0x3c]
add eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 0x18
mov edx, dword [esp + 8]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [esp + 0xc], eax
push 0x40
push 0x3000
push ebx
push 0
call fcn.00095c8c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0xa28b8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp]
mov eax, dword [esp + 0x10]
call fcn.0009b55c
mov eax, dword [esp + 8]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jb 0xa28b0
inc edi
xor ebx, ebx
lea esi, [ebx + ebx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + esi*8 + 0xc]
mov eax, dword [esp + 0x10]
call fcn.000a2648
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + esi*8 + 0x14]
mov eax, dword [esp]
call fcn.000a2648
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + esi*8 + 0x10]
test eax, eax
jne 0xa288d
mov edx, dword [esp + 0xc]
mov edx, dword [edx + esi*8 + 0x24]
and edx, 0x40
cmp edx, 0x40
jne 0xa286d
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
jmp 0xa288d
lea edx, [ebx + ebx*4]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + edx*8 + 0x24]
and edx, 0x80
cmp edx, 0x80
jne 0xa288d
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x24]
mov ecx, eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
call fcn.0009b55c
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [eax + esi*8 + 8], edx
inc ebx
dec edi
jne 0xa281c
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0xaae58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea edi, [ebp - 0xc]
mov dword [edi], eax
test edx, edx
je 0xaaf13
mov al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0xaaf13
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov al, byte [eax]
mov cl, byte [ebp - 0xf]
add al, cl
mov ecx, dword [edi]
mov byte [ecx], al
mov esi, edx
dec esi
test esi, esi
jle 0xaaed2
mov eax, 1
mov ecx, dword [edi]
mov cl, byte [ecx + eax - 1]
mov ebx, dword [edi]
mov bl, byte [ebx + eax]
add cl, bl
mov bl, byte [ebp - 0xd]
xor cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
inc eax
dec esi
jne 0xaaeb7
mov eax, dword [edi]
mov al, byte [eax + edx - 1]
mov cl, byte [ebp - 0x10]
add al, cl
mov ecx, dword [edi]
mov byte [ecx + edx - 1], al
mov eax, edx
sub eax, 2
cmp eax, 0
jl 0xaaf0a
mov ecx, dword [edi]
mov cl, byte [ecx + eax + 1]
mov ebx, dword [edi]
mov bl, byte [ebx + eax]
add cl, bl
mov bl, byte [ebp - 0xe]
xor cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
dec eax
cmp eax, 0xffffffff
jne 0xaaeed
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xaae9e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0xaaf1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea edi, [ebp - 0xc]
mov dword [edi], eax
test edx, edx
je 0xaafd0
mov al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0xaafd0
mov dword [ebp - 8], eax
mov esi, edx
sub esi, 2
test esi, esi
jl 0xaaf87
inc esi
xor eax, eax
mov ecx, dword [edi]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 0xe]
mov ebx, dword [edi]
mov bl, byte [ebx + eax + 1]
sub cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
inc eax
dec esi
jne 0xaaf6e
mov eax, dword [edi]
mov al, byte [eax + edx - 1]
mov cl, byte [ebp - 0x10]
sub al, cl
mov ecx, dword [edi]
mov byte [ecx + edx - 1], al
mov eax, edx
dec eax
cmp eax, 1
jl 0xaafba
mov ecx, dword [edi]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 0xd]
mov ebx, dword [edi]
mov bl, byte [ebx + eax - 1]
sub cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
dec eax
test eax, eax
jne 0xaafa0
mov eax, dword [edi]
mov al, byte [eax]
mov cl, byte [ebp - 0xf]
sub al, cl
mov ecx, dword [edi]
mov byte [ecx], al
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xaaf62
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xab01c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, ebx
call fcn.000940c8
mov eax, ebx
call fcn.00094344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xab10f
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0xab10f
mov dword [ebp - 8], eax
mov eax, esi
call fcn.0009459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0xab0bb
inc edi
mov ebx, 2
mov eax, esi
call fcn.0009459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0xab099
mov eax, esi
call fcn.0009459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0xab102
mov eax, esi
call fcn.0009459c
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0xab0e0
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xab079
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xab118
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, ebx
call fcn.000940c8
mov eax, ebx
call fcn.00094344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xab206
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0xab206
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0xab1a1
mov ebx, 1
mov eax, esi
call fcn.0009459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0xab182
mov eax, esi
call fcn.0009459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0xab1e7
mov eax, esi
call fcn.0009459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0xab1c5
mov eax, esi
call fcn.0009459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xab175
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4