joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b7c
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x409828
mov ebx, 0x45b2d8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov esi, 0x400
cmp edi, ebp
je 0x406bca
push 1
push ebp
push edi
call fcn.00405f68
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x406d41
cmp eax, esi
jg 0x406d41
push esi
mov edi, 0x460930
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x406d41
cmp eax, esi
jg 0x406d41
push ebp
push ebp
push esi
push 0x45bad8
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
call ebx
test eax, eax
je 0x406d41
push ebp
push ebp
push esi
mov esi, 0x45c128
push esi
push 0xffffffffffffffff
push edi
push ebp
push ebp
call ebx
test eax, eax
je 0x406d41
push esi
push 0x45bad8
push str._s_s_r_n
push 0x45c528
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x472ddc]
push dword [eax + 0x128]
push edi
call fcn.004068eb
push 4
push 0xc0000000
push edi
call fcn.00405f68
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x406d41
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x406d37
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406d37
cmp edi, dword [esp + 0x10]
jne 0x406d37
push str._Rename__r_n
push esi
call fcn.00405ece
cmp eax, ebp
jne 0x406cce
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406cff
push 0x40981c
add eax, 0xa
push eax
call fcn.00405ece
mov ebp, eax
test ebp, ebp
je 0x406cfd
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x406cf0
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406cea
sub ebp, esi
inc ebp
mov eax, ebp
xor ebp, ebp
jmp 0x406d01
xor ebp, ebp
mov eax, edi
push ebx
push 0x45c528
add eax, esi
push eax
call fcn.00405f24
push ebp
push ebp
push ebp
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
lea eax, [esp + 0x14]
push eax
add edi, ebx
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x406fb2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x406ff0
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406fc6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x406fc1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40701d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ffe
not eax
pop ebp
ret 0xc
Function at 0x433e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x433e1b
cmp dword [ebp + 0xc], 0
jne 0x433e1f
xor eax, eax
jmp 0x433e78
mov eax, dword [ebp + 8]
mov word [eax], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433e76
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
jne 0x433e76
mov eax, dword [ebp + 8]
jmp 0x433e78
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43520a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x43b6f0
call fcn.00435420
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x435245
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x435245
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43525d
cmp eax, 0x20b
je 0x43524a
mov dword [ebp - 0x1c], edi
jmp 0x435271
cmp dword [ecx + 0x84], 0xe
jbe 0x435245
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x43526b
cmp dword [ecx + 0x74], 0xe
jbe 0x435245
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x450d54], 0xffffffff
or dword [0x450d58], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x44ee1c]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x44ee18]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x450d50], eax
call fcn.00435513
call fcn.004355db
cmp dword [0x44d560], edi
jne 0x4352d1
push 0x4355d3
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004355b1
push 0x43d010
push 0x43d00c
call sub.MSVCR71.dll__initterm
push 0x43555c
call fcn.004354fc
mov eax, dword [0x44ee14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x44ee10]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x34], eax
cmp eax, edi
jge 0x435325
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x43d008
push section..data
call sub.MSVCR71.dll__initterm
call dword [sym.imp.MSVCR71.dll___p___winitenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0041ecb0
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x435361
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x435396
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0043545b
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x1fca9b4
xor ecx, 0x6a9b6a35
mov edx, 0x89e1caf
xor edx, 0x4782616a
xor edx, ecx
mov edi, 0x303837d0
mov ecx, 0x3269202f
xor ecx, edi
mov ebx, 0x1baf5d6b
xor ebx, 0x657ea4c8
xor ebx, ecx
xor ebx, edx
push 0x2225d179
mov edx, 0x226500f9
pop ebx
xor edx, ebx
mov edi, edx
add edi, 0xffffff87
dec edi
mov ebx, dword [edi + 0x7a]
mov ecx, ebx
sub ecx, 0xfffffffa
mov edx, dword [ecx - 6]
mov ecx, 0x67f07abc
xor edx, ecx
mov edi, edx
add esp, 0xfffffffc
mov dword [esp], edi
pop edi
mov ecx, 4
sub esp, ecx
push 0x528bde2e
mov eax, 0x528bde2e
pop edx
xor eax, edx
xor eax, esp
mov dword [eax], edi
mov ecx, 0x6ad623fa
mov eax, 0x6e7226e9
xor eax, ecx
push 0x8f85e1f8
mov ebx, 0x678461dc
pop esi
xor ebx, esi
xor eax, ebx
xor edi, eax
mov edx, edi
mov eax, edx
and eax, 0xffffffff
invalid
dec dword [edi]
test dword [ebp], ecx
add byte [eax], al
mov ecx, 0x6124b5e7
mov ebx, 0x46b429de
xor ebx, ecx
mov edx, 0x218e45aa
xor edx, 0x3d3176cf
xor edx, ebx
mov edi, 0x50f19fa3
xor edi, 0x3a7dad6b
mov eax, 0x1d489001
mov ebx, 0x60100484
xor eax, ebx
xor eax, edi
xor eax, edx
mov edi, 0xfffffffc
add esp, edi
xor esi, esi
add esi, esp
mov dword [esi], eax
pop ecx
xor ecx, 0
jne 0x403eca
inc eax
add byte [edx], al
mov byte [0x40c034], 2
mov byte [0x40c035], 3
mov word [0x40c3dc], 0
mov word [0x40c3ec], 1
call fcn.0040285c
mov eax, 0x40c038
mov edx, 0x404398
call fcn.00403c25
mov eax, 0x40c204
mov edx, 0x404398
call fcn.00403c25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404391
ret

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x405e95
Capabilities:
Encode data using xor

Disassembly:
test dword [edx - 0x45], esp
js 0x405f12
fadd qword [edx + 0x31]
retf
Function at 0x10006cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x47], 0
je 0x10006e84
movaps xmm5, xmmword [0x101717f0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x10171870]
mov edx, 0x7c
movups xmm4, xmmword [0x10171900]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x7a
mov dword [ebp - 4], 0x75
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x79
sub edi, ebx
mov esi, 0x7b
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x71
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x10006d64
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x46
jae 0x10006e80
lea edx, [ebx + eax]
lea ecx, [eax + 0x75]
inc eax
xor byte [edx], cl
cmp eax, 0x46
jb 0x10006e72
mov byte [ebx + 0x47], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe53d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1017b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 7], 0
je 0x10006ef3
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x75]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x10006ee1
mov byte [esi + 7], 0
push ecx
lea eax, [esi + 6]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1000a150
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x10006f13
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000c780
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10006f8c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006f82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006f82
call dword [0x101055d0]
push ecx
push edx
call fcn.100fcd67
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10006fb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe53d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1017b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xa], 0
je 0x10007013
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x75]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x10007001
mov byte [esi + 0xa], 0
push ecx
lea eax, [esi + 9]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1000a150
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x10007033
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000c780
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x100070ac
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100070a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100070a2
call dword [0x101055d0]
push ecx
push edx
call fcn.100fcd67
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100070d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x136], 0
je 0x10007279
movaps xmm5, xmmword [0x101717f0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x10171870]
mov edx, 0x7c
movups xmm4, xmmword [0x10171900]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x7a
mov dword [ebp - 4], 0x75
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x79
sub edi, ebx
mov esi, 0x7b
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x71
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
nop word [eax + eax]
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x130
jb 0x10007150
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x135
jae 0x10007272
lea edx, [ebx + eax]
lea ecx, [eax + 0x75]
inc eax
xor byte [edx], cl
cmp eax, 0x135
jb 0x10007262
mov byte [ebx + 0x136], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100072e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe53d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1017b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xc], 0
je 0x10007343
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x75]
inc edx
xor byte [ecx], al
cmp edx, 0xb
jb 0x10007331
mov byte [esi + 0xc], 0
push ecx
lea eax, [esi + 0xb]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1000a150
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x10007363
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000c780
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x100073dc
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100073d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100073d2
call dword [0x101055d0]
push ecx
push edx
call fcn.100fcd67
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xd], 0
je 0x10007479
movups xmm4, xmmword [0x10171900]
mov esi, 0x78
push ebx
lea ebx, [esi - 0x75]
nop
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + esi - 0x78]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + esi - 0x78], xmm3
add esi, 4
sub ebx, 1
jne 0x10007420
pop ebx
mov byte [edi + 0xd], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xc]
push eax
push edi
call fcn.1000a150
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001acf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff577
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x12c
mov eax, dword [0x1017b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x130], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], 0
cmp byte [0x1016b8d7], 0
mov eax, dword [str.wgho]
mov ecx, dword [0x1016b8d4]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
je 0x1001ae97
xor edx, edx
cmp dword [0x101ab6b0], 2
mov dword [ebp - 0x130], edx
jl 0x1001ae60
movaps xmm2, xmmword [0x101717f0]
movaps xmm4, xmmword [0x10171f00]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10171820]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x10171900]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x101719b0]
xorps xmm2, xmm0
movd dword [ebp - 0x12c], xmm2
movaps xmm2, xmmword [0x10171800]
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10171820]
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmmword [0x10171900]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x101719b0]
xorps xmm2, xmm0
movd dword [ebp - 0x128], xmm2
jmp 0x1001ae97
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x130]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x12c], cl
inc edx
mov dword [ebp - 0x130], edx
cmp edx, 8
jl 0x1001ae60
push 0x104
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [0x10105114]
xorps xmm0, xmm0
lea ecx, [ebp - 0x120]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001aed0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, esi
call fcn.1000a740
mov dword [ebp - 4], 0
xor ecx, ecx
movq xmm0, qword [str.jylqwpa_]
mov al, byte [0x1016b928]
mov dword [ebp - 0x134], 1
movq qword [ebp - 0x12c], xmm0
mov byte [ebp - 0x124], al
mov eax, 0x51eb851f
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x32
sub dl, al
add dl, 0x36
xor byte [ebp + ecx - 0x12c], dl
inc ecx
cmp ecx, 9
jl 0x1001af16
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call fcn.100089c0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1001af52
mov eax, dword [esi]
push 0
push eax
call dword [0x10105200]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100fc92f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret