joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006480
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bbae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push esi
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
push edi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov edi, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
push 0
push 0
push 1
mov dword [ebp - 4], 0
push 0x10083fc0
mov dword [ebp - 0x18], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100065ca
push 0
push 0x80000000
push 0
push 0
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100065c5
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push 0x400
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100065c0
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x100065ba
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x10006586
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10006569
mov eax, dword [esi]
lea esi, [eax + ecx]
push edi
lea eax, [ebp - 0x424]
push eax
push esi
call fcn.10047c20
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x1c]
jmp 0x1000659d
push edi
lea eax, [ebp - 0x424]
mov byte [ebp - 0x20], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push edi
call fcn.1000cb60
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10006545
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x24]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10008680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bd8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
lea ecx, [edi + 0x68]
mov dword [edi], 0x10084b94
mov dword [edi + 0x10], 0x10084568
call fcn.1000b750
mov dword [ebp - 4], 0
mov eax, dword [edi]
push 0
push 0
mov dword [ebp - 0x18], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ebx, dword [eax + 4]
add ebx, edi
mov ecx, ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.10001f70
push 8
call fcn.10045eab
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 3
call fcn.1004505b
mov dword [esi + 4], eax
add esp, 4
lea eax, [edi + 0x18]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
call fcn.1000c210
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp - 0x11], al
call dword [edx + 8]
test eax, eax
je 0x100087c0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [ebx + 0x38], 0
mov al, byte [ebp - 0x11]
mov byte [ebx + 0x40], al
jne 0x100087dc
mov eax, dword [ebx + 0xc]
mov ecx, ebx
push 0
or eax, 4
push eax
call fcn.10001f70
lea edx, [edi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 7
mov eax, dword [edi]
push ecx
push dword [ebp + 8]
lea ecx, [edi + 0x18]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [edx + edi - 4], eax
call fcn.1000b590
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000b190
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bfc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c
push esi
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push 0x40
movups xmmword [ebp - 0x2c], xmm0
call fcn.10045eab
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov edx, eax
mov dword [ebp - 0x1c], 0x37
add esp, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x3f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x10084100]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x10084110]
movups xmmword [edx + 0x20], xmm0
mov eax, dword [0x10084120]
mov dword [edx + 0x30], eax
mov ax, word [0x10084124]
mov word [edx + 0x34], ax
mov al, byte [0x10084126]
mov byte [edx + 0x36], al
mov byte [edx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.1000a4d0
mov ecx, dword [ebp - 0x18]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0xf
jbe 0x1000b289
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b27f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b2a3
push ecx
push edx
call fcn.100461f5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10056166
int3
Function at 0x1000b2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bfc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c
push esi
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push 0x40
movups xmmword [ebp - 0x2c], xmm0
call fcn.10045eab
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov edx, eax
mov dword [ebp - 0x1c], 0x37
add esp, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x3f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x10084100]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x10084110]
movups xmmword [edx + 0x20], xmm0
mov eax, dword [0x10084120]
mov dword [edx + 0x30], eax
mov ax, word [0x10084124]
mov word [edx + 0x34], ax
mov al, byte [0x10084126]
mov byte [edx + 0x36], al
mov byte [edx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.1000a4d0
mov ecx, dword [ebp - 0x18]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0xf
jbe 0x1000b3a9
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b39f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b3c3
push ecx
push edx
call fcn.100461f5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::Filter_::InputRejected.0
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10056166
int3
Function at 0x1000b590
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c01d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10045eab
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004505b
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000c1a0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp + 8], esi
cmp dword [esi + 0x14], 0xf
jbe 0x1000b650
mov eax, dword [esi]
mov dword [ebp + 8], eax
mov esi, dword [esi + 0x10]
xor eax, eax
cmp esi, 0x7fffffff
ja 0x1000b6f3
test esi, esi
je 0x1000b6d8
cmp esi, 0x1000
jb 0x1000b690
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1000b6f8
push eax
call fcn.10045eab
add esp, 4
test eax, eax
je 0x1000b6fd
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1000b69b
push esi
call fcn.10045eab
add esp, 4
mov ebx, eax
push esi
push dword [ebp + 8]
push ebx
call fcn.10047c20
mov eax, dword [edi + 0xc]
lea ecx, [ebx + esi]
mov dword [edi + 0x38], ecx
add esp, 0xc
mov dword [eax], ebx
mov eax, dword [edi + 0x1c]
mov dword [eax], ebx
mov eax, dword [edi + 0x2c]
mov dword [eax], esi
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x38]
sub ecx, ebx
mov dword [eax], ebx
mov eax, dword [edi + 0x20]
mov dword [eax], ebx
mov eax, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, 1
jmp 0x1000b6db
mov dword [edi + 0x38], eax
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x3c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.10044e4d
call fcn.10001430
call fcn.10056166
int3
Function at 0x1001b040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c4e5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10092100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
push 0x40
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.1000e8f0
movups xmm0, xmmword [str.Integer:_no_integer_satisfies_the_given_parameters]
mov edi, eax
mov dword [ebp - 0x18], 0x32
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], 0x3f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x1007349c]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x100734ac]
movups xmmword [edi + 0x20], xmm0
mov ax, word [0x100734bc]
mov word [edi + 0x30], ax
mov byte [edi + 0x32], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
mov dword [esi], vtable.CryptoPP::Exception.0
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 6
movups xmmword [esi + 0x10], xmm0
push 0x40
mov byte [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
call fcn.1000e8f0
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], 0x32
mov dword [esi + 0x24], 0x3f
movups xmm0, xmmword [edi]
push 0x40
push edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
mov cx, word [edi + 0x30]
mov word [eax + 0x30], cx
mov cl, byte [edi + 0x32]
mov byte [eax + 0x32], cl
call fcn.100461f5
mov eax, esi
add esp, 8
mov dword [eax], vtable.CryptoPP::Integer::RandomNumberNotFound.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10046592
mov esp, ebp
pop ebp
ret
Function at 0x1002fff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x10098688], 0
jne 0x1002fffe
call fcn.10041240
cmp byte [0x10098692], 0
je 0x1003001c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100418e0
add esp, 0x10
ret
jmp fcn.1002e2f0

Function at 0x10034af0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d5bd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10092100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x10034b66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x10034b66
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
je 0x10034b84
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10046592
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.1000a490
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.10034c50
push 0x1008f1f0
lea eax, [ebp - 0x50]
push eax
call fcn.10047bab
int3

Function at 0x10035050
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ef49
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10092100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100988f0]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10097620]
cmp eax, dword [ecx + 4]
jg 0x100350c8
push esi
push dword [ebp + 0xc]
push dword [0x1009761c]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1003510f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10046592
mov esp, ebp
pop ebp
ret 8
push 0x10097620
call fcn.10045e2f
add esp, 4
cmp dword [0x10097620], 0xffffffff
jne 0x10035098
mov ecx, 0x1009761c
mov dword [ebp - 4], 0
call fcn.10034af0
push 0x10070560
call fcn.100461e0
push 0x10097620
mov dword [ebp - 4], 0xffffffff
call fcn.10045dde
add esp, 8
jmp 0x10035098
push 0x1007452c
lea ecx, [ebp - 0x28]
call fcn.1000a490
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.10034c50
push 0x1008f1f0
lea eax, [ebp - 0x50]
push eax
call fcn.10047bab
int3
Function at 0x10035140
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ef99
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10092100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], ebx
test ebx, ebx
jne 0x10035182
xor esi, esi
jmp 0x1003518d
push ebx
call fcn.10037df0
add esp, 4
mov esi, eax
mov dword [ebp - 0x5c], esi
push 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.10014a20
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], vtable.CryptoPP::NonblockingRng.0
call fcn.10034af0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100988f0]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10097620]
cmp eax, dword [ecx + 4]
jg 0x10035244
push esi
push ebx
push dword [0x1009761c]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1003528c
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0
mov dword [ebp - 0x58], vtable.CryptoPP::NonblockingRng.0
test eax, eax
je 0x10035201
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [edi]
mov ecx, edi
push ebx
push esi
call dword [eax + 0x10]
mov dword [ebp - 4], 5
test esi, esi
je 0x10035226
xor al, al
mov edi, esi
mov ecx, ebx
rep stosb byte es:[edi], al
push esi
call fcn.10037e50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10046592
mov esp, ebp
pop ebp
ret 8
push 0x10097620
call fcn.10045e2f
add esp, 4
cmp dword [0x10097620], 0xffffffff
jne 0x100351d0
mov ecx, 0x1009761c
mov byte [ebp - 4], 2
call fcn.10034af0
push 0x10070560
call fcn.100461e0
push 0x10097620
mov byte [ebp - 4], 1
call fcn.10045dde
add esp, 8
jmp 0x100351d0
push 0x1007452c
lea ecx, [ebp - 0x28]
call fcn.1000a490
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.10034c50
push 0x1008f1f0
lea eax, [ebp - 0x50]
push eax
call fcn.10047bab
int3
Function at 0x1003ad60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
cmp eax, 4
jb 0x1003ad94
mov esi, eax
shr esi, 2
nop dword [eax]
mov ecx, dword [edi]
sub eax, 4
xor ecx, dword [edx]
add edi, 4
or ebx, ecx
add edx, 4
sub esi, 1
jne 0x1003ad80
mov esi, ebx
mov ecx, ebx
shr esi, 8
xor ebp, ebp
or esi, ebx
shr ecx, 0x10
and esi, 0xff00
or esi, ecx
movzx ecx, bl
shr esi, 8
or esi, ecx
test eax, eax
je 0x1003ae74
mov ebx, edi
sub ebx, edx
cmp eax, 8
jb 0x1003ae53
mov ecx, eax
xorps xmm4, xmm4
and ecx, 0xfffffff8
xorps xmm3, xmm3
mov dword [esp + 0x1c], ecx
lea ecx, [edx + 4]
nop dword [eax]
movd xmm2, dword [edi + ebp]
lea ecx, [ecx + 8]
movd xmm1, dword [ecx - 0xc]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
add ebp, 8
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [ecx - 8]
orps xmm4, xmm2
movd xmm2, dword [ebx + ecx - 8]
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp ebp, dword [esp + 0x1c]
jb 0x1003ade0
orps xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd ecx, xmm3
or esi, ecx
cmp ebp, eax
jae 0x1003ae74
lea edi, [edx + ebp]
sub eax, ebp
nop dword [eax + eax]
movzx edx, byte [ebx + edi]
lea edi, [edi + 1]
movzx ecx, byte [edi - 1]
xor edx, ecx
or esi, edx
sub eax, 1
jne 0x1003ae60
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
ret
Function at 0x1003ae80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x18
test eax, eax
je 0x1003b016
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
push edi
cmp eax, 4
jb 0x1003aec3
mov edi, eax
shr edi, 2
mov ecx, dword [edx]
sub eax, 4
xor ecx, dword [ebx]
add edx, 4
mov dword [esi], ecx
add ebx, 4
add esi, 4
sub edi, 1
jne 0x1003aea8
mov dword [esp + 0x34], eax
push ebp
xor ebp, ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
test eax, eax
je 0x1003b012
cmp eax, 8
jb 0x1003aff7
lea ecx, [ebx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x1003aef5
cmp edi, ebx
jae 0x1003aff7
lea ecx, [edx - 1]
add ecx, eax
cmp esi, ecx
ja 0x1003af06
cmp edi, edx
jae 0x1003aff7
cmp eax, 0x40
jb 0x1003afa8
mov edi, eax
mov ecx, eax
and edi, 0x3f
mov eax, esi
sub eax, ebx
mov dword [esp + 0x24], edi
sub ecx, edi
mov dword [esp + 0x10], eax
mov edi, edx
mov dword [esp + 0x20], ecx
sub edi, ebx
lea ecx, [ebx + 0x10]
mov ebx, dword [esp + 0x10]
mov eax, edx
sub eax, esi
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x20]
nop
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [edx + ebp]
lea eax, [eax + 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ebx + ecx - 0x40], xmm1
mov ebx, dword [esp + 0x1c]
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [esp + 0x10]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [edx + ebp + 0x30]
add ebp, 0x40
movups xmm0, xmmword [ecx - 0x20]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x1003af40
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
jb 0x1003aff3
jmp 0x1003afac
mov edi, edx
sub edi, ebx
and eax, 0xfffffff8
lea ecx, [ebx + ebp]
mov dword [esp + 0x20], eax
mov eax, esi
sub eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
nop word [eax + eax]
movq xmm1, qword [ecx + edi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add ebp, 8
xorps xmm1, xmm0
movq qword [ecx + edx - 8], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x1003afd0
mov edx, dword [esp + 0x18]
cmp ebp, eax
jae 0x1003b012
sub edx, ebx
lea edi, [ebx + ebp]
sub esi, ebx
sub eax, ebp
mov cl, byte [edi + edx]
lea edi, [edi + 1]
xor cl, byte [edi - 1]
mov byte [edi + esi - 1], cl
sub eax, 1
jne 0x1003b000
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x1003b020
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1003b141
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
cmp eax, 4
jb 0x1003b053
mov edi, eax
shr edi, 2
mov ecx, dword [esi]
sub eax, 4
xor dword [edx], ecx
add esi, 4
add edx, 4
sub edi, 1
jne 0x1003b041
push ebx
xor ebx, ebx
test eax, eax
je 0x1003b13e
cmp eax, 8
jb 0x1003b121
lea ecx, [esi - 1]
lea edi, [edx - 1]
add ecx, eax
add edi, eax
cmp edx, ecx
ja 0x1003b07d
cmp edi, esi
jae 0x1003b121
mov edi, esi
push ebp
cmp eax, 0x40
jb 0x1003b0f5
mov ecx, eax
mov ebp, eax
and ecx, 0x3f
sub ebp, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebp
lea ecx, [edx + 0x10]
lea ebp, [esi + 0x30]
sub edi, edx
nop
movups xmm0, xmmword [ecx - 0x10]
add ebx, 0x40
lea ebp, [ebp + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebp - 0x70]
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [ebp - 0x50]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [ecx - 0x20]
movups xmm0, xmmword [ebp - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp ebx, dword [esp + 0x20]
jb 0x1003b0a0
cmp dword [esp + 0x10], 8
jb 0x1003b11c
jmp 0x1003b0f7
sub edi, edx
mov ebp, eax
lea ecx, [ebx + edx]
and ebp, 0xfffffff8
nop
movq xmm1, qword [edi + ecx]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add ebx, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp ebx, ebp
jb 0x1003b100
pop ebp
cmp ebx, eax
jae 0x1003b13e
sub esi, edx
lea edi, [ebx + edx]
sub eax, ebx
nop dword [eax + eax]
mov cl, byte [edi + esi]
lea edi, [edi + 1]
xor byte [edi - 1], cl
sub eax, 1
jne 0x1003b130
pop ebx
pop edi
pop esi
pop ecx
ret