joyce8/EMBER2024-capa huggingface dataset:
Function at 0x936250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x94a808
push 0x93a288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x936329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x936329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.009391d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x936329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x936329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x93632c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00936351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x936d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x936d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x936d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x936d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x936d94
push eax
push esi
call fcn.0093920b
add esp, 8
pop esi
ret 0x10

Function at 0x936da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x936e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x936e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x94f320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00938dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x936dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x936e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x936ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x936eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x94f320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00938dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x936eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x936e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x937000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x937131
push esi
call fcn.0093a145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00929080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x937131
push 0
push ebp
call fcn.009293a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00929260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x93708b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009292f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x937121
push 0x94f918
push edi
call fcn.009383f0
push eax
push ebx
push esi
call fcn.00936f60
push 0x94f8f8
push edi
call fcn.009383f0
push eax
push ebx
push esi
call fcn.00936f60
push 0x94f8d8
push edi
call fcn.009383f0
push eax
push ebx
push esi
call fcn.00936f60
push 0x94f8c0
push edi
call fcn.009383f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00936f60
push 0x94f8a0
push edi
call fcn.009383f0
push eax
push ebx
push esi
call fcn.00936f60
push 0x94f888
push edi
call fcn.009383f0
push eax
push ebx
push esi
call fcn.00936f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9381b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00938140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00938140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00938140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00938140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x938bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x938c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x94a87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x938c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x938c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40505a
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov edx, dword [0x40db18]
test edx, edx
mov eax, dword [0x40d3f8]
mov dword [ebp + 0x2a4], eax
je 0x404faa
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x80], 0xc0000409
call edx
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.0040505a
add ebp, 0x2a8
leave
ret
cmp ecx, dword [0x40d3f8]
jne 0x405063
ret
jmp 0x404f55

Function at 0x40545e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x40d3f8]
push esi
mov dword [ebp + 0x190], eax
xor esi, esi
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp + 0x19c]
mov dword [ebp - 0x78], 0x1ff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
jne 0x4054e3
lea eax, [ebp - 0x74]
push eax
push 0xf000f
push esi
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x19c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40547a
push dword [ebp - 0x74]
call fcn.0040545e
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x19c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x40547a
mov ecx, dword [ebp + 0x190]
pop esi
call fcn.0040505a
add ebp, 0x194
leave
ret
Function at 0x405538
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x40b4c6
call fcn.004051c0
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
mov ecx, eax
imul ecx, ecx, 0x1c
cmp eax, edx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ecx + edi + 0x14]
mov dword [ebp + 8], ecx
jge 0x40562e
push ebx
jmp 0x405569
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
imul eax, eax, 0x1c
add eax, edi
cmp ecx, dword [eax + 0x14]
jg 0x40562d
test byte [eax + 0x18], 0x10
je 0x40558f
push ecx
push edi
mov eax, esi
call fcn.004054f7
pop ecx
pop ecx
jmp 0x405622
xor ebx, ebx
mov dword [ebp + 0x14], ebx
mov ecx, dword [eax + 0x18]
and cl, 0x20
neg cl
lea edx, [ebp + 0x14]
push edx
mov dword [ebp - 4], ebx
sbb ecx, ecx
and ecx, 0xfff0fff9
add ecx, 0xf000f
push ecx
push ebx
push dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4055fd
mov eax, dword [esi]
mov ecx, eax
imul ecx, ecx, 0x1c
add ecx, edi
mov edx, dword [ecx + 0x18]
test dl, dl
jns 0x40563c
push dword [ebp + 0x14]
call fcn.0040545e
cmp dword [ebp + 0x14], ebx
pop ecx
je 0x4055ec
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x14], ebx
mov eax, dword [esi]
imul eax, eax, 0x1c
push dword [eax + edi]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push edi
mov eax, esi
call fcn.004054f7
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x14], ebx
je 0x405622
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x14], ebx
mov edx, dword [ebp + 0xc]
cmp dword [esi], edx
jl 0x405566
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
test dl, 0x20
je 0x405656
push esi
push dword [ebp + 0x14]
inc eax
push dword [ebp + 0xc]
mov dword [esi], eax
push edi
call fcn.00405538
add esp, 0x10
jmp 0x40560d
test dl, 0x40
je 0x40560d
mov ebx, dword [ecx]
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [esi], eax
jge 0x405682
mov ecx, dword [ebp + 8]
imul eax, eax, 0x1c
inc ecx
cmp ecx, dword [eax + edi + 0x14]
jne 0x405682
push esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00405538
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x405695
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp + 0x14], 0
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x14], 0
je 0x405622
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp + 0x14], 0
jmp 0x405622
Function at 0x40a7ec
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x40b8b5
call fcn.004051c0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x402ef8
mov dword [esi + 4], 0x402f5c
mov dword [esi + 8], 0x402ed8
mov dword [esi + 0xc], 0x402ec8
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 9
call fcn.0040ad5b
push dword [esi + 0x34]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
xor ebx, ebx
mov dword [esi + 0x34], ebx
push dword [esi + 0x30]
call edi
mov dword [esi + 0x30], ebx
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x2c], ebx
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
push dword [esi + 0x24]
call edi
mov dword [esi + 0x24], ebx
push dword [esi + 0x20]
call edi
mov dword [esi + 0x20], ebx
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x1c], ebx
push dword [esi + 0x18]
call edi
mov dword [esi + 0x18], ebx
push dword [esi + 0x14]
call edi
mov dword [esi + 0x14], ebx
push dword [esi + 0x10]
call edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x10], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40aa4c
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
mov eax, 0x40b8b5
call fcn.004051c0
push ecx
mov eax, dword [0x40d9bc]
push ebx
push esi
mov esi, ecx
mov dword [0x40db60], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor ebx, ebx
lea eax, [esi + 0x10]
push ebx
push eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x402ef8
mov dword [esi + 4], 0x402f5c
mov dword [esi + 8], 0x402ed8
mov dword [esi + 0xc], 0x402ec8
call edi
lea eax, [esi + 0x14]
push ebx
push eax
mov dword [ebp - 4], ebx
call edi
lea eax, [esi + 0x18]
push ebx
push eax
call edi
lea eax, [esi + 0x1c]
push ebx
push eax
call edi
lea eax, [esi + 0x20]
push ebx
push eax
call edi
lea eax, [esi + 0x24]
push ebx
push eax
call edi
lea eax, [esi + 0x28]
push ebx
push eax
call edi
lea eax, [esi + 0x2c]
push ebx
push eax
call edi
lea eax, [esi + 0x30]
push ebx
push eax
call edi
lea eax, [esi + 0x34]
push ebx
push eax
call edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
mov dword [esi + 0x38], 0x7530
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
mov dword [esi + 0x44], 0x12
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
call fcn.0040ad12
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x74], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48b201
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0048b280
jae 0x48b20d
xor ecx, ecx
call fcn.0048b280
jae 0x48b237
xor eax, eax
call fcn.0048b280
jae 0x48b248
mov al, 0x10
call fcn.0048b280
adc al, al
jae 0x48b229
jne 0x48b275
stosb byte es:[edi], al
jmp 0x48b20e
call fcn.0048b28c
dec ecx
loop 0x48b254
mov eax, ebp
call fcn.0048b28a
jmp 0x48b276
lodsb al, byte [esi]
shr eax, 1
je 0x48b29c
adc ecx, 2
mov ebp, eax
jmp 0x48b276
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0048b28a
cmp eax, 0x7d00
jae 0x48b274
cmp eax, 0x500
jae 0x48b275
cmp eax, 0x7f
ja 0x48b276
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x48b20e
pop ebp
ret 8
Function at 0x410b90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410bbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410bbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xa2c360
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx]
push esi
xor esi, esi
test al, al
je 0xa2c387
mov edx, edi
sub edx, ecx
push ebx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc esi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
cmp byte [ecx], 0
jne 0xa2c372
pop ebx
mov byte [esi + edi], 0
mov eax, edi
pop esi
ret

Function at 0xa2c390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0x25
call fcn.00a2c070
mov cl, byte [eax]
mov byte [ebx], cl
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
je 0xa2c3c5
mov esi, ebx
sub esi, eax
mov dl, byte [eax + 1]
mov cl, byte [esi + eax]
inc edi
inc eax
dec dl
xor dl, cl
mov byte [esi + eax], dl
cmp byte [eax], 0
jne 0xa2c3b1
mov eax, ebx
mov byte [edi + ebx], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2c3d0
sub eax, edx
mov byte [eax + ebx], 0x3a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2c3e2
sub eax, edx
mov byte [eax + ebx], 0x20
mov eax, dword [esp + 0x10]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2c3f5
mov edi, ebx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xa2c401
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2c420
sub eax, edx
test ebp, ebp
mov byte [eax + ebx], 0x28
je 0xa2c459
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2c435
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xa2c441
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, ebx
pop esi
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2c461
sub eax, edx
mov byte [eax + ebx], 0x29
ret

Function at 0xa2c7c0
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [ecx + 0x3c]
movzx eax, word [edx + ecx + 0x14]
add eax, edx
lea eax, [eax + ecx + 0x18]
movzx ecx, word [edx + ecx + 6]
lea ecx, [ecx + ecx*4]
push esi
lea esi, [eax + ecx*8]
cmp eax, esi
jae 0xa2c7fe
mov edi, edi
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xa2c7ea
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp edx, edi
ja 0xa2c7f7
add edx, ecx
cmp edi, edx
jb 0xa2c800
add eax, 0x28
cmp eax, esi
jb 0xa2c7e0
xor eax, eax
pop esi
ret
Function at 0xa2ce60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
push 0
push 0
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0x400
push ebx
push 0
push 0x1300
call dword [esi + 0x7c]
test eax, eax
je 0xa2ceba
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [esp + 0xc]
push 0x10
push edx
push ecx
push 0
call eax
mov edx, dword [esp + 0xc]
push edx
mov edi, eax
call dword [esi + 0x34]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, ebx
mov esi, ecx
nop
xor edx, edx
mov edi, 0x10
div edi
cmp edx, 9
jbe 0xa2cef3
add dl, 0x57
jmp 0xa2cef6
add dl, 0x30
mov byte [ecx], dl
inc ecx
test eax, eax
ja 0xa2cee0
mov byte [ecx], 0
dec ecx
mov dl, byte [esi]
mov al, byte [ecx]
mov byte [ecx], dl
dec ecx
mov byte [esi], al
inc esi
cmp esi, ecx
jb 0xa2cf01
push 0x22
call fcn.00a2c070
mov cl, byte [eax]
mov byte [esp + 0x24], cl
mov cl, byte [eax]
add esp, 4
xor esi, esi
test cl, cl
je 0xa2cf44
lea ecx, [esp + 0x20]
sub ecx, eax
lea ecx, [ecx]
mov dl, byte [eax + 1]
mov bl, byte [ecx + eax]
inc esi
inc eax
dec dl
xor dl, bl
mov byte [ecx + eax], dl
cmp byte [eax], 0
jne 0xa2cf30
lea eax, [esp + 0x20]
mov byte [esp + esi + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cf50
sub eax, edx
mov byte [esp + eax + 0x20], 0x28
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cf65
sub eax, edx
mov byte [esp + eax + 0x20], 0x29
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cf80
sub eax, edx
mov bl, 0x20
mov byte [esp + eax + 0x20], bl
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cf96
sub eax, edx
mov byte [esp + eax + 0x20], 0x3d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
jmp 0xa2cfb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cfb0
sub eax, edx
mov byte [esp + eax + 0x20], bl
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cfc4
sub eax, edx
mov byte [esp + eax + 0x20], 0x30
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cfe0
sub eax, edx
mov byte [esp + eax + 0x20], 0x78
lea eax, [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xa2cff4
lea edi, [esp + 0x20]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xa2d002
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push 0x10
push edx
lea ecx, [esp + 0x28]
push ecx
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa2d040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x14
stosb byte es:[edi], al
call fcn.00a2c070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xa2d095
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xa2d080
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xa2d080
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00a2c390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00a2ce60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa2d0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 7
stosb byte es:[edi], al
call fcn.00a2c070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0xa2d124
lea esi, [esp + 0xc]
sub esi, eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0xa2d110
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xa2d130
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.00a2c390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00a2ce60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa2d170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
stosb byte es:[edi], al
call fcn.00a2c070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xa2d1c5
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xa2d1b0
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xa2d1b0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00a2c390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00a2ce60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret