joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d8150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d2451
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10205ac8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movq qword [edi + 4], xmm0
mov dword [edi], 0x1004653c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x14], 0x100446f8
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x100446f8
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x100446f8
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x100446f8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.100da2f0
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.100d09d0
mov dword [ebp - 0x2c], 0x100446f8
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x100d8254
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10074460
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100d8fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d24e3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10205ac8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.100d09d0
lea eax, [ebx + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.100d09d0
lea eax, [ebx + 0x4c]
push eax
lea ecx, [edi + 0x4c]
call fcn.100d09d0
lea eax, [ebx + 0x68]
push eax
lea ecx, [edi + 0x68]
call fcn.100d09d0
mov al, byte [ebx + 0xc]
mov byte [edi + 0xc], al
test al, al
je 0x100d9099
push 0x1c
call fcn.101b44b7
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d904e
mov ecx, dword [ebx + 0x84]
add ecx, 4
push ecx
lea ecx, [esi + 4]
call fcn.1006a900
mov dword [esi], 0x100446f8
jmp 0x100d9050
xor esi, esi
push 0x1c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x84], esi
call fcn.101b44b7
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x100d9091
mov ecx, dword [ebx + 0x88]
add ecx, 4
push ecx
lea ecx, [esi + 4]
call fcn.1006a900
mov dword [esi], 0x100446f8
jmp 0x100d9093
xor esi, esi
mov dword [edi + 0x88], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100db080
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d2934
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10205ac8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
inc dword [0x1020c068]
mov eax, dword [0x1020c064]
test eax, eax
jne 0x100db24b
push 0x34
call fcn.101b44b7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100db241
push 0x34
push 0
push esi
call fcn.101b66d0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0x10046614
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10046620
push eax
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x100db1da
push 0x1004663c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
test eax, eax
je 0x100db1da
push 0x1004664c
push eax
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x100db1da
push 0x10046668
push dword [esi]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x100db1da
push 0x10046678
push dword [esi]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100db1da
push 0x10046688
push dword [esi]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x100db1da
push 0x10046698
push dword [esi]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x100db1da
push 0x100466a8
push dword [esi]
call edi
push 0x100466b8
push dword [esi]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x30], eax
jmp 0x100db243
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x100db219
push eax
call edi
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100db243
push eax
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x100db243
xor esi, esi
mov dword [0x1020c064], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100db690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d2a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10205ac8]
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
cmp dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0xffffffff
je 0x100db7bb
call fcn.100d2e00
test al, al
je 0x100db7bb
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.100d2790
cmp dword [edi + 0x14], 0
mov dword [ebp - 4], 0
jne 0x100db6fd
xor eax, eax
jmp 0x100db708
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x100db708
mov eax, dword [eax]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0x440
jb 0x100db748
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jne 0x100db761
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x100db76c
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x100db76c
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x100db792
lea ecx, [ebp - 0x2c]
xor bl, bl
call fcn.1006c640
mov al, bl
jmp 0x100db7bd
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100db7a4
push dword [ebp - 0x30]
call eax
mov dword [esi + 0x1c], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov bl, 1
call fcn.1006c640
mov al, bl
jmp 0x100db7bd
xor al, al
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.101b4a00
mov esp, ebp
pop ebp
ret 8
Function at 0x100dcaf0
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x100dcafb
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret

Function at 0x100df4f0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d32be
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10205ac8]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push 0x100468f0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x41], bl
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x100df661
cmp dword [esi + 0x10], ebx
jne 0x100df58d
mov edx, dword [0x101ff294]
mov ecx, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100df568
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10074240
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], ebx
lea esi, [ebp - 0x68]
push esi
lea ecx, [ebp - 0x40]
call fcn.1006a900
mov dword [ebp - 4], 2
test bl, 1
je 0x100df5de
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x100df5de
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x100df5d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100df680
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100dea70
add esp, 8
push dword [ebp - 0x4c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
push edi
setne byte [ebp - 0x41]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x100df631
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100744d0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
cmp ecx, 0x10
jb 0x100df661
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.10074460
mov al, byte [ebp - 0x41]
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.101b4a00
mov esp, ebp
pop ebp
ret
call fcn.100ecc9c
int3
Function at 0x100e18c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d35a1
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x10205ac8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1020da3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1020c0b4]
cmp eax, dword [ecx + 0x10]
jg 0x100e1925
mov eax, 0x101ff358
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b4a00
mov esp, ebp
pop ebp
ret
push 0x1020c0b4
call fcn.101b492a
add esp, 4
cmp dword [0x1020c0b4], 0xffffffff
jne 0x100e1907
push 0x190
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.101b66d0
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x101dfc00
mov dword [0x101ff358], eax
call fcn.101b47d4
push 0x1020c0b4
call fcn.101b48e0
add esp, 8
jmp 0x100e1907

Function at 0x100e1c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ecx
push ebp
mov ebp, dword [esp + 0x40]
push esi
test ebx, ebx
je 0x100e1d4a
test ecx, ecx
je 0x100e1d4a
mov esi, dword [esp + 0x40]
cmp esi, 0x10
jbe 0x100e1d4a
test ebp, ebp
je 0x100e1d4a
push edi
mov edi, esi
mov eax, 0x10
and edi, 0xf
cmove edi, eax
cmp esi, 0x20
jbe 0x100e1c94
cmp edi, eax
mov edx, 0x20
push ebp
cmove eax, edx
and esi, 0xfffffff0
sub esi, eax
mov eax, dword [ebx + 0x1c]
push esi
push ecx
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, esi
add ebp, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
lea eax, [ecx + 0x10]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101b6150
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x14]
push ebx
call eax
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x100e1ccd
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x14]
xor byte [esp + ecx + 0x24], al
inc ecx
cmp ecx, edi
jb 0x100e1cc0
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.101b6150
add esp, 0xc
test edi, edi
je 0x100e1d35
mov eax, 0x10
sub eax, edi
push eax
lea eax, [esp + 0x28]
add eax, edi
push eax
lea eax, [esp + 0x1c]
add eax, edi
push eax
call fcn.101b6150
lea eax, [esp + 0x20]
push eax
push eax
mov eax, dword [ebx + 0x14]
push ebx
call eax
mov eax, dword [ebx + 0x28]
add esp, 0x18
xor eax, dword [esp + 0x14]
mov dword [ebp], eax
mov ecx, dword [ebx + 0x2c]
xor ecx, dword [esp + 0x18]
mov dword [ebp + 4], ecx
mov ecx, dword [ebx + 0x30]
xor ecx, dword [esp + 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebx + 0x34]
xor ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
Function at 0x100e1d60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], eax
push edi
mov edi, dword [esp + 0x3c]
test ebp, ebp
je 0x100e1ea3
test edi, edi
je 0x100e1ea3
test ebx, ebx
je 0x100e1ea3
test eax, eax
je 0x100e1ea3
push esi
cmp eax, 0x10
jae 0x100e1de2
mov esi, 0x10
sub esi, eax
add eax, 0x28
add eax, ebp
push esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.101b6150
push dword [esp + 0x1c]
lea eax, [esp + 0x34]
add eax, esi
push edi
push eax
call fcn.101b6150
movups xmm0, xmmword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add esp, 0x18
jmp 0x100e1de7
movups xmm0, xmmword [eax + edi - 0x10]
mov esi, eax
lea ecx, [ebp + 0x28]
shr esi, 4
movups xmmword [esp + 0x14], xmm0
test esi, esi
je 0x100e1e45
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push ebp
call eax
movups xmm0, xmmword [edi]
lea ecx, [ebp + 0x28]
add esp, 0xc
movups xmmword [ecx], xmm0
mov eax, dword [edi]
xor eax, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esp + 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esp + 0x30]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub esi, 1
jne 0x100e1df8
mov eax, dword [esp + 0x10]
mov esi, eax
and esi, 0xf
je 0x100e1e87
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push ebp
call eax
add esp, 0xc
xor edx, edx
test esi, esi
je 0x100e1e83
lea eax, [esp + 0x24]
sub edi, eax
sub ebx, eax
nop dword [eax]
lea ecx, [esp + 0x24]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, esi
jb 0x100e1e70
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x14]
pop esi
pop edi
movups xmmword [ebp + 0x28], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
Function at 0x100e2040
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, esi
mov dword [esp + 0x10], ecx
and edi, 0xf
test ebp, ebp
je 0x100e216f
cmp esi, 0x10
jbe 0x100e216f
mov eax, esi
and eax, 0xfffffff0
cmp eax, 0x10
jbe 0x100e20a8
mov eax, dword [ebp + 0x18]
and esi, 0xfffffff0
push ebx
sub esi, 0x10
push esi
push ecx
push ebp
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, esi
add ebx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x28]
xor eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
xor eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 0xc
test edi, edi
je 0x100e214a
mov eax, dword [esp + 0x10]
add eax, 0x10
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.101b6150
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.101b6150
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x100e211d
nop dword [eax]
mov al, byte [esp + ecx + 0x24]
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edi
jb 0x100e2110
lea edi, [ebp + 0x28]
push edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
movups xmm0, xmmword [edi]
add esp, 0xc
mov eax, esi
movups xmmword [ebx], xmm0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
movups xmm0, xmmword [ebx - 0x10]
pop edi
mov eax, esi
movups xmmword [ebx], xmm0
pop esi
movups xmm0, xmmword [esp + 0xc]
pop ebp
movups xmmword [ebx - 0x10], xmm0
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4a00
add esp, 0x28
ret
Function at 0x100e2190
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
push esi
push edi
mov edi, dword [esp + 0x40]
test ebx, ebx
je 0x100e22f5
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100e22f5
test edi, edi
je 0x100e22f5
mov eax, ebp
lea ecx, [ebx + 0x28]
shr eax, 4
test eax, eax
je 0x100e222d
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
mov eax, dword [esi]
lea ecx, [ebx + 0x28]
xor eax, dword [esp + 0x28]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
movups xmm0, xmmword [edi]
add edi, 0x10
movups xmmword [ecx], xmm0
sub ebp, 1
jne 0x100e21e0
mov ebp, dword [esp + 0x10]
and ebp, 0xf
je 0x100e22dc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
add esp, 0xc
xor edx, edx
test ebp, ebp
je 0x100e2277
lea eax, [esp + 0x1c]
sub esi, eax
lea ecx, [esp + 0x1c]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], eax
mov ebx, eax
nop
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, ebp
jb 0x100e2260
mov ebx, dword [esp + 0x18]
add edi, ebp
lea ecx, [ebx + 0x28]
mov ebp, dword [esp + 0x10]
cmp ebp, 0x10
jae 0x100e22c0
mov esi, 0x10
lea eax, [ebp + 0x28]
sub esi, ebp
add eax, ebx
push esi
push eax
push ecx
call fcn.101b6150
push ebp
sub edi, ebp
lea eax, [esi + 0x28]
add eax, ebx
push edi
push eax
call fcn.101b6150
add esp, 0x18
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101b4a00
add esp, 0x20
ret
movups xmm0, xmmword [edi - 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
movups xmmword [ecx], xmm0
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101b4a00
add esp, 0x20
ret
mov ebp, dword [esp + 0x10]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101b4a00
add esp, 0x20
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4a00
add esp, 0x20
ret
Function at 0x100e2600
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xc4
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
mov esi, dword [esp + 0xcc]
lea eax, [esp + 0x41]
push 0x3f
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push 0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
mov byte [esp + 0x4c], 0
call fcn.101b66d0
add esp, 0xc
mov dword [esp + 0x80], 0
test esi, esi
je 0x100e27bf
lea eax, [esp + 0x14]
push eax
call fcn.100e32b0
add esp, 4
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100e26c1
push 2
call fcn.100f3708
push eax
push 0x10046a10
call fcn.100f491f
add esp, 0xc
jmp 0x100e26fa
lea eax, [esp + 0x84]
push eax
push 0x20
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100e26ee
push 2
call fcn.100f3708
push eax
push 0x10046a30
call fcn.100f491f
add esp, 0xc
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100e32f0
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
mov dword [esp + 8], 0
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100e277f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
call fcn.100f19e2
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100e32f0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.100e31c0
push 0x20
lea eax, [esp + 0xbc]
push eax
push esi
call fcn.100e27e0
add esp, 0x20
mov dword [esi + 0x24], 1
mov ecx, dword [esp + 0xc4]
pop esi
xor ecx, esp
call fcn.101b4a00
add esp, 0xc4
ret