joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f180
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x464cc8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42f1b9
inc eax
mov dword [esi + 0x10], eax
jmp 0x42f2cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42f1cd
mov eax, 0xffffffc7
jmp 0x42f2ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42f1de
cmp dword [esi + 8], eax
jne 0x42f1cd
cmp dword [esi + 8], eax
jne 0x42f1f7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42f1f7
mov eax, 0xffffffc7
jmp 0x42f2ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42f20b
push eax
mov ecx, ebx
call fcn.0042e9b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004034c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42f23c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004034e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042e120
test eax, eax
mov dword [esp + 0x38], eax
je 0x42f26f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467d10
call fcn.004036c0
mov eax, dword [esp + 0x38]
jmp 0x42f2ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042efe0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42f2b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042f000
mov esi, eax
test esi, esi
jne 0x42f2e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042efe0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42f285
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467d10
call fcn.004036c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467d10
call fcn.004036c0
mov eax, esi
jmp 0x42f2ce

Function at 0x432390
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4323f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4323f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4323f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4323f0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x432430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x438300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4652f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045e602
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00437ca0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045e530
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045adf6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045adf6
push 1
push 0
push 0
mov ecx, esi
call fcn.0045ad9e
push 1
push 0
push 1
mov ecx, esi
call fcn.0045ad9e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045e674
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x438480
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x465318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045e602
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00437ca0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045e530
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x438544
cmp dword [esp + 0x40], 1
jne 0x438542
cmp ecx, eax
jge 0x438544
mov eax, ecx
cmp eax, 0xc8
jge 0x438550
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00438300
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045e674
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x438cd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x465383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00459211
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045e8aa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045fdc6
test eax, eax
je 0x438dec
mov ecx, dword [esp + 0x3c]
call fcn.0045e8d7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x438db0
push edi
mov ecx, esi
call fcn.0045bf3d
mov ecx, esi
call fcn.00438f50
cmp dword [esp + 0x38], 1
jne 0x438de5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045c078
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43b800
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b833
push esi
call fcn.0043e910
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b82c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43b8b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b8a2
mov eax, dword [esi + 8]
test eax, eax
je 0x43b857
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43b89e
cmp eax, 2
je 0x43b8a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b84a
cmp eax, 3
je 0x43b87d
cmp eax, 1
jne 0x43b84a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43b84a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b84a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b8e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b8c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b8e0
add esp, 4
pop esi
ret

Function at 0x45a007
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45a03f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004580be
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00458096
jmp 0x45a04b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45b6fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45b73c
call fcn.004611ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45b73c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45b733
xor eax, eax
jmp 0x45b744
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045b74a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4616dc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46170a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x461728
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00461642
jmp 0x461728
mov eax, dword [esi + 0x14]
test eax, eax
je 0x461728
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00461642
test edi, edi
mov eax, edi
jne 0x461712
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406d23
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
xor ecx, ecx
lea ebx, [ebp]
mov word [ebx + 0x200], 0
add ebx, 2
mov word [ebx + 0x200], 0
add ebx, 2
mov word [ebx + 0x200], 0
add ebx, 2
mov word [ebx + 0x200], 0
add ebx, 2
add ecx, 8
cmp ecx, 0x100
jl 0x406d28
xor ecx, ecx
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov byte [ebx], cl
inc cx
cmp cx, 0x100
jl 0x406d65
xor ecx, ecx
xor edx, edx
and edx, 0xff
mov ebx, edx
add ebx, ebp
add dl, byte [ebx + 0x200]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
add dl, byte [ebx]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov al, byte [ebx]
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov ah, byte [ebx]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov byte [ebx], ah
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov byte [ebx], al
inc cx
cmp cx, 0x100
jl 0x406d7e
xor edi, edi
add cl, 1
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
add dl, byte [ebx]
mov al, byte [ebx]
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov ah, byte [ebx]
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov byte [ebx], ah
and edx, 0xff
mov ebx, edx
add ebx, ebp
mov byte [ebx], al
and ecx, 0xff
mov ebx, ecx
add ebx, ebp
mov al, byte [ebx]
and edx, 0xff
mov ebx, edx
add ebx, ebp
add al, byte [ebx]
and eax, 0xff
mov ebx, eax
add ebx, ebp
mov ch, byte [ebx]
xor ch, byte [esi + edi]
mov byte [esi + edi], ch
inc edi
cmp edi, dword [ebp + 0x108]
jne 0x406dd5
ret
Function at 0x10006f20
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x7c
mov edi, eax
call fcn.1002da4b
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10006f3f
mov esi, eax
call fcn.10006c40
jmp 0x10006f41
xor eax, eax
push 0x794
mov dword [0x1004793c], eax
call fcn.1002da4b
add esp, 4
cmp eax, ebx
je 0x10006f5e
call fcn.100063b0
jmp 0x10006f60
xor eax, eax
push 0xc
mov dword [0x10047934], eax
mov dword [eax], edi
mov dword [0x10047938], eax
call fcn.1002da4b
add esp, 4
cmp eax, ebx
je 0x10006f84
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x10006f86
xor eax, eax
push 0x28
mov dword [0x10047944], eax
call fcn.1002da4b
add esp, 4
cmp eax, ebx
je 0x10006fc2
mov byte [eax], bl
mov dword [eax + 4], ebx
mov byte [eax + 8], bl
mov dword [eax + 0xc], ebx
mov byte [eax + 0x1e], bl
mov byte [eax + 0x1f], 1
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], cx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov byte [eax + 0x20], bl
mov byte [eax + 0x21], bl
jmp 0x10006fc4
xor eax, eax
push 0x1d0
mov dword [0x10047940], eax
call fcn.1002da4b
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10006fe5
mov eax, edi
call fcn.10009870
jmp 0x10006fe7
xor eax, eax
mov dword [0x10047930], eax
call fcn.10006cc0
call fcn.10006910
call fcn.10006aa0
call fcn.1001ada0
mov eax, dword [0x10047930]
add eax, 0x5c
push eax
call fcn.10002080
mov edi, dword [0x10047940]
add edi, 0x10
call fcn.1000d150
call fcn.100045d0
mov esi, dword [0x10047930]
lea ecx, [esp + 0xc]
push ecx
push ebx
push esi
push 0x10008620
push ebx
push ebx
call fcn.1002df49
add esp, 0x18
cmp eax, ebx
mov dword [esi + 4], eax
setne al
pop edi
mov byte [esi + 0xc], al
pop esi
cmp al, bl
pop ebx
jne 0x10007066
push 0x10040850
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 1
call fcn.1002e839
pop ecx
ret
Function at 0x1000a530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebx]
mov edx, dword [edi]
push ebp
push esi
mov esi, 0x100468c0
jmp 0x1000a540
mov ecx, dword [esi - 8]
xor ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, ecx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, ecx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
add esi, 0x10
xor eax, edx
mov edx, dword [esi - 0x14]
xor edx, eax
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, edx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, edx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
xor eax, ecx
mov ecx, dword [esi - 0x10]
xor ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, ecx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, ecx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
xor eax, edx
mov edx, ecx
mov ecx, dword [esi - 0xc]
xor ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, ecx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, ecx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
xor eax, edx
cmp esi, 0x10046900
mov edx, ecx
jl 0x1000a540
mov edx, dword [0x100468f8]
xor edx, eax
mov dword [edi], edx
mov eax, dword [0x100468fc]
xor eax, ecx
pop esi
mov dword [ebx], eax
pop ebp
ret
Function at 0x1000a680
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebx]
mov edx, dword [edi]
push ebp
push esi
mov esi, 0x3c
jmp 0x1000a690
mov ecx, dword [esi + 0x100468c0]
xor ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, ecx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, ecx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
sub esi, 0x10
xor eax, edx
mov edx, dword [esi + 0x100468cc]
xor edx, eax
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, edx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, edx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
xor eax, ecx
mov ecx, dword [esi + 0x100468c8]
xor ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, ecx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, ecx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
xor eax, edx
mov edx, ecx
mov ecx, dword [esi + 0x100468c4]
xor ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x10046d00]
mov ebp, ecx
shr ebp, 0x18
add eax, dword [ebp*4 + 0x10046900]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x10047100]
mov ebp, ecx
and ebp, 0xff
add eax, dword [ebp*4 + 0x10047500]
xor eax, edx
cmp esi, 0xfffffffc
mov edx, ecx
jg 0x1000a690
mov edx, dword [0x100468b8]
xor edx, ecx
mov dword [ebx], edx
mov ecx, dword [0x100468bc]
xor ecx, eax
pop esi
mov dword [edi], ecx
pop ebp
ret

Function at 0x1000a7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, 0x100468b8
mov ecx, 2
lea eax, [ecx - 2]
and eax, 7
movzx eax, byte [eax + edx]
lea edi, [ecx - 1]
and edi, 7
movzx edi, byte [edi + edx]
shl eax, 8
or eax, edi
mov edi, ecx
and edi, 7
movzx edi, byte [edi + edx]
shl eax, 8
or eax, edi
lea edi, [ecx + 1]
and edi, 7
movzx edi, byte [edi + edx]
shl eax, 8
or eax, edi
xor dword [esi], eax
sub ecx, 4
add esi, 4
cmp ecx, 0xffffffba
jg 0x1000a7f0
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov esi, 0x100468b8
lea edi, [esp + 0x10]
lea ebx, [esp + 0xc]
call fcn.1000a530
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esi, 8
cmp esi, 0x10046900
jl 0x1000a842
mov esi, 0x10046904
lea esp, [esp]
lea edi, [esp + 0x10]
lea ebx, [esp + 0xc]
call fcn.1000a530
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
cmp esi, 0x10047904
jl 0x1000a870
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x1000a8a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push 0x1048
push 0x1003e910
push 0x100468b8
call fcn.10034600
mov eax, esi
shr eax, 1
lea ecx, [esi + esi]
add esp, 0xc
mov edi, 0x1004689c
mov ebx, 0x100468a0
mov dword [0x10046898], esi
mov dword [0x1004689c], eax
mov dword [0x100468a0], ecx
call fcn.1000a530
mov edi, 0x10046898
mov ebx, 0x1004689c
call fcn.1000a530
mov edx, edi
call fcn.1000a7e0
mov edi, ebx
mov ebx, 0x100468a0
call fcn.1000a530
mov edi, 0x10046898
mov ebx, 0x1004689c
call fcn.1000a530
mov edx, edi
pop edi
pop ebx
jmp fcn.1000a7e0
Function at 0x1000c380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1003b9ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x820]
push esi
push edi
mov edi, dword [esp + 0x824]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [esp + 0x81c], ebx
inc dword [0x10047a80]
mov dword [edi], 0x1003f9f0
cmp dword [0x10047a7c], ebx
jne 0x1000c501
lea eax, [esp + 0x410]
push eax
push 0x200
mov dword [esp + 0x818], ebx
call dword [0x1003c1f4]
mov ecx, dword [0x10047938]
mov dword [esp + 0x810], eax
cmp word [ecx + 0x304], bx
lea eax, [ecx + 0x304]
je 0x1000c437
push eax
jmp 0x1000c44d
mov eax, dword [ecx]
push 0x1003f958
lea esi, [esp + 0x14]
call fcn.1001d9f0
add esp, 4
mov ecx, esi
push ecx
call dword [0x1003c1f0]
mov cx, word [ebp]
xor eax, eax
mov word [esp + 0x10], cx
cmp cx, bx
je 0x1000c483
mov edx, ebp
lea ecx, [esp + 0x10]
sub edx, ecx
jmp 0x1000c470
inc eax
lea ecx, [edx + eax*2]
movzx ecx, word [esp + ecx + 0x10]
mov word [esp + eax*2 + 0x10], cx
cmp cx, bx
jne 0x1000c470
lea eax, [esp + eax*2 + 0x10]
mov edx, 0x2e
mov word [eax], dx
mov edx, 0x1003f96c
sub edx, eax
jmp 0x1000c4a0
movzx ecx, word [edx + eax + 2]
add eax, 2
mov word [eax], cx
cmp cx, bx
jne 0x1000c4a0
lea eax, [esp + 0x10]
push eax
call dword [0x1003c1c8]
mov dword [0x10047a7c], eax
cmp eax, ebx
je 0x1000c4ea
mov esi, dword [0x1003c1c0]
push 0x1003f978
push eax
call esi
mov ecx, dword [0x10047a7c]
push 0x1003f98c
push ecx
mov dword [0x10047a84], eax
call esi
mov dword [0x10047a88], eax
cmp dword [esp + 0x810], ebx
je 0x1000c501
lea edx, [esp + 0x410]
push edx
call dword [0x1003c1f0]
mov eax, dword [0x10047a84]
mov esi, 2
mov ebp, 0x10
mov dword [edi + 4], esi
mov dword [edi + 0x4c], ebp
cmp eax, ebx
je 0x1000c580
call eax
mov ecx, dword [eax + 0x3c]
and ecx, 0xf0000
cmp ecx, 0x40000
jne 0x1000c536
mov dword [edi + 4], 4
jmp 0x1000c563
cmp ecx, 0x30000
jne 0x1000c547
mov dword [edi + 4], 3
jmp 0x1000c563
cmp ecx, 0x20000
jne 0x1000c554
mov dword [edi + 4], esi
jmp 0x1000c563
cmp ecx, 0x10000
jne 0x1000c563
mov dword [edi + 4], 1
mov eax, dword [eax + 0x3c]
test eax, 0x800
je 0x1000c572
mov dword [edi + 0x4c], ebp
jmp 0x1000c580
test eax, 0x1000
je 0x1000c580
mov dword [edi + 0x4c], 0x18
mov eax, dword [edi + 0x4c]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.1000c650
mov ecx, dword [esp + 0x814]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x810
ret 8
Function at 0x10015840
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov eax, 0xffff
inc ecx
mov edx, 0x46
push edi
lea ecx, [ecx]
movzx esi, byte [ecx - 1]
xor esi, eax
movzx edi, byte [ecx]
shr ax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x10044928]
add ecx, 5
movzx eax, ax
mov esi, eax
xor esi, edi
shr ax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x10044928]
movzx esi, byte [ecx - 4]
movzx eax, ax
xor esi, eax
shr ax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x10044928]
movzx esi, byte [ecx - 3]
movzx eax, ax
xor esi, eax
shr ax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x10044928]
movzx esi, byte [ecx - 2]
movzx eax, ax
xor esi, eax
shr ax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x10044928]
sub edx, 1
movzx eax, ax
jne 0x10015850
pop edi
pop esi
ret

Function at 0x100158f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
or eax, 0xffffffff
inc ecx
mov edx, 0x80
push esi
lea ebx, [ebx]
movzx esi, byte [ecx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10044b28]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10044b28]
movzx esi, byte [ecx + 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10044b28]
movzx esi, byte [ecx + 2]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10044b28]
add ecx, 4
sub edx, 1
jne 0x10015900
pop esi
ret