joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005a600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x1005a62b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x1005a61e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x1005a65d
cmp dword [esi + 8], 0
jne 0x1005a64f
push 0x10107a58
push dword [eax + 8]
call fcn.10063d47
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x1005a64f
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call fcn.10064049
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1005a67f
mov eax, dword [esi + 8]
test eax, eax
je 0x1005a679
push eax
call fcn.10063e0d
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x1005cf30
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1005cf62
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
pop ebp
ret

Function at 0x1005e010
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, ecx
push 0x401
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + 0x400], 0
test eax, eax
jne 0x1005e041
push 0x2e
push esi
call fcn.100669e0
add esp, 8
test eax, eax
je 0x1005e03f
mov byte [eax], 0
xor eax, eax
pop esi
ret
Function at 0x1005e9c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10115770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push edi
push 0xf0000000
push 1
push 0
push 0
push eax
mov esi, edx
mov dword [ebp - 0xc], 8
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1005ea53
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movdqu xmmword [ebp - 0x24], xmm0
lea edx, [ebp - 0x18]
mov word [ebp - 0x24], 0x208
mov ecx, ebx
mov dword [ebp - 0x20], 0x6601
mov dword [ebp - 0x1c], 8
call fcn.1005e930
mov ecx, edx
call fcn.1005fae0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1005ea66
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100626a1
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100626a1
mov esp, ebp
pop ebp
ret
Function at 0x1005ebf0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10115770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
push esi
mov esi, eax
mov dword [ebp - 8], eax
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1005ec10
sub esi, ecx
lea eax, [esi + esi]
push eax
call dword [0x10117540]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1005ec40
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100626a1
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov ecx, edi
push esi
call fcn.1005e210
add esp, 4
lea eax, [ebp - 8]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1005ecbe
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1005ecb3
push 0
lea eax, [esi + esi]
mov dword [ebp - 0x10], 0x10
push eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebx + 0x10], 0
push edi
mov byte [ebx + 0x14], 0
call dword [0x10117554]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.100626a1
mov esp, ebp
pop ebp
ret
Function at 0x1005ef70
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10115770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2c
mov edi, edx
call dword [0x10117540]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1005efa5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100626a1
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], fcn.1005cf30
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp ebx, 0x40
jbe 0x1005efed
push ecx
call dword [0x10107650]
push ebx
push edi
push dword [esi + 4]
call dword [0x10107654]
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call dword [0x10107658]
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push dword [esi + 4]
call dword [0x10107650]
push dword [esi + 8]
call dword [0x10107650]
add esp, 8
xor eax, eax
test ebx, ebx
je 0x1005f050
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov edi, edi
movzx eax, byte [edi]
xor al, 0x36
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 4]
call dword [0x10107654]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor al, 0x5c
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 8]
call dword [0x10107654]
add esp, 0x18
dec ebx
jne 0x1005f010
cmp dword [ebp + 8], 0x40
jae 0x1005f086
mov eax, dword [ebp - 0x10]
mov edi, 0x40
sub edi, eax
jmp 0x1005f060
push 1
push 0x101069e1
push dword [esi + 4]
call dword [0x10107654]
push 1
push 0x101069e2
push dword [esi + 8]
call dword [0x10107654]
add esp, 0x18
dec edi
jne 0x1005f060
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100626a1
mov esp, ebp
pop ebp
ret

