joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40708f
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x2c
mov eax, 0x4366f2
call fcn.0041f6af
lea esi, [ecx + 0x118]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.0040171f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4071ae
push 0xffffffffffffffff
mov ecx, esi
call fcn.004017b3
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004012f5
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.0040171f
push eax
push ebx
push 0x43b6d4
lea ecx, [ebp - 0x10]
call fcn.00407808
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401797
push 0xffffffffffffffff
mov ecx, esi
call fcn.004017b3
lea ecx, [ebp - 0x38]
call fcn.0041228c
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00405e9a
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push 0x1001
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.00412719
test eax, eax
jne 0x407153
mov ecx, esi
call fcn.00401392
jmp 0x407190
push 0x43b6dc
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x38]
call fcn.00412a80
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], vtable.CFileException.0
lea ecx, [ecx - 0x10]
call fcn.00401797
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004122b3
call fcn.0041f67d
ret

Function at 0x4071cb
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x436725
call fcn.0041f6af
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004012f5
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.0040171f
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401797
push 0xffffffffffffffff
mov ecx, edi
call fcn.004017b3
lea ecx, [ebp - 0x2c]
call fcn.00413494
mov eax, dword [edi]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], 0
je 0x407278
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413731
test eax, eax
je 0x407278
lea ecx, [ebp - 0x2c]
call fcn.004138d9
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004139f2
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040126b
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401797
lea ecx, [ebp - 0x2c]
call fcn.004136e5
jmp 0x40727a
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00413645
mov eax, ebx
call fcn.0041f67d
ret 4
Function at 0x40781f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4367d3
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00420370
mov eax, dword [0x44b5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov esi, dword [ebp + 8]
call fcn.00401392
xor ecx, ecx
lea eax, [ebp - 0x1044]
push eax
push ecx
push dword [esi]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1044], ecx
call sub.msi.dll_MsiOpenProductW
test eax, eax
jne 0x4079c4
push str.SELECT__Message__FROM__Error__WHERE_Error.Error
lea ecx, [ebp - 0x1048]
call fcn.0040188e
push 9
xor eax, eax
mov byte [ebp - 4], 1
pop ecx
mov word [ebp - 0x38], ax
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
push 0xa
push 0x14
stosw word es:[edi], ax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.00420783
add esp, 0x10
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x1048]
push eax
call fcn.00403cdb
xor esi, esi
mov dword [ebp - 0x103c], esi
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x1048]
mov dword [ebp - 0x1040], esi
push dword [ebp - 0x1044]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x40798e
push esi
push dword [ebp - 0x1040]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x40798e
cmp dword [ebp - 0x103c], eax
je 0x40791f
push dword [ebp - 0x103c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], esi
push eax
push dword [ebp - 0x1040]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x40798e
push 0xffe
mov word [ebp - 0x1038], ax
lea eax, [ebp - 0x1036]
push esi
push eax
call fcn.0041fdd0
add esp, 0xc
mov dword [ebp - 0x104c], 0x800
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1038]
push eax
push 1
push dword [ebp - 0x103c]
call sub.msi.dll_MsiRecordSetStreamA
test eax, eax
jne 0x40798e
lea eax, [ebp - 0x1038]
mov ecx, ebx
push eax
call fcn.00401e0c
cmp dword [ebp - 0x103c], 0
je 0x4079a2
push dword [ebp - 0x103c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x1040], 0
je 0x4079b6
push dword [ebp - 0x1040]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x1048]
lea ecx, [ecx - 0x10]
call fcn.00401797
cmp dword [ebp - 0x1044], 0
je 0x4079d8
push dword [ebp - 0x1044]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f66e
mov esp, ebp
pop ebp
ret
Function at 0x4079f4
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x435c5a
call fcn.0041f6af
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call fcn.00409b0d
mov ecx, dword [ebp + 8]
push eax
call fcn.00401210
push 0x7d
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
pop ebx
mov eax, dword [ebp + 0x14]
add ebx, ebx
mov ecx, dword [ebp + 8]
push ebx
mov esi, dword [eax]
call fcn.0040171f
push esi
push ebx
push eax
mov eax, dword [ebp + 0x10]
push 0x4386cc
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0xffffffffffffffff
call fcn.004017b3
lea ecx, [esi + 1]
cmp ebx, ecx
jbe 0x407a23
mov eax, dword [ebp + 8]
call fcn.0041f67d
ret 0x10
Function at 0x4086b0
Capabilities:
Delete file
Shutdown system

Disassembly:
push 0x24
mov eax, 0x43696d
call fcn.0041f6e2
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
cmp dword [esi + 0xec], ebx
jne 0x4087c3
cmp dword [esi + 0x14c], ebx
jne 0x408710
cmp dword [esi + 0x148], ebx
je 0x40870a
push 0x90
lea eax, [ebp - 0x30]
push eax
call fcn.00407a69
and dword [ebp - 4], ebx
inc ebx
push 0
push 0x10024
push dword [eax]
mov dword [ebp - 0x2c], ebx
call fcn.00406157
add esp, 0xc
cmp eax, 6
jne 0x408710
mov byte [ebp - 0x21], 0
jmp 0x408714
mov byte [ebp - 0x21], 1
test bl, 1
je 0x408724
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00401797
cmp byte [ebp - 0x21], 0
jne 0x4087c3
lea edi, [esi + 0x118]
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x40874b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.00401392
lea eax, [ebp - 0x28]
mov dword [esi + 0xe0], ebx
push eax
push 0x28
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4087a3
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
test esi, esi
je 0x4087a3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp - 0x28]
call edi
mov esi, eax
push 1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test esi, esi
je 0x4087c3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push dword [ebp - 0x28]
call edi
call fcn.0041f691
ret

Function at 0x4088c7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x44b5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
xor esi, esi
push esi
push eax
call fcn.0041fdd0
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x40891d
xor eax, eax
inc eax
cmp dword [ebp - 0x118], 2
cmove esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041f66e
mov esp, ebp
pop ebp
ret
Function at 0x408da5
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x4369f8
call fcn.0041f6af
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.0040188e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov ebx, dword [eax - 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x408e21
mov ecx, dword [ebp + 0x18]
cmp ecx, 1
je 0x408df8
cmp ecx, 2
je 0x408df8
push ebx
jmp 0x408dfc
lea eax, [ebx + ebx]
push eax
push dword [ebp + 0x14]
push ecx
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408e46
mov ebx, 0x44d6ac
push 0x43a670
mov ecx, ebx
call fcn.00401e0c
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00403cdb
mov ecx, 0x44d5e0
call fcn.0040892f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401797
mov eax, esi
call fcn.0041f67d
ret

Function at 0x408e59
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408ebb
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408ebb
inc edi
jmp 0x408ee0
mov esi, 0x44d6ac
push str.Failed_to_register_DWORD_value:
mov ecx, esi
call fcn.00401e0c
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00403cdb
mov ecx, 0x44d5e0
call fcn.0040892f
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40ce1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40ce64
call fcn.00416709
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40ce64
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40ce80
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004090b1
mov ebx, eax
test edi, edi
je 0x40ce7e
test esi, esi
je 0x40ce7e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430305
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44b5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00426012
mov dword [ebp - 0x14], eax
cmp dword [0x450644], esi
jne 0x4303f8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x430385
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4304d8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4304d8
push 0x43fa1c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4304d8
push eax
call ebx
push 0x43fa28
push edi
mov dword [0x450644], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x43fa38
push edi
mov dword [0x450648], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45064c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x450654], eax
test eax, eax
je 0x4303f5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x450650], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43041d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x430410
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x430432
push 4
pop eax
jmp 0x4304da
cmp dword [ebp - 0x14], esi
je 0x430432
push dword [0x450644]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x430417
mov eax, dword [0x450650]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x430490
cmp dword [0x450654], edi
je 0x430490
push eax
call ebx
push dword [0x450654]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x430490
test eax, eax
je 0x430490
call ecx
test eax, eax
je 0x430485
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x430485
test byte [ebp - 8], 1
jne 0x430490
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4304c0
mov eax, dword [0x450648]
cmp eax, edi
je 0x4304bd
push eax
call ebx
test eax, eax
je 0x4304bd
call eax
mov esi, eax
test esi, esi
je 0x4304bd
mov eax, dword [0x45064c]
cmp eax, edi
je 0x4304bd
push eax
call ebx
test eax, eax
je 0x4304bd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x450644]
call ebx
test eax, eax
je 0x4304d8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4304da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f66e
mov esp, ebp
pop ebp
ret
Function at 0x46c7d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x46c7f5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x46c868
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x46c82a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x46c85d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x46c85b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x46c821
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x46c7ec
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1002a050
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 0x100e424b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x1010e930]
test al, 1
jne 0x1002a19b
or eax, 1
mov dword [0x1010e930], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100f1a20]
xorps xmm0, xmmword [0x100f1530]
mov dword [ebp - 0x20], 0xe110e11
mov dword [ebp - 0x1c], 0x680e6c16
mov word [ebp - 0x18], 0x2e1f
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0x2e
inc eax
cmp eax, 0x1a
jb 0x1002a0d3
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a100
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10032850
mov byte [ebp - 4], 1
mov edx, dword [0x1012b90c]
test edx, edx
je 0x1002a129
mov edx, dword [edx + 0x50]
jmp 0x1002a12b
xor edx, edx
mov eax, dword [0x1012b904]
test eax, eax
je 0x1002a139
mov eax, dword [eax + 0x18]
jmp 0x1002a13b
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10029b40
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x1010e934], eax
cmp ecx, 0xf
jbe 0x1002a192
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a183
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002a183
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e2296
mov eax, dword [0x1010e934]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x1002a1a0
mov eax, dword [0x1010e934]
test eax, eax
je 0x1002a1a8
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10032620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4585
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x45c
call fcn.100e1e38
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100ef5fc
mov eax, dword [esi]
mov dword [edi + 0x10], 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
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x3c4], 0
mov dword [edi + 0x3c8], 0
mov dword [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov byte [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0
mov byte [edi + 0x3ec], 0
mov dword [edi + 0x3f0], 0
mov dword [edi + 0x3f4], 0
mov dword [edi + 0x3f8], 0
mov dword [edi + 0x3fc], 0
mov dword [edi + 0x400], 0
mov dword [edi + 0x404], 0
mov byte [edi + 0x411], 0
mov byte [edi + 0x418], 0
mov byte [edi + 0x41a], 0
mov dword [edi + 0x430], 0
movups xmmword [edi + 0x434], xmm0
mov dword [edi + 0x444], 0
mov dword [edi + 0x448], 0xf
mov byte [edi + 0x434], 0
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1002a270
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100337b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
dec eax
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov esi, edi
sar eax, 1
mov ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1003380e
nop dword [eax]
lea esi, [ecx + ecx]
push dword [ebx + esi*4 + 4]
push dword [ebx + esi*4 + 8]
call fcn.1002d680
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edi*4], eax
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jl 0x100337e0
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, ecx
cmp ecx, eax
jne 0x10033825
mov eax, dword [ebp - 0x10]
test al, 1
jne 0x10033825
mov eax, dword [ebx + eax*4 - 4]
mov edi, dword [ebp - 0x14]
mov dword [ebx + ecx*4], eax
cmp esi, edi
jge 0x10033870
nop dword [eax]
push dword [edx]
lea esi, [edi - 1]
sar esi, 1
push dword [ebx + esi*4]
call fcn.1002d680
test al, al
je 0x10033861
mov eax, dword [ebx + esi*4]
mov edx, dword [ebp - 4]
mov dword [ebx + edi*4], eax
mov edi, esi
cmp dword [ebp - 8], esi
jl 0x10033830
mov eax, edx
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10037d20
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100fc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
movss xmm3, dword [0x100f1138]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
movzx eax, cl
push esi
push edi
mov edi, dword [ebp + 8]
movd xmm0, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movzx eax, cl
mulss xmm0, xmm3
cvtdq2ps xmm1, xmm1
movd xmm2, eax
mulss xmm1, xmm3
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm3
test edi, edi
je 0x10037e2f
mov eax, dword [edi]
sub esp, 0xc
mov ecx, edi
mov eax, dword [eax + 0x70]
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call eax
mov dword [ebp - 0x10], 0x58404b0a
xor eax, eax
mov dword [ebp - 0xc], 0x5a5e4f43
mov dword [ebp - 8], 0x2e5a4047
xor byte [ebp + eax - 0x10], 0x2e
inc eax
cmp eax, 0xc
jb 0x10037db7
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push 1
push 0
push ecx
mov eax, dword [eax + 0x2c]
mov ecx, edi
call eax
mov esi, eax
test esi, esi
je 0x10037e56
movzx ecx, byte [ebp - 0x16]
sub esp, 0xc
movss xmm1, dword [0x100f1138]
movzx eax, byte [ebp - 0x17]
mov edx, dword [esi]
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, dword [edx + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
call eax
jmp 0x10037e56
mov ecx, dword [0x1012b978]
lea edx, [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0xc], xmm2
mov dword [ebp - 8], 0x3f800000
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp + 0x14]
push esi
push 0x400
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov ecx, edi
push esi
push 0x4000
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov ecx, edi
push esi
push 0x8000
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1012b988]
push 0
push 0
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100e1e1c
mov esp, ebp
pop ebp
ret 0x10