joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9ca2f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x638
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x634], eax
mov eax, dword [esp + 0x63c]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x9ca33b
cmp byte [eax], bl
je 0x9ca33b
push eax
lea eax, [esp + 0x43c]
push str.SoftwareMicroWorldeScan_For_Windows_sSchedulerJobs
push eax
call fcn.00a78f30
add esp, 0xc
jmp 0x9ca350
lea ecx, [esp + 0x438]
push str.SoftwareMicroWorldeScan_For_WindowsODSSchedulerJobs
push ecx
call fcn.00a78f30
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x444]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9ca4a2
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x9ca493
mov esi, dword [esp + 0x18]
cmp esi, ebx
jbe 0x9ca493
push 0x40f
lea eax, [esp + 0x2d]
push ebx
push eax
mov byte [esp + 0x34], bl
call fcn.00a7ffb0
add esp, 0xc
xor ebp, ebp
cmp esi, ebx
jbe 0x9ca493
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x9ca3d0
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebp
push eax
mov byte [esp + 0x48], bl
mov dword [esp + 0x44], 0x410
call esi
test eax, eax
jne 0x9ca493
cmp byte [esp + 0x28], bl
je 0x9ca488
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9ca493
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push str.Enable
push eax
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x9ca464
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x9ca488
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x20], 0x31
mov dword [esp + 0x14], ebx
jne 0x9ca488
push 1
push 0x2c
lea eax, [esp + 0x30]
push eax
call fcn.0098d640
inc ebp
cmp ebp, dword [esp + 0x18]
jb 0x9ca3d0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x9ca4a2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x644]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00a78f21
add esp, 0x638
ret
Function at 0x9d0c70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [0xbfc9d0], 0
push ebx
push ebp
push esi
push edi
jne 0x9d0ca5
mov esi, 1
mov dword [0xbfc9d0], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x9d0ca5
cmp al, 6
jb 0x9d0ca5
mov dword [0xbfc9d4], esi
cmp dword [0xc088cc], 0
mov ebp, dword [0xbfc9d4]
jne 0x9d0d00
mov esi, 0xb4de90
mov edi, 0x31
test ebp, ebp
jne 0x9d0cdf
mov eax, dword [esi]
cmp eax, 0x1000
jb 0x9d0cdf
add eax, 0xfffff000
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x1c]
jmp 0x9d0ce4
push esi
lea ebx, [esp + 0x28]
push 0xbe4cbc
call fcn.0099c9d0
add esi, 4
sub edi, 1
jne 0x9d0cbe
mov dword [0xc088cc], 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x9d0d10
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x14], 0
mov ebp, eax
je 0x9d0ed2
cmp dword [0xb2724c], 0xffffffff
jne 0x9d0d53
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xb2724c
xor ebx, ebx
xor edx, edx
xor ecx, ecx
call fcn.009691d0
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
test esi, esi
je 0x9d0d68
push 0xab2f88
push esi
jmp 0x9d0e61
cmp byte [0xc088d0], 0
jne 0x9d0e57
mov edi, 0x105
mov ecx, 0xc088d0
call fcn.00958630
mov ecx, 0xc088d0
call fcn.00960910
push str.general.log
push 0xc088d0
call ebx
push 0xab2f88
push 0xc088d0
call fcn.00a7932f
mov esi, eax
add esp, 8
test esi, esi
jne 0x9d0e6f
mov ecx, 0xc088d0
mov byte [0xc088d0], al
call fcn.00958630
mov ecx, 0xc088d0
call fcn.00960910
push str.TEMPgeneral.log
push 0xc088d0
call ebx
push 0xab2f88
push 0xc088d0
call fcn.00a7932f
mov esi, eax
add esp, 8
test esi, esi
jne 0x9d0e6f
push 0xc088d0
push edi
mov byte [0xc088d0], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, 0xc088d0
call fcn.00960910
push str.general.log
push 0xc088d0
call ebx
push 0xab2f88
push 0xc088d0
call fcn.00a7932f
mov esi, eax
add esp, 8
test esi, esi
jne 0x9d0e6f
mov ecx, 0xc088d0
mov byte [0xc088d0], al
call fcn.00980970
mov ecx, 0xc088d0
call fcn.00960910
push str.general.log
push 0xc088d0
call ebx
push 0xab2f88
push 0xc088d0
call fcn.00a7932f
mov esi, eax
add esp, 8
test esi, esi
je 0x9d0ed2
push 0x5000
call fcn.00a7a155
mov edi, eax
add esp, 4
test edi, edi
je 0x9d0ed2
lea eax, [esp + 0x18]
mov byte [edi], 0
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call fcn.00a7b631
add esp, 0xc
cmp byte [edi], 0
mov eax, edi
je 0x9d0ea6
nop
inc eax
cmp byte [eax], 0
jne 0x9d0ea0
sub eax, edi
je 0x9d0eb1
cmp byte [eax + edi - 1], 0xa
je 0x9d0eb9
push 0xaa17f8
push edi
call ebx
push esi
push edi
call fcn.00a7af97
push esi
call fcn.00a79e9e
add esp, 0xc
push edi
call fcn.00a78fec
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x9d31c0
Capabilities:
Check os version
Create thread

Disassembly:
push ecx
push 0xbdda4c
push str.WEvtDebug
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
push 0xb27354
push str.MonitorWinEventLogs
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [0xb27354], 0
je 0x9d3282
cmp dword [0xbfc9d0], 0
jne 0x9d322d
mov dword [0xbfc9d0], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x9d322d
cmp al, 6
jb 0x9d322d
mov dword [0xbfc9d4], 1
jmp 0x9d3236
cmp dword [0xbfc9d4], 0
je 0x9d327d
push 0
push 0
push 0x9bf6c0
call fcn.00a791b2
add esp, 0xc
push 0
mov eax, str.C:PROGRA2eScanLOGEventLog.log
call fcn.009d0d10
add esp, 4
push 0
xor ecx, ecx
call fcn.009d0ee0
add esp, 4
call fcn.009d0c70
call fcn.009d2720
call fcn.009d2870
call fcn.009d29a0
call fcn.009d2ad0
pop ecx
ret
call fcn.009686d0
pop ecx
ret
Function at 0x9d6fc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0xa99aac
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor ebx, ebx
or esi, 0xffffffff
test byte [0xc0ea78], 1
mov dword [esp + 0xc], ebx
jne 0x9d702a
or dword [0xc0ea78], 1
mov dword [esp + 0x128], ebx
call fcn.0098b510
mov dword [0xc0ea74], eax
mov dword [esp + 0x128], esi
test byte [0xc0ea78], 2
jne 0x9d7056
or dword [0xc0ea78], 2
mov dword [esp + 0x128], 1
call fcn.0094cfd0
mov dword [0xc0ea70], eax
mov dword [esp + 0x128], esi
push 0x103
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call fcn.00a7ffb0
add esp, 0xc
cmp dword [0xc0ea70], ebx
jne 0x9d70fb
lea ecx, [esp + 0xc]
push ecx
push str.CloudScan
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
cmp al, 1
jne 0x9d70cf
push str.CloudScan
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c180
cmp al, 1
je 0x9d70cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x9d70cf
push str.CloudScan
call fcn.00989f40
cmp eax, 1
jne 0x9d70cf
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x10]
push edx
push str.CloudScanExt
mov ecx, 0xaa21e4
mov edx, 0x80000002
mov dword [esp + 0x18], ebx
call fcn.0094c0d0
xor eax, eax
cmp dword [esp + 0x10], 1
sete al
jmp 0x9d7206
push 0x104
lea eax, [esp + 0x18]
push eax
push 0xaa1543
mov edx, str.CloudScanCustom
mov ecx, 0xaa154c
call fcn.00958d30
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push str.CloudScan
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
test al, al
jne 0x9d716c
cmp dword [0xc0ea74], ebx
jne 0x9d7164
cmp dword [0xc0ea70], 0xb
mov eax, 1
mov dword [esp + 0xc], eax
jbe 0x9d7164
mov cl, byte [esp + 0x14]
cmp cl, bl
je 0x9d71e1
cmp cl, 0x30
jne 0x9d71e1
xor eax, eax
mov dword [esp + 0xc], eax
jmp 0x9d71e1
cmp dword [esp + 0xc], 1
jne 0x9d71f7
cmp dword [0xc0ea70], 0xb
jbe 0x9d7189
cmp dword [0xc0ea74], 1
jne 0x9d71cf
lea edx, [esp + 0x10]
push edx
push str.CloudScanExt
mov ecx, 0xaa21e4
mov edx, 0x80000002
mov dword [esp + 0x18], ebx
call fcn.0094c0d0
cmp dword [esp + 0x10], ebx
jne 0x9d71c8
mov dword [esp + 0xc], ebx
xor eax, eax
mov esi, str.CloudScan
mov ebx, 0xaa21e4
mov ecx, 0x80000002
call fcn.0094be90
xor ebx, ebx
cmp dword [esp + 0xc], 1
jne 0x9d71f7
mov al, byte [esp + 0x14]
cmp al, bl
je 0x9d7201
cmp al, 0x30
jne 0x9d7201
mov dword [esp + 0xc], ebx
xor eax, eax
mov esi, str.CloudScan
mov ebx, 0xaa21e4
mov ecx, 0x80000002
call fcn.0094be90
xor ebx, ebx
cmp dword [esp + 0xc], ebx
jne 0x9d7201
xor eax, eax
jmp 0x9d7206
mov eax, 1
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00a78f21
add esp, 0x120
ret
Function at 0x9d8730
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0xb0e068
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
cmp ecx, eax
je 0x9d885d
cmp byte [ecx], al
je 0x9d885d
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x9d8797
sub eax, esi
lea edi, [eax + 1]
lea edx, [ebp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x9d87a6
push edi
lea esi, [ebp]
call fcn.00978150
lea eax, [edi + 0x144]
mov dword [ebp - 0x28], eax
call fcn.00966e40
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x9d87dc
mov dword [ebp - 4], 0xfffffffe
jmp 0x9d8899
mov dword [ebx], edi
push edi
lea eax, [ebp]
push eax
lea ecx, [ebx + 4]
push ecx
call fcn.00a828e0
add esp, 0xc
lea edi, [edi + ebx + 4]
mov ecx, 0x50
mov esi, dword [ebp + 0x214]
rep movsd dword es:[edi], dword [esi]
push 0xb52e44
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 1
mov dword [ebp - 0x20], esi
push 0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
push ebx
mov ecx, dword [0xbddc88]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x9d8838
mov dword [0xbddc98], esi
mov dword [ebp - 0x1c], esi
push ebx
call fcn.00a78fec
add esp, 4
xor esi, esi
mov dword [ebp - 0x24], esi
push 0xb52e44
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x9d887b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x9d889c
test esi, esi
je 0x9d8888
push esi
call fcn.00a78fec
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x9d8899
push 0xb52e44
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00a78f21
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x9dbcf0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0xb0e008
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x30], eax
mov esi, ecx
mov dword [ebp - 0x28], 0xb52dfc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax]
call fcn.00964530
test eax, eax
jne 0x9dbd6d
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x9dbe4b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9dbd72
sub eax, edx
lea ebx, [eax + 1]
mov dword [ebp - 0x2c], ebx
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
call fcn.00966e40
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x9dbd5f
mov dword [edi], ebx
mov ecx, esi
lea edx, [ebp]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x9dbda0
push ebx
lea esi, [ebp]
call fcn.00978150
push ebx
mov eax, esi
push eax
mov eax, 4
add eax, edi
push eax
call fcn.00a828e0
add esp, 0xc
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 1
mov dword [ebp - 0x1c], ebx
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x9dbdf7
mov dword [ebp - 0x24], ebx
push edi
call fcn.00a78fec
add esp, 4
xor edi, edi
mov dword [ebp - 0x20], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x9dbe2e
test edi, edi
je 0x9dbe3b
push edi
call fcn.00a78fec
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x9dbe48
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00a78f21
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x9eb230
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x9eb25d
push esi
push edi
jmp 0x9eb240
movzx esi, byte [edx]
movzx esi, byte [esi + 0xaa2da8]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x9eb240
pop edi
pop esi
ret

Function at 0x9eb2c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
lea eax, [esi*8]
push edi
mov edi, dword [esp + 0x1c]
cmp eax, 0x400
jbe 0x9eb2e0
mov esi, 0x80
cmp esi, dword [edi]
jne 0x9eb2ee
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0xbde160]
test eax, eax
je 0x9eb2f9
call eax
lea ecx, [esi*8]
push ecx
call fcn.009e7c60
mov ebp, eax
mov eax, dword [0xbde164]
add esp, 4
mov dword [esp + 0x14], ebp
test eax, eax
je 0x9eb31a
call eax
test ebp, ebp
je 0x9eb2e4
mov edx, dword [edi + 0xc]
push edx
call fcn.009e7f60
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0xb24a48]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [edi], ebx
call fcn.00a7ffb0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x9eb3aa
nop
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x9eb393
lea esp, [esp]
movzx edi, byte [esi]
movzx edi, byte [edi + 0xaa2da8]
lea ebp, [eax*8]
xor edi, ebp
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x9eb370
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
xor edx, edx
div ebx
mov esi, dword [ecx]
mov eax, ecx
lea edx, [ebp + edx*8]
call fcn.009eb260
mov ecx, esi
test esi, esi
jne 0x9eb360
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0xa05c90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
push ebp
mov ebp, dword [eax]
mov cl, byte [ebp + 4]
mov edx, dword [ebp + 0xc]
mov byte [esp + 0x3f], cl
mov ecx, dword [esp + 0x50]
mov al, byte [ecx]
push esi
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
cmp al, 0x80
jae 0xa05cd1
movzx eax, al
mov dword [esp + 0x18], eax
mov eax, 1
jmp 0xa05cdd
lea esi, [esp + 0x18]
call fcn.009eaca0
movzx eax, al
mov edi, dword [esp + 0x18]
movzx ebx, al
mov dword [esp + 0x1c], 0
add ebp, 0x14
nop
mov ecx, dword [esp + 0x58]
mov al, byte [ecx + ebx]
add ecx, ebx
cmp al, 0x80
jae 0xa05d0b
movzx eax, al
mov dword [esp + 0x20], eax
mov ecx, 1
jmp 0xa05d1b
lea esi, [esp + 0x20]
call fcn.009eaca0
movzx ecx, al
mov eax, dword [esp + 0x20]
movzx edx, cl
add ebx, edx
mov edx, dword [esp + 0x54]
lea ecx, [eax + edi + 2]
cmp ecx, edx
jbe 0xa05d45
cmp eax, 0xc
jb 0xa05d38
lea ecx, [eax - 0xc]
shr ecx, 1
jmp 0xa05d3f
movzx ecx, byte [eax + 0xaa3540]
add ecx, edi
cmp ecx, edx
ja 0xa05dbb
mov edx, dword [esp + 0x58]
lea ecx, [edi + edx]
lea esi, [esp + 0x28]
call fcn.00a05940
mov esi, dword [esp + 0x5c]
add edi, eax
mov eax, dword [ebp]
push eax
mov eax, dword [esi + 8]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.00a020c0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0xa05d9c
inc dword [esp + 0x14]
add dword [esp + 0x1c], 0x28
add ebp, 4
cmp ebx, dword [esp + 0x18]
jae 0xa05dc3
movzx ecx, word [esi + 4]
cmp dword [esp + 0x14], ecx
jl 0xa05cf0
jmp 0xa05dc3
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x14]
cmp byte [edx + ecx], 0
je 0xa05df6
neg eax
mov dword [esp + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
mov cl, byte [esi + 6]
test cl, 1
je 0xa05ddf
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
test cl, 2
jne 0xa05df6
cmp ebx, dword [esp + 0x18]
jae 0xa05df6
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0xa1a9c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov eax, ebp
test ebp, ebp
jne 0xa1a9d7
xor ebx, ebx
jmp 0xa1a9ef
cmp byte [ebp], 0
je 0xa1a9e6
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0xa1a9e0
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0xa1aab0
jmp 0xa1aa14
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0xa1aa1c
xor esi, 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0xa1aa41
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + edx]
push ecx
push eax
call fcn.009ea0e0
add esp, 8
test eax, eax
jne 0xa1aa9d
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
shl esi, 4
mov ecx, dword [esi + eax + 0xc]
add ecx, 8
cmp dword [ecx + 0xc], 0
je 0xa1aa87
xor eax, eax
mov edi, ebx
mov edx, ebp
test ebx, ebx
jle 0xa1aa81
movzx esi, byte [edx]
movzx esi, byte [esi + 0xaa2da8]
lea ebp, [eax*8]
xor esi, ebp
dec edi
xor eax, esi
inc edx
test edi, edi
jg 0xa1aa62
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0xa1aa89
xor edx, edx
push ebp
call fcn.009eb3c0
add esp, 4
test eax, eax
je 0xa1aaba
mov edi, dword [eax + 8]
test edi, edi
jne 0xa1aab0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0xa1aa10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0xa1aa9d

Function at 0xa1abb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov eax, edi
test edi, edi
jne 0xa1abc6
xor ebx, ebx
jmp 0xa1abdf
cmp byte [edi], 0
je 0xa1abd6
jmp 0xa1abd0
inc eax
cmp byte [eax], 0
jne 0xa1abd0
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov edx, dword [ecx + 0x14]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
test edx, edx
jle 0xa1aca0
mov ecx, dword [ecx + 0x10]
push esi
mov dword [esp + 0x14], ecx
jmp 0xa1ac04
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0xa1ac0c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0xa1ac31
mov eax, dword [eax]
push eax
push ecx
call fcn.009ea0e0
add esp, 8
test eax, eax
jne 0xa1ac7f
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
je 0xa1ac69
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0xa1ac63
movzx edi, byte [edx]
movzx edi, byte [edi + 0xaa2da8]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0xa1ac44
mov edi, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0xa1ac6b
xor edx, edx
push edi
call fcn.009eb3c0
add esp, 4
test eax, eax
je 0xa1ac9c
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0xa1ac92
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0xa1ac00
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0xa1ac7f
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0xa20c00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0xa20c20
mov al, byte [ebp + 0xaa3710]
mov byte [esp + 0x10], al
test edi, edi
je 0xa20ca5
cmp byte [edi], 0
mov eax, edi
je 0xa20c3b
inc eax
cmp byte [eax], 0
jne 0xa20c35
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x1a4
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0xa20c8d
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0xa20c83
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0xaa2da8]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0xa20c60
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0xa20c8f
xor edx, edx
push edi
call fcn.009eb3c0
add esp, 4
test eax, eax
je 0xa20ca1
mov eax, dword [eax + 8]
jmp 0xa20cac
xor eax, eax
jmp 0xa20cac
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
test eax, eax
je 0xa20cbc
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0xa20cdd
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0xa20c20
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret