joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039af0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push 0
push 0
shl eax, 0xb
push eax
push dword [esp + 0x14]
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10039b31
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x1c]
movzx eax, ax
push eax
push dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [esp]
pop ecx
ret 0x10

Function at 0x10039b70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x10048200]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10039bb3
push esi
push 0
push 0x10003228
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.1003d130
add esp, 0x108
ret 4

Function at 0x10039dc0
Capabilities:
Get hostname

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0x20
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10039de3
call fcn.10039ca0
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x10039f40
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0xd
call fcn.1002ff10
cmp eax, 0xffffff9c
jne 0x10039f51
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
push 0
push 0
shl eax, 0xb
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10039f75
call fcn.10039ca0
pop ecx
ret 0xc
push 0
lea eax, [esp + 4]
push eax
push 0x800
push dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10039f6c
xor eax, eax
mov ecx, 0xfffffc06
cmp dword [esp], 0x800
cmovne eax, ecx
pop ecx
ret 0xc

Function at 0x10039fb0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0xd
call fcn.1002ff10
cmp eax, 0xffffff9c
jne 0x10039fc1
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
push 0
shl eax, 6
push 0
sub eax, 0x40
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10039fe8
call fcn.10039ca0
pop ecx
ret 0xc
push 0
lea eax, [esp + 4]
push eax
push 0x40
push dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10039fdf
xor eax, eax
mov ecx, 0xfffffc06
cmp dword [esp], 0x40
cmovne eax, ecx
pop ecx
ret 0xc

Function at 0x1003a120
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0xe
call fcn.1002ff10
cmp eax, 0xffffff9c
jne 0x1003a131
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
push 0
shl eax, 6
push 0
sub eax, 0x40
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1003a158
call fcn.10039ca0
pop ecx
ret 0xc
push 0
lea eax, [esp + 4]
push eax
push 0x40
push dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1003a14f
xor eax, eax
mov ecx, 0xfffff8f0
cmp dword [esp], 0x40
cmovne eax, ecx
pop ecx
ret 0xc
Function at 0x1003a6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push edi
xor edi, edi
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003a707
lea ecx, [esp + 0x20]
push ecx
push 1
push edi
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003a754
lea edi, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x1003a70f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push esi
push ebx
push ebp
push ecx
push 0
push dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebx]
cmp eax, dword [esp + 0x10]
jge 0x1003a742
cmp dword [esp + 0x18], 1
jne 0x1003a742
test esi, esi
jne 0x1003a742
mov byte [eax + ebp], 0
test edi, edi
je 0x1003a750
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 0x14
Function at 0x10043dde
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10048200]
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.1003f577
mov dword [ebp - 0x14], eax
cmp dword [0x1004a19c], esi
jne 0x10043ed1
push 0x800
push esi
push 0x1000762c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10043e5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10043fb1
push esi
push esi
push 0x1000762c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10043fb1
push 0x10007644
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10043fb1
push eax
call ebx
push 0x10007650
push edi
mov dword [0x1004a19c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007660
push edi
mov dword [0x1004a1a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007674
push edi
mov dword [0x1004a1a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1004a1ac], eax
test eax, eax
je 0x10043ece
push 0x10007690
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1004a1a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10043ef6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10043ee9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10043f0b
push 4
pop eax
jmp 0x10043fb3
cmp dword [ebp - 0x14], esi
je 0x10043f0b
push dword [0x1004a19c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10043ef0
mov eax, dword [0x1004a1a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10043f69
cmp dword [0x1004a1ac], edi
je 0x10043f69
push eax
call ebx
push dword [0x1004a1ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10043f69
test eax, eax
je 0x10043f69
call ecx
test eax, eax
je 0x10043f5e
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 0x10043f5e
test byte [ebp - 8], 1
jne 0x10043f69
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10043f99
mov eax, dword [0x1004a1a0]
cmp eax, edi
je 0x10043f96
push eax
call ebx
test eax, eax
je 0x10043f96
call eax
mov esi, eax
test esi, esi
je 0x10043f96
mov eax, dword [0x1004a1a4]
cmp eax, edi
je 0x10043f96
push eax
call ebx
test eax, eax
je 0x10043f96
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1004a19c]
call ebx
test eax, eax
je 0x10043fb1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10043fb3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d130
mov esp, ebp
pop ebp
ret
Function at 0x10007600
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1035b551
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], 3
call fcn.10007bc0
push eax
push edi
lea ecx, [esp + 0x5c]
call fcn.10007b10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x60]
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
push edx
push eax
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x6c]
mov dword [esp + 0x78], esp
push edx
push ecx
mov dword [esp + 0x30], 1
call fcn.100075d0
push ecx
mov esi, esp
mov byte [esp + 0x54], 4
lea eax, [esp + 0x6c]
mov dword [esp + 0x38], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10001120
mov ecx, dword [esp + 0x74]
mov dword [esi + 8], ecx
sub esp, 0xc
mov esi, esp
lea edx, [esp + 0x6c]
mov byte [esp + 0x60], 5
mov dword [esp + 0x48], esp
push edx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10001120
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x4c]
mov dword [esi + 8], eax
push ecx
mov byte [esp + 0x64], 3
call fcn.10008380
add esp, 0x34
lea ecx, [esp + 0x1c]
call fcn.100011a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
call fcn.100011a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x30], 1
call fcn.100011a0
lea ecx, [esp + 0x54]
mov byte [esp + 0x30], bl
call fcn.100011a0
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1035ccf1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.10001120
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 1
call fcn.10007d00
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10001120
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], bl
call fcn.100011a0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x10008f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10359848
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x10], esp
push eax
mov ecx, esi
call fcn.10009460
sub esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.100093d0
add esp, 4
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.100094f0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4

Function at 0x100094f0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10359818
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x28], 1
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10001120
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], ecx
sub esp, 0xc
mov esi, esp
lea edx, [esp + 0x3c]
mov byte [esp + 0x34], 2
mov dword [esp + 0x28], esp
push edx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10001120
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov byte [esp + 0x34], 1
call fcn.10009600
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.100011a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.100011a0
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x18

Function at 0x10009600
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1035b6a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x24], 1
lea eax, [esp + 0x38]
mov dword [esp + 0x14], esp
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10001120
mov ecx, dword [esp + 0x40]
mov dword [esi + 8], ecx
sub esp, 0xc
mov esi, esp
lea edx, [esp + 0x38]
mov byte [esp + 0x30], 2
mov dword [esp + 0x24], esp
push edx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10001120
mov eax, dword [esp + 0x40]
mov dword [esi + 8], eax
push edi
mov byte [esp + 0x34], 1
call fcn.10009710
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.100011a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.100011a0
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x18
Function at 0x1000aca0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1000acd0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xc], 0
jg 0x1000ace0
jl 0x1000acba
cmp dword [esp + 8], 0
jbe 0x1000acba
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
xor esi, esi
call edi
test eax, eax
jne 0x1000ad04
inc esi
cmp esi, 3
ja 0x1000acba
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x1000acf3
fild qword [esp + 0x10]
fmul qword [0x1043e648]
fild qword [esp + 8]
fdivp st(1)
call fcn.10278ec6
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x10358d78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.10001670
mov dword [esp + 0x18], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add edi, 0x34
mov dword [esi + 0x30], ecx
push edi
lea ecx, [esi + 0x34]
call fcn.10003700
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x1000b530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1036111c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
xor edi, edi
mov dword [esi], vtable.boost::detail::thread_data_base.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea eax, [esp + 0x1b]
push eax
lea edx, [esp + 0x1f]
mov dword [esp + 0x2c], edi
lea ecx, [esi + 0x14]
push edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.10013070
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
push edi
push 1
mov byte [esp + 0x30], 5
call fcn.1000abe0
mov dword [esi + 0x58], eax
add esp, 8
mov byte [esi + 0x5c], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x1000ba40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103645ed
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 4], vtable.ITransmissionCtrl.0
mov dword [esi + 8], vtable.ITransmissionInfo.0
mov dword [esi], vtable.comm_engine.0
mov dword [esi + 4], vtable.comm_engine.1.0
mov dword [esi + 8], vtable.comm_engine.2.0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0x1c200
mov dword [esi + 0x18], edi
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], edi
mov byte [esi + 0x20], 0
mov byte [ebp - 4], 5
cmp dword [ebp + 0x20], edi
je 0x1000bc8a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.10019df0
add esp, 4
test al, al
jne 0x1000bae4
call fcn.10018300
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], ecx
jmp 0x1000bc8a
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x24], 0x10
jb 0x1000bca3
mov eax, dword [ebp + 0x10]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], edi
mov byte [ebp + 0x10], 0
call fcn.100012e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10014000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1035ccf1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.10001120
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 1
call fcn.10014a30
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10001120
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], bl
call fcn.100011a0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 8

Function at 0x10015560
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1035fdbb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esp + 0x48], 1
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x5c], 0xf
mov dword [esi + 0x58], ebx
mov byte [esi + 0x48], bl
lea edi, [esi + 0x64]
mov byte [esp + 0x48], 5
mov ecx, edi
mov byte [esi + 0x60], 0xff
call fcn.100137a0
mov dword [edi], vtable.boost::io::basic_altstringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x3c], ebx
mov byte [edi + 0x40], bl
mov dword [edi + 0x44], 3
mov byte [esi + 0xb0], bl
mov byte [esp + 0x48], 7
cmp ebp, ebx
je 0x10015653
push ebp
lea ecx, [esp + 0x24]
call fcn.10003660
lea eax, [esp + 0x20]
push eax
push esi
mov byte [esp + 0x50], 8
call fcn.10017b70
mov byte [esp + 0x48], 7
cmp dword [esp + 0x3c], 0x10
jb 0x1001563a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.100012e0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
Function at 0x100177c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1035b3e9
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
push 1
push 0x10486338
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], vtable.boost::exception.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xffffffff
call fcn.1026b190
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_alloc_.0
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
call fcn.100198d0
test byte [0x10494638], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_alloc___void_
mov dword [esp + 0x44], str.d:home_boost167_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x81
jne 0x10017909
or dword [0x10494638], 1
push 0x2c
mov byte [esp + 0x74], 2
call fcn.1026c830
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x10017899
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.100189b0
jmp 0x1001789b
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.1001ac10
mov edx, dword [eax]
mov dword [0x10494630], edx
mov eax, dword [eax + 4]
mov dword [0x10494634], eax
cmp eax, edi
je 0x100178ca
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x100178fc
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100178fc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100178fc
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x10393fa0
call fcn.1026bb70
add esp, 4
mov eax, dword [0x10494630]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [0x10494634]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x1001792e
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.10019980
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.1.0
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call fcn.1026b260
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x10017977
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret