joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4057d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x4057ee
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x4057e2
cmp dword [edi + 0x7c], ebx
je 0x4057fd
call fcn.00405bc0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00405540
add esp, 0xc
test eax, eax
je 0x405824
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x84
call fcn.0042409f
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x405865
push 0x4000
call fcn.0042409f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x405872
push esi
call fcn.00423fc2
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x4058ba
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004045f0
test eax, eax
jne 0x4058ba
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x4058e4
mov cl, byte [edi + 0x39]
mov byte [esi + 0x80], cl
jmp 0x4058ed
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp ebp, ebx
je 0x405927
mov cl, byte [ebp]
cmp cl, bl
je 0x405927
call fcn.004042e0
add ebp, 1
jne 0x405916
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x405cc0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [esi], 0
push edi
jne 0x405d61
cmp dword [esi + 4], 0xffffffff
jne 0x405d61
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405cf0
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x405d29
cmp ax, 0x2f
je 0x405d29
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x405d16
mov eax, dword [0x43de54]
mov dword [edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
call fcn.00404a40
add esp, 4
test eax, eax
jne 0x405d47
mov eax, dword [esp + 0xc]
pop edi
pop ecx
ret 4
call fcn.00404e20
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
ret 4
mov eax, 0x1000000
pop edi
pop ecx
ret 4

Function at 0x4063f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x4487e8]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov esi, dword [esp + 0x424]
test esi, esi
je 0x406430
push esi
call ebp
cmp eax, 0xffffffff
jne 0x406430
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x406516
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x40644f
cmp ax, 0x5c
jne 0x406451
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x406443
push edi
cmp ecx, ebx
je 0x406494
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x21c]
push ebx
push eax
call fcn.0042ad70
lea edx, [esp + 0x224]
push edx
xor ecx, ecx
push esi
mov word [esp + edi + 0x22c], cx
call fcn.004063f0
add esp, 0x14
xor eax, eax
mov word [esp + 0x10], ax
test esi, esi
je 0x4064bf
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x4064b0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4064b0
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4064c3
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4064e0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4064e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebp
pop edi
cmp eax, 0xffffffff
jne 0x406516
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004238bd
add esp, 0x414
ret
Function at 0x4071e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
je 0x4072bb
mov eax, dword [esi + 0x3c]
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x407214
cmp dword [esi + 0x40], edi
jae 0x407214
push eax
call fcn.00407531
add esp, 4
mov dword [esi + 0x3c], ebp
cmp dword [esi + 0x3c], ebp
jne 0x40722b
lea eax, [edi + edi]
push eax
call fcn.00407502
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.0042ad70
add esp, 0xc
cmp edi, ebp
jbe 0x4072b7
lea ecx, [ecx]
mov edx, dword [esi + 0x3c]
mov bl, byte [edx + ebp]
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
movsx ecx, bl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43e088]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x43e088]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, bl
mov byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x18]
jb 0x407240
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x3c]
pop ebp
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4072f4
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x4072dc
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.0042ad70
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x407315
push 0
lea edx, [esp + 0x18]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x4088f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x408941
call fcn.0040ba1d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x408941
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x408984
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40896d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40896d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x408981
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40dd6f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4375dd
call fcn.0042491a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40dd94
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40ddda
lea ecx, [ebp - 0x10]
call fcn.0040801f
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040adca
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401a40
mov eax, esi
call fcn.004249f2
ret 8

Function at 0x41c9e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41ca2e
call fcn.0040ba1d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ca2e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41ca4a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041c55f
mov esi, eax
test edi, edi
je 0x41ca48
test ebx, ebx
je 0x41ca48
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x421bab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x421bcf
cmp dword [edi + 0x54], 0
jne 0x421bcf
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040ba1d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00421b6c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4238bd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4487e8]
jne 0x4238c7
repz ret
jmp fcn.00428e06

Function at 0x42fba2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00428815
and dword [ebp - 4], 0
cmp dword [0x44c508], 0
mov ebx, eax
jne 0x42fc53
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42fd04
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42fd04
push eax
call fcn.004287a3
mov dword [esp], 0x43c304
push edi
mov dword [0x44c508], eax
call esi
push eax
call fcn.004287a3
mov dword [esp], 0x43c2f0
push edi
mov dword [0x44c50c], eax
call esi
push eax
call fcn.004287a3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44c510], eax
call esi
push eax
call fcn.004287a3
pop ecx
mov dword [0x44c518], eax
test eax, eax
je 0x42fc53
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004287a3
pop ecx
mov dword [0x44c514], eax
mov eax, dword [0x44c514]
cmp eax, ebx
je 0x42fcab
cmp dword [0x44c518], ebx
je 0x42fcab
push eax
call fcn.0042881e
push dword [0x44c518]
mov esi, eax
call fcn.0042881e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42fcab
test edi, edi
je 0x42fcab
call esi
test eax, eax
je 0x42fca2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42fca2
test byte [ebp - 0xc], 1
jne 0x42fcab
or dword [ebp + 0x10], 0x200000
jmp 0x42fce4
mov eax, dword [0x44c50c]
cmp eax, ebx
je 0x42fce4
push eax
call fcn.0042881e
pop ecx
test eax, eax
je 0x42fce4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42fce4
mov eax, dword [0x44c510]
cmp eax, ebx
je 0x42fce4
push eax
call fcn.0042881e
pop ecx
test eax, eax
je 0x42fce4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44c508]
call fcn.0042881e
pop ecx
test eax, eax
je 0x42fd04
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42fd06
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa4f107
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x77440170]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [0x77440934]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
lea edi, [esp + 0x14]
push 6
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
jne 0xa5eed0
push 0x77414800
push dword [0x7744092c]
push dword [0x77440928]
call dword [0x77411af0]
test al, al
jne 0xa5eed0
xor esi, esi
mov dword [0x774408b8], esi
mov edi, dword [esp + 0x28]
test edi, edi
je 0xa4f185
push edi
push esi
push dword [esp + 0x1c]
call dword [0x7741114c]
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a5177f
mov esp, ebp
pop ebp
ret

Function at 0xa6ee44
Capabilities:
Enumerate pe sections

Disassembly:
dec eax
mov dword [esp + 8], ebx
push edi
dec eax
sub esp, 0x40
inc ebp
xor eax, eax
dec eax
lea edi, [0xffffdda8]
mov bl, cl
dec esp
lea ecx, [esp + 0x60]
dec eax
mov edx, edi
inc ecx
lea ecx, [eax + 3]
dec eax
call dword [0x3980b]
nop dword [eax + eax]
dec eax
mov edx, dword [esp + 0x60]
dec esp
lea edx, [0x53db2]
inc esp
sub edx, edi
inc ebp
xor ecx, ecx
movzx eax, word [edx + 0x14]
dec esp
lea eax, [edx + 0x18]
inc esp
movzx ebx, word [edx + 6]
dec esp
add eax, eax
inc ebp
test ebx, ebx
je 0xa6eeb7
inc ecx
mov ecx, dword [eax + 0xc]
inc esp
cmp edx, ecx
jb 0xa6eeab
inc ecx
add ecx, dword [eax + 8]
inc esp
cmp edx, ecx
jb 0xa6eeb7
inc ecx
inc ecx
dec ecx
add eax, 0x28
inc ebp
cmp ecx, ebx
jb 0xa6ee99
inc ebp
cmp ecx, ebx
je 0xa6ef17
inc ecx
mov eax, dword [eax + 0xc]
dec eax
lea edx, [esp + 0x30]
dec eax
add eax, edi
dec eax
mov dword [esp + 0x30], eax
neg bl
inc ecx
mov eax, dword [eax + 8]
dec esp
lea eax, [esp + 0x68]
inc ebp
sbb ecx, ecx
dec eax
mov dword [esp + 0x68], eax
inc ecx
and ecx, 0xfffffffe
dec eax
lea eax, [esp + 0x58]
inc ecx
add ecx, 4
dec eax
mov dword [esp + 0x20], eax
dec eax
or ecx, 0xffffffff
inc esp
mov dword [esp + 0x58], ecx
dec eax
call dword [0x3977e]
nop dword [eax + eax]
test eax, eax
js 0xa6ef17
dec eax
mov ebx, dword [esp + 0x50]
dec eax
add esp, 0x40
pop edi
ret
mov ecx, 0x22
int 0x29
int3
Function at 0xabd040
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
lea eax, [ecx - 1]
test ecx, eax
sete dl
test ecx, 0xfffffffc
sete al
test al, dl
je 0xb13d43
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi]
mov edx, eax
and dl, 3
cmp dl, 2
je 0xabd08c
test cl, 1
je 0xabd0a5
mov eax, 0xc0000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0xabd09e
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and eax, 0xfffffffc
mov dword [ecx], eax
jmp 0xabd093
test cl, 2
jne 0xabd0e0
mov ebx, 1
nop
mov ecx, eax
and ecx, 3
jne 0xb13d02
mov edx, eax
test ebx, ebx
je 0xabd0e4
mov ecx, 1
mov eax, edx
lock cmpxchg dword [edi], ecx
cmp eax, edx
jne 0xabd0b0
mov esi, 0x103
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
jmp 0xabd0b0
mov ecx, 3
jmp 0xabd0c6
add eax, 0xd3ef0f66
pxor xmm3, xmm3
mov eax, 5
movdqa xmm4, xmmword [edx]
dec eax
lea edx, [edx + 0x10]
movdqa xmm6, xmm2
palignr xmm6, xmm3, 1
movdqa xmm3, xmm6
psrldq xmm2, 1
movdqa xmm5, xmm4
pshufb xmm4, xmm0
pshufb xmm5, xmm1
pxor xmm2, xmm5
pxor mm2, mm5
movdqa xmm5, xmm4
psllq xmm5, 0x3c
movdqa xmm6, xmm5
jae 0xb13d3a
cmp al, 0x66
movq mm6, mm5
pslldq xmm6, 8
pxor xmm3, xmm6
psrldq xmm5, 8
pxor xmm2, xmm5
psrlq xmm4, 4
pxor xmm2, xmm4
dec eax
sub eax, 1
jne 0xb13d10
pxor xmm2, xmm3
psrlq xmm3, 1
pxor xmm2, xmm3
psrlq xmm3, 1
pxor xmm2, xmm3
psrlq xmm3, 5
pxor xmm2, xmm3
pxor xmm3, xmm3
mov eax, 6
movdqa xmm4, xmmword [edx]
dec eax
lea edx, [edx + 0x10]
movdqa xmm6, xmm2
palignr xmm6, xmm3, 1
movdqa xmm3, xmm6
psrldq xmm2, 1
movdqa xmm5, xmm4
pshufb xmm4, xmm0
pshufb xmm5, xmm1
pxor xmm2, xmm5
movdqa xmm5, xmm4
psllq xmm5, 0x3c
movdqa xmm6, xmm5
pslldq xmm6, 8
pxor xmm3, xmm6
psrldq xmm5, 8
pxor xmm2, xmm5
psrlq xmm4, 4
pxor xmm2, xmm4
dec eax
sub eax, 1
jne 0xb13d97
pxor xmm2, xmm3
psrlq xmm3, 1
pxor xmm2, xmm3
psrlq xmm3, 1
pxor xmm2, xmm3
psrlq xmm3, 5
pxor xmm2, xmm3
pxor xmm3, xmm3
inc cx
pshufb mm2, mm2
movdqu xmmword [ecx], xmm2
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
pxor xmm5, xmm5
pxor xmm6, xmm6
movdqa xmm6, xmmword [esp]
inc sp
movq mm2, qword [esp + 0x10]
dec eax
add esp, 0x28
ret

Function at 0xabdf88
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
lea ebx, [esi + 0x14]
lea eax, [ecx + edx]
mov dword [ebp - 8], eax
cmp eax, dword [ebx]
ja 0xabdfb8
sub eax, dword [ebx]
xor edx, edx
mov ecx, dword [esi + 0xc]
inc edx
mov dword [ebp - 4], eax
call 0xabed40
push eax
push 0x1000
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0xffffffffffffffff
call 0xb02850
je 0xabe022
add al, 0
Function at 0xabe820
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xabe85f
cmp dword [ebp + 0x10], 0
jl 0xabe83b
jg 0xabe85f
cmp dword [ebp + 0xc], 0
jae 0xabe85f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0xabe85f
push 8
lea eax, [ebp + 0xc]
push eax
push 2
push dword [ecx + 0x24]
call fcn.00b040e0
pop ecx
pop ebp
ret 0xc
call 0xb94abd
mov eax, 0xc000000d
jmp 0xabe85a
Function at 0xac00e5
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword fs:[0x30]
mov ebx, dword [0x776d6630]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 8], edx
mov eax, dword [ecx + 0xa4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 0xa8]
mov dword [esi + 8], eax
movzx eax, word [ecx + 0xac]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0xb0]
mov dword [esp + 0x14], ecx
mov dword [esi + 0x10], eax
push edi
mov edi, edx
test ebx, ebx
jne 0xac015c
push edx
push 0x775b16d0
push edx
push 0xabababab
call fcn.00ac7fc0
mov ebx, eax
mov dword [0x776d6630], ebx
test ebx, ebx
je 0xac0168
mov ecx, ebx
call dword [0x776d91e0]
call ebx
mov edi, eax
sub edi, 1
je 0xac0182
sub edi, 1
jne 0xac0197
mov dword [esi + 8], 3
mov dword [esi + 0xc], 0x2580
jmp 0xac0190
mov dword [esi + 8], 2
mov dword [esi + 0xc], 0x23f0
mov dword [esi + 4], 6
mov edi, dword [esp + 0x18]
mov edx, 0x100
mov eax, dword [edi + 0x1f4]
test eax, eax
je 0xac01be
xor ecx, ecx
cmp word [eax], cx
je 0xac01be
push eax
lea ecx, [esi + 0x14]
call fcn.00ae591f
test eax, eax
jns 0xac01c4
xor eax, eax
mov word [esi + 0x14], ax
cmp dword [esi], 0x11c
mov ebx, 0x124
je 0xac01d9
cmp dword [esi], ebx
jne 0xac02fb
movzx eax, byte [edi + 0xaf]
mov ecx, 0xff
mov word [esi + 0x114], ax
mov ax, word [edi + 0xae]
and ax, cx
mov word [esi + 0x116], ax
call fcn.00ac0350
mov word [esi + 0x118], ax
cmp dword [esi], ebx
jne 0xac021d
call fcn.00ac0350
and eax, 0x1ffff
mov dword [esi + 0x11c], eax
xor eax, eax
mov byte [esi + 0x11a], al
lea eax, [esp + 0x1c]
push eax
call fcn.00ac0310
test al, al
je 0xac023d
mov al, byte [esp + 0x1c]
mov byte [esi + 0x11a], al
push 0x775b5178
lea eax, [esp + 0x24]
push eax
call fcn.00b04d90
lea eax, [esp + 0x14]
push eax
push 4
pop ebx
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00b03c20
mov edi, eax
call fcn.00b17886
test eax, eax
je 0xac02c6
test edi, edi
js 0xac028b
cmp dword [esp + 0x10], ebx
jne 0xac028b
cmp dword [esp + 0x14], ebx
jne 0xac028b
cmp dword [esp + 0xc], 1
je 0xac02fb
mov ax, word [esi + 0x118]
mov ecx, 0xffef
and ax, cx
mov ecx, 0x100
or ax, cx
cmp dword [esi], 0x124
mov word [esi + 0x118], ax
jne 0xac02fb
mov eax, dword [esi + 0x11c]
and eax, 0xfffdffef
or eax, ecx
mov dword [esi + 0x11c], eax
jmp 0xac02fb
test edi, edi
js 0xac02fb
cmp dword [esp + 0x10], ebx
jne 0xac02dd
cmp dword [esp + 0x14], ebx
jne 0xac02dd
cmp dword [esp + 0xc], 1
je 0xac02fb
mov eax, 0xffef
and word [esi + 0x118], ax
cmp dword [esi], 0x124
jne 0xac02fb
and dword [esi + 0x11c], 0x1ffef
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xac07cd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x776db370]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0xc]
mov word [ebp - 0x9a], dx
mov dword [ebp - 0xa4], ecx
push ebx
push esi
push edi
test ax, ax
je 0xb1ea53
mov ebx, dword [ebp + 8]
test bl, 1
jne 0xb1ea53
cmp ax, word [ebx + 0x34]
jne 0xb1ea53
lea eax, [ebx + 0x24]
push eax
call 0xad2010
mov eax, dword fs:[0x18]
push 0x78
pop esi
push esi
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00b08c80
mov eax, dword [ebx + 0x30]
lea edi, [ebp - 0x98]
mov dword [ebp - 0x20], eax
add esp, 0xc
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov ax, word [ebp - 0x9a]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], ax
mov dword [ebp - 0x9c], ecx
lea eax, [ebp - 0xa0]
push eax
push esi
push edi
push 0x18
lea eax, [ebp - 0x20]
push eax
push 0x1e
call fcn.00b04320
mov esi, eax
cmp esi, 0xc0000023
je 0xb1e9c3
test esi, esi
jne 0xb1ea28
mov eax, 0x4000
or word [ebx + 0x36], ax
cmp dword [ebp - 0xa0], 0
je 0xac08b4
mov edx, edi
mov ecx, ebx
call fcn.00ac0a7f
and dword [ebx + 0x2c], 0
lea eax, [ebx + 0x24]
push eax
call 0xad21b0
test edi, edi
je 0xac08d3
lea eax, [ebp - 0x98]
cmp edi, eax
jne 0xb1ea3d
test esi, esi
jne 0xac08ea
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00b04890
leave
ret 8
push esi
call fcn.00aea810
jmp 0xac08d7
adc eax, eax
out dx, eax
fsub dword [esi + 0x44]
stc