Function at 0x1005fe50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dbfd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10115770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x1005fe91
push 0xffffffffffffffff
push 0
push eax
call fcn.1001a610
lea ecx, [esi + 4]
lea eax, [ebp + 0xc]
cmp ecx, eax
je 0x1005fea5
push 0xffffffffffffffff
push 0
push eax
call fcn.1001a610
mov eax, dword [ebp + 0x24]
push dword [esi + 0x50]
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push esi
push 0x100600c0
push 0
push 0
call fcn.100634e2
add esp, 0x18
mov dword [esi + 0x4c], eax
push 0xffffffffffffffff
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
cmp dword [ebp + 0x20], 8
jb 0x1005fef8
push dword [ebp + 0xc]
call fcn.1006269c
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x1007f9be
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10115770]
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.1006b7e8
mov dword [ebp - 0x14], eax
cmp dword [0x10118d3c], esi
jne 0x1007fab1
push 0x800
push esi
push 0x100e3f68
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007fa3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007fb91
push esi
push esi
push 0x100e3f68
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007fb91
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007fb91
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x10118d3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x10118d40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100e3fb0
push edi
mov dword [0x10118d44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10118d4c], eax
test eax, eax
je 0x1007faae
push 0x100e3fcc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10118d48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007fad6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007fac9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007faeb
push 4
pop eax
jmp 0x1007fb93
cmp dword [ebp - 0x14], esi
je 0x1007faeb
push dword [0x10118d3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007fad0
mov eax, dword [0x10118d48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007fb49
cmp dword [0x10118d4c], edi
je 0x1007fb49
push eax
call ebx
push dword [0x10118d4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007fb49
test eax, eax
je 0x1007fb49
call ecx
test eax, eax
je 0x1007fb3e
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 0x1007fb3e
test byte [ebp - 8], 1
jne 0x1007fb49
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007fb79
mov eax, dword [0x10118d40]
cmp eax, edi
je 0x1007fb76
push eax
call ebx
test eax, eax
je 0x1007fb76
call eax
mov esi, eax
test esi, esi
je 0x1007fb76
mov eax, dword [0x10118d44]
cmp eax, edi
je 0x1007fb76
push eax
call ebx
test eax, eax
je 0x1007fb76
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10118d3c]
call ebx
test eax, eax
je 0x1007fb91
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007fb93
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100626a1
mov esp, ebp
pop ebp
ret
Function at 0x10088220
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x10088245
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
dec esi
jne 0x10088236
pop edi
movzx eax, dl
pop esi
ret

Function at 0x100884c0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.100806d0
mov eax, dword [0x10115770]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x10088547
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10088547
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.100d9b06
add esp, 0x10
lea ecx, [esp + 4]
test eax, eax
push 0
push ecx
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100626a1
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.100d9b06
add esp, 0x10
mov byte [esp + 0x107], 0
call fcn.10088380
test eax, eax
jle 0x100885cb
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x100885df
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100626a1
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.100626a1
add esp, 0x108
ret
Function at 0x10089e70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.100806d0
mov ecx, dword [esp + 0x28]
mov edx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
cmp esi, 0x10
jb 0x10089eed
mov eax, esi
shr eax, 4
mov dword [esp + 0x10], eax
mov edi, edi
mov eax, edi
sub edx, ebp
sub eax, ebp
mov ecx, ebp
mov dword [esp + 0x14], eax
mov ebx, 4
mov esi, eax
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
dec ebx
jne 0x10089eb3
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov edx, edi
sub esi, 0x10
add esp, 0xc
add ebp, 0x10
mov dword [esp + 0x30], esi
add edi, 0x10
dec dword [esp + 0x10]
jne 0x10089ea0
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x10089ff9
mov ebx, edi
mov ecx, edx
sub ebx, ebp
sub ecx, ebp
mov dword [esp + 0x14], ebx
xor eax, eax
mov ebx, 1
mov dword [esp + 0x20], ecx
sub ebx, ebp
mov dword [esp + 0x10], ebx
mov ebx, 2
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov ebx, 3
sub ebx, ebp
mov dword [esp + 0x1c], ebx
cmp eax, esi
jae 0x10089f9a
mov esi, dword [esp + 0x14]
lea ebx, [eax + ebp]
mov cl, byte [ecx + ebx]
xor cl, byte [ebx]
mov byte [esi + ebx], cl
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add ecx, ebx
cmp ecx, esi
jae 0x10089f99
mov cl, byte [eax + ebp + 1]
xor cl, byte [eax + edx + 1]
mov byte [edi + eax + 1], cl
mov ecx, dword [esp + 0x18]
add ecx, ebx
cmp ecx, esi
jae 0x10089f94
mov cl, byte [eax + ebp + 2]
xor cl, byte [eax + edx + 2]
mov byte [edi + eax + 2], cl
mov ecx, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, esi
jae 0x10089f8f
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + edx + 3]
mov byte [edi + eax + 3], cl
add eax, 4
mov ecx, dword [esp + 0x20]
cmp eax, 0x10
jb 0x10089f28
jmp 0x10089fbc
add eax, 3
jmp 0x10089f9a
add eax, 2
jmp 0x10089f9a
inc eax
cmp eax, 0x10
jae 0x10089fbc
mov ebx, 0x10
lea ecx, [eax + edi]
sub edx, edi
sub ebx, eax
jmp 0x10089fb0
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec ebx
jne 0x10089fb0
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
add esp, 0xc
mov edx, edi
cmp esi, 0x10
jbe 0x10089fe5
sub esi, 0x10
add ebp, 0x10
add edi, 0x10
mov dword [esp + 0x30], esi
test esi, esi
jne 0x10089ef5
mov eax, dword [esp + 0x38]
movdqu xmm0, xmmword [edx]
pop edi
pop esi
pop ebp
movdqu xmmword [eax], xmm0
pop ebx
add esp, 0x14
ret
movdqu xmm0, xmmword [edx]
pop edi
pop esi
pop ebp
movdqu xmmword [ecx], xmm0
pop ebx
add esp, 0x14
ret
Function at 0x1008a010
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.100806d0
mov ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x3c]
mov edi, dword [edi]
test edi, edi
je 0x1008a04d
test esi, esi
je 0x1008a04d
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
jne 0x1008a038
mov edx, dword [esp + 0x34]
cmp esi, 0x10
jb 0x1008a0e3
mov eax, ebp
xor edi, edi
sub eax, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov edi, ebx
mov eax, esi
sub edi, ecx
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
lea esp, [esp]
push dword [esp + 0x30]
push ebp
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.1008a290
add esp, 0x10
mov eax, ebp
mov edx, 4
mov edi, edi
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
dec edx
jne 0x1008a0b0
mov edx, dword [esp + 0x34]
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
dec dword [esp + 0x2c]
jne 0x1008a090
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x1008a120
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.1008a290
mov eax, dword [esp + 0x48]
add esp, 0x10
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
jmp 0x1008a110
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec esi
jne 0x1008a110
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1008a130
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.100806d0
mov edx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [edx]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
test edi, edi
je 0x1008a17d
mov ecx, dword [esp + 0x30]
test esi, esi
je 0x1008a17d
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
mov dword [esp + 0x10], esi
and edi, 0xf
mov dword [esp + 0x14], edi
jne 0x1008a160
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
bswap ecx
mov dword [esp + 0x24], ecx
cmp esi, 0x10
jb 0x1008a218
mov edi, esi
shr edi, 4
add ecx, edi
mov dword [esp + 0x24], ecx
cmp ecx, edi
jae 0x1008a1aa
sub edi, ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
push eax
push dword [esp + 0x2c]
push edi
push ebx
push ebp
call dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
mov eax, ecx
bswap eax
mov dword [edx + 0xc], eax
test ecx, ecx
jne 0x1008a1fa
mov esi, dword [esp + 0x2c]
mov edx, 0xc
mov ecx, 1
lea ebx, [ebx]
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x1008a1e0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
shl edi, 4
sub esi, edi
add ebx, edi
add ebp, edi
mov dword [esp + 0x10], esi
cmp esi, 0x10
jae 0x1008a193
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
test esi, esi
je 0x1008a27e
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
push eax
push dword [esp + 0x2c]
push 1
push ecx
push ecx
movdqu xmmword [ecx], xmm0
call dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
inc eax
bswap eax
mov dword [edx + 0xc], eax
jne 0x1008a250
push edx
call fcn.1008a2c0
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
lea ecx, [ecx]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
dec esi
jne 0x1008a260
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [edx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1008a2f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.100806d0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esi]
test esi, esi
je 0x1008a32d
mov ecx, dword [esp + 0x34]
test edi, edi
je 0x1008a32d
mov al, byte [esi + ecx]
dec edi
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebp
inc ebx
and esi, 0xf
jne 0x1008a318
mov edx, dword [esp + 0x3c]
cmp edi, 0x10
jb 0x1008a3c2
mov ecx, dword [esp + 0x34]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x1008a374
mov ecx, dword [esp + 0x34]
push dword [esp + 0x30]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x1008a3a5
mov eax, dword [esp + 0x34]
mov edx, 0xf
sub edx, esi
add eax, esi
shr edx, 2
inc edx
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x1008a395
mov edx, dword [esp + 0x3c]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x1008a370
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x1008a3f2
push dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push eax
push eax
call edx
mov eax, dword [esp + 0x40]
add esp, 0xc
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x1008a3e2
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1008a400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5c
call fcn.100806d0
mov eax, dword [0x10115770]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x70], ecx
jbe 0x1008a590
lea eax, [esp + 0x3c]
sub eax, ebx
push ebp
push esi
mov dword [esp + 0x28], eax
mov esi, ebx
lea eax, [esp + 0x45]
sub esi, eax
lea eax, [ebx + 2]
lea edx, [eax - 1]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
movdqu xmm0, xmmword [ebx]
mov eax, ecx
mov ebp, 7
and eax, 7
mov edx, 1
sub ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
shr eax, 3
mov dword [esp + 0x24], eax
push edi
push ebx
mov al, byte [eax + ecx]
mov ecx, ebp
shl edx, cl
and al, dl
mov dword [esp + 0x48], ebp
neg al
push ebx
sbb al, al
and al, 0x80
mov byte [esp + 0x1f], al
movdqu xmmword [esp + 0x50], xmm0
call dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x88], 0
je 0x1008a4d3
movzx edx, byte [ebx]
movzx eax, byte [esp + 0x13]
xor edx, eax
mov byte [esp + 0x54], dl
jmp 0x1008a4df
mov al, byte [esp + 0x13]
mov dl, byte [ebx]
mov byte [esp + 0x54], al
xor dl, al
mov dword [esp + 0x18], edx
xor ebp, ebp
mov edx, dword [esp + 0x28]
lea esp, [esp]
lea edi, [esp + 0x45]
add edi, ebp
add esi, edi
mov ah, byte [edi]
movzx ecx, byte [esi + edx]
mov al, ah
mov bl, byte [edi + 1]
add cl, cl
shr al, 7
add ah, ah
or cl, al
mov al, bl
shr al, 7
add bl, bl
mov byte [esi], cl
or al, ah
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov byte [ecx + ebp], al
mov cl, byte [edi + 2]
mov al, cl
add cl, cl
shr al, 7
or al, bl
mov ebx, dword [esp + 0x30]
mov byte [ebx + ebp], al
mov al, byte [edi + 3]
shr al, 7
or al, cl
mov byte [ebx + ebp + 1], al
add ebp, 4
cmp ebp, 0x10
jl 0x1008a4f0
mov cl, byte [esp + 0x14]
mov al, 1
mov edx, dword [esp + 0x18]
and cl, 7
mov ebx, dword [esp + 0x2c]
and dl, 0x80
mov edi, dword [esp + 0x3c]
shr dl, cl
mov ecx, dword [esp + 0x40]
shl al, cl
mov ecx, dword [esp + 0x24]
not al
and al, byte [ecx + ebx]
or dl, al
mov byte [ecx + ebx], dl
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x78]
jb 0x1008a470
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
pop edi
pop ebx
xor ecx, esp
call fcn.100626a1
add esp, 0x5c
ret