joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019b5b0
Capabilities:
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022cd20
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x102bff3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x1019b601
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x1019b637
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1019b73d
lea eax, [ebp - 0x14]
push eax
push 1
push 2
push 0
push 0x2000000
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1019b73d
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.101d1720
add esp, 0xc
mov dword [ebp - 0x74], 0x44
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
call fcn.1001f510
push str.CreateProcessWithTokenW
push str.Advapi32.dll
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1019b71a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 4], 1
jle 0x1019b6f0
push dword [ecx - 0xc]
lea ecx, [ebp - 0x10]
call fcn.1000d3e0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push ecx
push 0
push 0
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x1019b71a
push dword [ebp - 0x30]
call edi
push dword [ebp - 0x2c]
call edi
mov bl, 1
jmp 0x1019b71c
xor bl, bl
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1019b73f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1019b73f
xor bl, bl
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1019b750
push eax
call edi
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1019b761
push ecx
call edi
mov dword [ebp - 0x18], 0
push esi
call edi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1019b780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022cd58
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x102bff3c]
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, dword [ebp + 8]
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0
push eax
push 1
push 0x20000
push 2
mov dword [ebp - 0x84], 0
call dword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
push 0
push 4
lea eax, [ebp - 0x80]
push eax
push 0
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_SaferComputeTokenFromLevel]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
push 0x2000
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x78]
mov word [ebp - 0x14], 0x1000
push eax
call fcn.1019b300
add esp, 0x10
lea eax, [ebp - 0x74]
mov dword [ebp - 0x88], 0
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x88], 0x20
mov dword [ebp - 0x8c], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x19
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1019b876
xor bl, bl
jmp 0x1019b934
push 0x40
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.101d1720
add esp, 0xc
mov dword [ebp - 0xe0], 0x44
xor eax, eax
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
push edi
mov dword [ebp - 0x90], eax
call fcn.1001f510
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x1019b8d5
push dword [eax - 0xc]
lea ecx, [ebp - 0x7c]
call fcn.1000d3e0
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1019b913
push dword [ebp - 0x9c]
call esi
push dword [ebp - 0x98]
call esi
mov bl, 1
jmp 0x1019b915
xor bl, bl
mov edx, dword [ebp - 0x7c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1019b934
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x78]
call fcn.1019b470
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x1019b946
push ecx
call esi
mov al, bl
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.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x1019b970
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022cd88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x102bff3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10012120
mov ecx, eax
test ecx, ecx
jne 0x1019b9ac
push 0x80004005
call fcn.1000dd70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push 0x1026c150
push dword [0x102de808]
mov dword [ebp - 4], 0
push str._s_s___s_
push eax
call fcn.10020be8
mov esi, dword [ebp - 0x10]
push esi
call fcn.1019b5b0
add esp, 0x18
test al, al
jne 0x1019ba6a
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push str.DTSetupHelperCommand
call esi
push 0x10288a8c
push str.DTSetupHelperParameter
call esi
push 0x102de808
lea ecx, [ebp - 0x10]
call fcn.1000c410
push 0x10
push str.SetupHelper.exe
lea ecx, [ebp - 0x10]
call fcn.1000f790
mov esi, dword [ebp - 0x10]
push esi
call fcn.1019b780
add esp, 4
test al, al
jne 0x1019ba6a
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.101d1720
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], 0x10288c7c
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0
push eax
mov dword [ebp - 0x30], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1019ba89
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1019c2e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x1019c3f0
push 0x10288ccc
push eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
call fcn.101eba31
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x1019c3f0
mov ecx, dword [esi + 0x44c]
test ecx, ecx
je 0x1019c335
push ecx
call fcn.101d0c16
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi + 0x44c], 0
push eax
push 0xe
lea eax, [esi + 4]
push 1
push eax
call fcn.101eae5e
push dword [ebp + 8]
lea eax, [esi + 0x14]
push 0x28
push 1
push eax
call fcn.101eae5e
movzx edx, word [esi + 0x22]
add esp, 0x20
mov ecx, dword [esi + 0x18]
mov eax, edx
shr eax, 3
imul ecx, eax
mov dword [esi + 0x444], eax
mov dword [esi + 0x440], ecx
test cl, 3
je 0x1019c382
inc ecx
test cl, 3
jne 0x1019c376
mov dword [esi + 0x440], ecx
cmp edx, 8
jb 0x1019c3e5
jne 0x1019c3ae
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x1019c39a
mov dword [esi + 0x3c], 0x100
push dword [ebp + 8]
lea eax, [esi + 0x40]
push 4
push dword [esi + 0x3c]
push eax
call fcn.101eae5e
add esp, 0x10
mov eax, dword [esi + 0x1c]
imul eax, dword [esi + 0x440]
push eax
mov dword [esi + 0x448], eax
call fcn.101e427f
push dword [ebp + 8]
mov dword [esi + 0x44c], eax
push 1
push dword [esi + 0x448]
push eax
call fcn.101eae5e
add esp, 0x14
mov ecx, esi
call fcn.1019c400
push dword [ebp + 8]
call fcn.101dea16
add esp, 4
pop esi
pop ebp
ret 4
Function at 0x1019c760
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.1019c600
push 0x102de80c
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], ecx
call fcn.1019c880
add esp, 0xc
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
call fcn.1019a8b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0xf003f
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersCancelAutoplayCLSID
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x1019c828
cmp dword [ebp + 8], 0
je 0x1019c828
lea eax, [ebp - 0x1c]
push eax
call fcn.1019a8b0
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0xf003f
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersCancelAutoplay
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x1019c828
lea eax, [ebp - 0x18]
push eax
push str.CLSID
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1019c828
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
xor esi, esi
test eax, eax
je 0x1019c85d
cmp dword [ebp + 8], esi
je 0x1019c849
push esi
push esi
push 1
push esi
push 0x102de80c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1019c855
push 0x102de80c
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x18]
mov esi, 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101b70aa
mov esp, ebp
pop ebp
ret

Function at 0x1019cee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x1019cf37
push esi
push 0
push 0
push edi
push 0x1019ceb0
push 0
push 0
mov byte [edi + 8], 0
call fcn.101dd686
mov esi, eax
add esp, 0x18
lea eax, [ebp - 4]
cmp edi, eax
je 0x1019cf2b
mov eax, dword [edi]
test eax, eax
je 0x1019cf23
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov dword [edi], esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1019cf36
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x101a1c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
dec eax
cmp eax, 8
ja case.default.0x101a1c10
jmp dword [eax*4 + 0x101a1cbc]
mov eax, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
push eax
push eax
call fcn.101a7a40
add esp, 0x10
pop ebp
ret
add dword [ebp + 0x10], 0xf4
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.101a5c40
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.101a9160
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
push eax
push eax
call fcn.101a8ee0
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.101abc20
push esi
push 0
push 9
call fcn.101a0cb0
mov esi, dword [ebp + 0x10]
add esp, 4
lea eax, [esi + eax*2]
push eax
push 9
call fcn.101a0cb0
add esp, 4
add eax, esi
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
push eax
call fcn.101a8f90
add esp, 0x18
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 0x10]
call fcn.101ad6f0
add esp, 0xc
pop ebp
ret

Function at 0x101a2570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
dec eax
cmp eax, 8
ja case.default.0x101a2580
jmp dword [eax*4 + 0x101a2624]
mov eax, dword [ebp + 0xc]
push 1
push dword [ebp + 0x10]
push eax
push eax
call fcn.101a7a40
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.101a6a98
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.101a9160
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 1
push dword [ebp + 0x10]
push eax
push eax
call fcn.101a8ee0
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.101ac390
push esi
push 1
push 9
call fcn.101a0cb0
mov esi, dword [ebp + 0x10]
add esp, 4
lea eax, [esi + eax*2]
push eax
push 9
call fcn.101a0cb0
add esp, 4
add eax, esi
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
push eax
call fcn.101a8f90
add esp, 0x18
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 0x10]
call fcn.101adfa0
add esp, 0xc
pop ebp
ret
Function at 0x101a3050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xa8], edx
cmp dword [ebp + 0xc], edx
jle 0x101a31b2
mov ecx, dword [0x102de858]
push ebx
mov ebx, dword [0x102de850]
push esi
push edi
mov edi, dword [0x102bcd00]
lea esp, [esp]
lea eax, [ecx - 0x140]
neg eax
sbb eax, eax
and ecx, eax
mov eax, dword [ebp + 8]
mov dword [0x102de858], ecx
mov al, byte [edx + eax]
add byte [ebx + ecx], al
mov eax, ecx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x101a30b9
dec eax
or eax, 0xfffffff8
inc eax
jne 0x101a3198
mov eax, edi
sub eax, 1
jne 0x101a3198
xor esi, esi
lea esp, [esp]
mov eax, edi
sub eax, 1
jne 0x101a3119
lea eax, [ebp - 0xa4]
push eax
call fcn.101b0c60
push pe_nt_image_headers32
push dword [0x102de850]
lea eax, [ebp - 0xa4]
push eax
call fcn.101b2880
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.101b0af0
mov ebx, dword [0x102de850]
add esp, 0x18
mov edi, dword [0x102bcd00]
xor eax, eax
lea edx, [ebx + esi]
mov edi, edi
movzx ecx, byte [ebp + eax - 0x44]
xor byte [edx + eax], cl
movzx ecx, byte [ebp + eax - 0x43]
xor byte [edx + eax + 1], cl
movzx ecx, byte [ebp + eax - 0x42]
xor byte [edx + eax + 2], cl
movzx ecx, byte [ebp + eax - 0x41]
xor byte [edx + eax + 3], cl
movzx ecx, byte [ebp + eax - 0x40]
xor byte [edx + eax + 4], cl
add eax, 5
cmp eax, 0x14
jl 0x101a3120
add esi, 0x14
cmp esi, 0x140
jl 0x101a30d0
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.101d1720
mov eax, edi
add esp, 0xc
sub eax, 1
jne 0x101a318c
push 0x60
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.101d1720
add esp, 0xc
mov edx, dword [ebp - 0xa8]
mov ecx, dword [0x102de858]
inc edx
inc ecx
mov dword [0x102de858], ecx
mov dword [ebp - 0xa8], edx
cmp edx, dword [ebp + 0xc]
jl 0x101a3090
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x101a31c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x102bcd00]
mov eax, edi
sub eax, 1
je 0x101a31f2
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
push esi
xor esi, esi
mov eax, edi
sub eax, 1
jne 0x101a3238
lea eax, [ebp - 0xa4]
push eax
call fcn.101b0c60
push pe_nt_image_headers32
push dword [0x102de850]
lea eax, [ebp - 0xa4]
push eax
call fcn.101b2880
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.101b0af0
mov edi, dword [0x102bcd00]
add esp, 0x18
mov edx, dword [0x102de850]
xor eax, eax
add edx, esi
movzx ecx, byte [ebp + eax - 0x44]
xor byte [edx + eax], cl
movzx ecx, byte [ebp + eax - 0x43]
xor byte [edx + eax + 1], cl
movzx ecx, byte [ebp + eax - 0x42]
xor byte [edx + eax + 2], cl
movzx ecx, byte [ebp + eax - 0x41]
xor byte [edx + eax + 3], cl
movzx ecx, byte [ebp + eax - 0x40]
xor byte [edx + eax + 4], cl
add eax, 5
cmp eax, 0x14
jl 0x101a3242
add esi, 0x14
cmp esi, 0x140
jl 0x101a31f5
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop edi
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x101a7950
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x102bcd08
push esi
call fcn.101d11a0
add esp, 0xc
cmp dword [ebp + 0xc], 0x48
jle 0x101a797b
mov dword [ebp + 0xc], 0x48
mov edi, dword [ebp + 0x10]
mov eax, edi
mov ecx, dword [ebp + 0xc]
push ebx
add ecx, edi
xor ebx, ebx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x101a7992
mov eax, edi
movzx ecx, byte [eax]
inc eax
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0xc]
add ecx, edi
cmp eax, ecx
jb 0x101a79a6
mov eax, edi
movzx ecx, byte [eax]
inc eax
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0xc]
add ecx, edi
cmp eax, ecx
jb 0x101a79ba
mov eax, edi
movzx ecx, byte [eax]
inc eax
mov esi, dword [ebp + 8]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0xc]
add ecx, edi
cmp eax, ecx
jb 0x101a79d1
mov eax, edi
xor dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0x12
jl 0x101a7988
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
pop ebx
jmp 0x101a79f0
lea eax, [ebp - 8]
push esi
push eax
call fcn.101b2d70
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x101a79f0
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.101b2d70
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x101a7a14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101ad160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor eax, eax
push edi
lea esp, [esp]
mov bl, byte [eax + 0x102e0ce0]
movzx esi, bl
mov edx, esi
mov dword [ebp - 4], esi
and edx, 3
mov ecx, esi
shr ecx, 2
shr esi, 1
xor esi, dword [ebp - 4]
movzx edi, byte [edx + 0x102bfe38]
xor edi, ecx
shr esi, 1
movzx ecx, bl
xor edi, ecx
movzx ecx, byte [edx + 0x102bfe3c]
xor esi, ecx
mov edx, dword [ebp - 4]
movzx ecx, bl
xor esi, ecx
mov bl, byte [eax + 0x102e0be0]
imul ecx, esi, 0x10100
add ecx, edi
shl ecx, 8
add ecx, edx
shl edx, 0x10
mov dword [eax*4 + 0x102dfbe0], ecx
imul ecx, esi, 0x1000100
movzx esi, bl
mov dword [ebp - 4], esi
add ecx, edi
add edx, ecx
mov ecx, esi
mov dword [eax*4 + 0x102e03e0], edx
mov edx, esi
and edx, 3
shr ecx, 2
shr esi, 1
xor esi, dword [ebp - 4]
shr esi, 1
movzx edi, byte [edx + 0x102bfe38]
xor edi, ecx
movzx ecx, bl
xor edi, ecx
movzx ecx, byte [edx + 0x102bfe3c]
mov edx, dword [ebp - 4]
xor esi, ecx
movzx ecx, bl
xor esi, ecx
shl edx, 8
imul ecx, esi, 0x101
add edx, edi
shl edx, 0x10
shl esi, 8
add esi, dword [ebp - 4]
shl esi, 8
add edx, ecx
imul ecx, edi, 0x1000001
mov dword [eax*4 + 0x102dffe0], edx
add esi, ecx
mov dword [eax*4 + 0x102e07e0], esi
inc eax
cmp eax, 0x100
jb 0x101ad170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101ad260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
push ebx
push esi
push edi
jmp 0x101ad270
mov dl, al
mov bl, al
and dl, 0xf
shr bl, 4
movzx esi, dl
movzx ecx, bl
xor esi, ecx
movzx ecx, dl
mov dword [ebp - 8], esi
movzx edx, byte [ecx + 0x102bfe40]
movzx esi, byte [esi + 0x102bfe60]
movzx ecx, bl
movzx ecx, byte [ecx + 0x102bfe50]
xor edx, ecx
movzx ecx, byte [esi + 0x102bfe50]
mov dword [ebp - 4], edx
movzx edi, byte [edx + 0x102bfe80]
movzx edx, byte [edi + 0x102bfe40]
xor edi, esi
xor edx, ecx
movzx ecx, byte [edx + 0x102bfec0]
shl cl, 4
or cl, byte [edi + 0x102bfea0]
mov byte [eax + 0x102e0be0], cl
mov ecx, dword [ebp - 4]
movzx esi, byte [ecx + 0x102bfe90]
mov ecx, dword [ebp - 8]
movzx edi, byte [ecx + 0x102bfe70]
movzx ecx, byte [esi + 0x102bfe40]
movzx edx, byte [edi + 0x102bfe50]
xor edi, esi
xor edx, ecx
movzx ecx, byte [edx + 0x102bfed0]
shl cl, 4
or cl, byte [edi + 0x102bfeb0]
mov byte [eax + 0x102e0ce0], cl
inc eax
cmp eax, 0x100
jb 0x101ad270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101af040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x1000
push 0
push ebx
call fcn.101d1720
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
test eax, eax
jne 0x101af0f9
mov ecx, dword [ebp + 8]
mov esi, 4
mov eax, dword [ecx]
mov dword [ebx + 0x180], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x184], eax
lea edx, [esi + 0x10]
shl edx, 4
lea ecx, [esi + 8]
add edx, ebx
shl ecx, 5
push edx
mov eax, dword [ecx + ebx]
mov dword [edx], eax
mov eax, dword [ecx + ebx + 4]
mov dword [edx + 4], eax
call fcn.101af4c0
sar esi, 1
add esp, 4
test esi, esi
jg 0x101af082
mov eax, dword [ebx + 0x110]
lea ecx, [ebx + 0x80]
mov dword [ecx], eax
mov eax, dword [ebx + 0x114]
push ecx
mov dword [ecx + 4], eax
call fcn.101af4c0
add esp, 4
mov esi, 4
mov edx, esi
mov ecx, esi
shl edx, 4
add edx, ebx
shl ecx, 5
push edx
mov eax, dword [ecx + ebx]
mov dword [edx], eax
mov eax, dword [ecx + ebx + 4]
mov dword [edx + 4], eax
call fcn.101af4c0
sar esi, 1
add esp, 4
test esi, esi
jg 0x101af0d0
jmp 0x101af164
cmp eax, 1
jle 0x101af167
lea edx, [eax - 2]
mov ecx, 8
shl edx, 4
shl eax, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
lea edi, [ecx + eax]
add ecx, edx
add ecx, ecx
shl edi, 4
add edi, ebx
mov eax, dword [ebx + ecx*8]
mov dword [edi], eax
mov eax, dword [ebx + ecx*8 + 4]
mov ecx, eax
mov dword [edi + 4], eax
mov edx, ecx
mov esi, dword [edi]
mov eax, esi
shr eax, 0x18
shl ecx, 8
or eax, ecx
shr edx, 0x18
mov ecx, dword [ebp - 8]
mov dword [edi + 4], eax
shl esi, 8
movzx eax, word [edx*2 + 0x1026cf60]
mov edx, dword [ebp - 0xc]
xor eax, esi
sar ecx, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
test ecx, ecx
jg 0x101af115
mov eax, dword [ebp - 4]
mov ecx, eax
lea edx, [ebx + 0x10]
shl ecx, 4
mov edi, 2
shl eax, 8
add edx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
nop
lea esi, [ecx + edi]
shl esi, 4
add esi, ebx
lea eax, [esi + 0x10]
cmp edi, 1
jle 0x101af1c6
lea ebx, [edi - 1]
mov ecx, dword [edx]
lea eax, [eax + 0x10]
xor ecx, dword [esi]
lea edx, [edx + 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [edx - 0xc]
xor ecx, dword [esi + 4]
mov dword [eax - 0xc], ecx
mov ecx, dword [edx - 8]
xor ecx, dword [esi + 8]
mov dword [eax - 8], ecx
mov ecx, dword [esi + 0xc]
xor ecx, dword [edx - 4]
mov dword [eax - 4], ecx
sub ebx, 1
jne 0x101af193
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add edi, edi
cmp edi, 0x10
jl 0x101af180
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x10
jl 0x101af061
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret