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

Disassembly:
push 0xffffffffffffffff
push 0x1004ba56
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], vtable.CDBSession.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
lea eax, [edi + 0x68]
mov dword [esp + 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0x88]
mov byte [esp + 0x18], 1
mov dword [edi + 0x80], 0
call fcn.100135e0
mov eax, dword [esp + 0x20]
mov ecx, edi
test eax, eax
mov dword [edi + 0x88], vtable.CSessionProperties.0
mov dword [edi + 0x98], 0
cmovne ecx, eax
mov eax, edi
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x1000c500
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004bb76
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x40]
mov dword [edi], vtable.CDataSource.0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.10034b80
lea eax, [edi + 0x64]
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
push eax
mov dword [esp + 0x1c], 0
mov dword [edi + 0x60], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0x98]
mov byte [esp + 0x18], 1
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x94], 0xffffffff
call fcn.100135e0
mov eax, dword [esp + 0x20]
mov ecx, edi
test eax, eax
mov dword [edi + 0x98], vtable.CDBInitProperties.0
cmovne ecx, eax
mov eax, edi
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1000d1f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004bc73
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
add esi, 0x64
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], ebx
test eax, eax
jne 0x1000d250
mov edi, 0x80070057
jmp 0x1000d359
mov dword [eax], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
jne 0x1000d26c
mov edi, 0x8000ffff
jmp 0x1000d359
cmp dword [ecx + 0x90], 0xffffffff
je 0x1000d27e
cmp dword [ecx + 0x94], 0xffffffff
jne 0x1000d295
lea eax, [esp + 0x14]
push eax
call fcn.1000eb40
mov edi, eax
test edi, edi
jns 0x1000d295
xor eax, eax
jmp 0x1000d350
push 0x9c
call fcn.1003d386
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
test eax, eax
je 0x1000d2be
push dword [esp + 0x30]
mov ecx, eax
call fcn.1000ac20
mov ebx, eax
jmp 0x1000d2c0
xor ebx, ebx
mov byte [esp + 0x24], 0
test ebx, ebx
jne 0x1000d2d3
mov edi, 0x8007000e
jmp 0x1000d359
mov eax, dword [ebp + 8]
mov ecx, ebx
push dword [eax + 0x94]
push dword [eax + 0x90]
push eax
call fcn.1000b510
mov edi, eax
test edi, edi
jns 0x1000d2f4
xor eax, eax
jmp 0x1000d350
cmp dword [esp + 0x30], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x94], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [eax + 0x90], 0xffffffff
je 0x1000d32e
push dword [esp + 0x34]
push 0x10068bd8
call fcn.10004080
test al, al
je 0x1000d32e
mov edi, 0x80040e22
jmp 0x1000d359
push dword [esp + 0x38]
mov eax, dword [ebx]
push dword [esp + 0x38]
push ebx
call dword [eax]
mov eax, dword [esp + 0x38]
cmp dword [eax], 0
jne 0x1000d34b
mov edi, 0x80004002
jmp 0x1000d359
mov eax, 1
test edi, edi
jns 0x1000d37f
cmp eax, 1
jne 0x1000d367
push 0x10068d58
push edi
push dword [ebp + 8]
call fcn.10010680
test edi, edi
jns 0x1000d37f
test ebx, ebx
je 0x1000d37f
mov ecx, ebx
call fcn.1000ad90
push ebx
call fcn.1003d3fc
add esp, 4
test esi, esi
je 0x1000d38a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
Function at 0x100188b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004c036
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CRowsetConnectionPoint.0
cmp dword [esi + 0x28], 0
mov dword [esp + 0x1c], 1
je 0x10018943
xor edi, edi
cmp dword [esi + 0x44], edi
jbe 0x10018938
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10018917
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test eax, eax
jne 0x10018917
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
mov dword [eax], 0
mov eax, dword [esi + 0x28]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x10018932
lea ecx, [ebx + 0x10]
call fcn.10004320
push ebx
call fcn.1003d3fc
add esp, 4
inc edi
cmp edi, dword [esi + 0x44]
jb 0x100188f5
push dword [esi + 0x28]
call fcn.1003e9e0
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 0
call fcn.10004320
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x1001c170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004c2e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 0x48]
mov dword [esp + 0x14], 0
push eax
mov dword [esi], vtable.CRowset.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
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
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 1
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0xffffffff
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
call fcn.100135b0
and dword [esi + 0xac], 0xfffffffc
mov ecx, esi
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
cmovne ecx, eax
mov dword [esi + 0xb8], 0
mov eax, esi
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0xffffffff
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xec], 1
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x10031f30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004ca68
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx + 8]
add esi, 0x64
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], 0
test eax, eax
je 0x1003204f
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x1003204f
mov ecx, dword [ebx + 8]
push eax
add ecx, 0x40
call fcn.10035490
test eax, eax
je 0x10032048
mov ecx, dword [ebx + 8]
push ebp
add ecx, 0x40
call fcn.10035490
test eax, eax
je 0x10032048
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x14]
push eax
add ecx, 0x40
call fcn.10034d70
mov edi, eax
test edi, edi
js 0x10032054
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
add ecx, 0x40
push eax
call fcn.10034c10
mov edi, eax
test edi, edi
js 0x10032054
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x34]
add ecx, 0x40
call fcn.100354d0
mov edi, eax
test edi, edi
js 0x10032054
mov ecx, dword [ebx + 8]
push ebp
push dword [esp + 0x34]
add ecx, 0x40
call fcn.10035440
cmp eax, 1
je 0x10032054
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x14]
push eax
push ebp
add ecx, 0x40
call fcn.100354d0
mov edi, eax
test edi, edi
js 0x10032054
mov edi, 1
jmp 0x10032054
mov edi, 0x80040e6a
jmp 0x10032054
mov edi, 0x80070057
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10032070
push 0x10068e88
push eax
mov eax, dword [ebx + 8]
push edi
push dword [eax + 0x44]
call fcn.100106d0
jmp 0x10032083
test edi, edi
jns 0x10032083
push 0
push 0x10068e88
push edi
push 0
call fcn.10010420
test esi, esi
je 0x1003208e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x10033960
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004c8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
movdqu xmm0, xmmword [esp + 0x44]
mov ebx, dword [esp + 0x54]
push 0
push 0
movdqu xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov esi, dword [esp + 0x40]
mov esi, dword [esi + 8]
add esi, 0x64
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
test ebx, ebx
jne 0x100339d8
mov ebx, 0x80070057
jmp 0x10033a36
xor ebx, ebx
cmp dword [0x10062c54], ebx
jbe 0x10033a31
mov ebp, 0x10062be8
jmp 0x100339f0
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
mov edi, 0xc
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10033a25
add edx, 4
add eax, 4
sub edi, 4
jae 0x10033a00
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov eax, dword [eax*4 + 0x10062bf0]
xor ebx, ebx
mov dword [ecx], eax
jmp 0x10033a45
inc ebx
add ebp, 0xc
cmp ebx, dword [0x10062c54]
jb 0x100339f0
mov ebx, 0x80040e6d
push 0
push 0x10068eb8
push ebx
push 0
call fcn.10010420
test esi, esi
je 0x10033a50
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1003dba2
add esp, 0x28
ret 0x18
Function at 0x10033a80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004c910
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.100135e0
mov dword [esp + 0x18], vtable.CTrusteeProperties.0
push 0
push 0
mov dword [esp + 0x38], 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 8]
add esi, 0x64
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x30], 1
test edx, edx
je 0x10033bb9
cmp dword [esp + 0x48], 0
je 0x10033bb9
cmp dword [esp + 0x4c], 0
je 0x10033bb9
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
test ebx, ebx
je 0x10033b1a
test ebp, ebp
je 0x10033bb9
xor ecx, ecx
test ebx, ebx
je 0x10033b39
mov eax, ebp
cmp dword [eax], 0
jne 0x10033b31
cmp dword [eax + 4], 0
jne 0x10033bb9
inc ecx
add eax, 0x18
cmp ecx, ebx
jb 0x10033b22
mov ecx, dword [edi + 8]
push edx
add ecx, 0x40
call fcn.10035490
test eax, eax
jne 0x10033b50
mov edi, 0x80040e6a
jmp 0x10033bbe
lea ecx, [esp + 0x18]
call fcn.10014da0
mov edi, eax
test edi, edi
js 0x10033bbe
push 0x10064cb8
lea ecx, [esp + 0x1c]
call fcn.10014210
mov edi, eax
test edi, edi
js 0x10033bbe
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push dword [eax + 0x10]
push 0xf1
call fcn.10017e90
mov edi, eax
test edi, edi
js 0x10033bbe
mov ecx, dword [esp + 0x38]
push 0x100
mov ecx, dword [ecx + 8]
lea eax, [ecx + 0x98]
push eax
push ecx
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebp
push ebx
call fcn.1003bf00
mov edi, eax
test edi, edi
jns 0x10033bcd
jmp 0x10033bbe
mov edi, 0x80070057
push 0
push 0x10068e88
push edi
push 0
call fcn.10010420
test esi, esi
je 0x10033bd8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.10013690
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x18
Function at 0x100831ec
Capabilities:
Encode data using xor

Disassembly:
call 0x10083165
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10083195
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100831b1
xor edx, 0
jmp 0x100831bc
xor edx, edx
jmp 0x100831d3
jmp 0x100831df
xor eax, eax
push 0x8427d7c0
call 0x100831ec
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10083228
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10083201
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1008323f
add eax, 0
jno 0x10083244
add esi, 0
ret 0x10

Function at 0x10083fad
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10083fcf
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10084171
cmp edi, dword [ebp + 0x10]
jb 0x10084171
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10083a99
inc edi
jmp 0x10084058
jmp 0x10084065
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10083a99
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10083a99
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100840b9
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1008409d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100840e7
add dword [eax], 0x39
jle 0x100840c3
sub al, 0xf5
mov ch, al
call fcn.100840fc
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10085dd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10085dea
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10085dfb
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10085e3c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x100881a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100880f1
add ebx, 0
push ecx
call 0x10088106
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x732a93d1
sub ebx, dword [0x732c8c10]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x732c8c00
call fcn.10083bd0
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100830de
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10088264
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10088264
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1008821b
mov eax, 1
lock xchg dword [0x732c8c0c], eax
push 0x3dd1fc71
call 0x100881a8
push esi
add esp, 8
cmp eax, 0
jne 0x10088191
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100881b7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100881cc
cmp ecx, edx
cmp eax, 0
je 0x100881f1
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100881db
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1008820a
dec eax
loope 0x1008820d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x732c8c0c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10088241
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10088256
jmp 0x10088261
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1008814f
Function at 0x1008f2c9
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1008f59f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x732b5884
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x732ac84a
push 0xffffffffffffffff
call fcn.100864c9
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1008f333
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1008f34b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1008f593
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1008f567
Function at 0x1009ed99
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1009edbb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009edbb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009edbb
ret
cmp word [ebx + 4], 0x14c
jne 0x1009edbb
test word [ebx + 0x16], 2
je 0x1009edbb
test word [ebx + 0x16], 0x100
je 0x1009edbb
cmp word [ebx + 0x18], 0x10b
jne 0x1009edbb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009edbb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009ee47
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009eddb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10085d26
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009edbb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1009ee47
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1009edbb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009edbb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009edbb
ret
cmp word [ebx + 4], 0x14c
jne 0x1009edbb
test word [ebx + 0x16], 2
je 0x1009edbb
test word [ebx + 0x16], 0x100
je 0x1009edbb
cmp word [ebx + 0x18], 0x10b
jne 0x1009edbb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009edbb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009ee47
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009eddb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10085d26
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009edbb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8