joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dfb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4a16cc
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x41e013
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d289
mov esp, ebp
pop ebp
ret
push fcn.00412af0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045d289
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48018f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x49b950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x18], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.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
mov byte [ebp - 4], 3
lea ecx, [edi + 0x34]
mov dword [edi + 0x30], 0
call fcn.004123f0
mov esi, eax
call fcn.0045d110
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
test esi, esi
je 0x41e336
mov edx, str.mutex
lea ecx, [ebp - 0x14]
call fcn.0041a130
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [ebp - 4], 5
cmp dword [ebp + 0xc], 0xffffffff
lea ecx, [ebp + 0xc]
lea eax, [ebp - 0x10]
cmovbe eax, ecx
mov dword [ebp - 0x10], 0xffffffff
push dword [eax]
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x41e39c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], esi
call fcn.0045d110
mov dword [ebp - 0x10], eax
test esi, esi
je 0x41e39c
mov edx, str.iocp
lea ecx, [ebp - 0x14]
call fcn.0041a130
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42cbc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480b74
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x49b950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0xffffffff
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0042c6f0
mov dword [edi + 0x10], eax
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
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x42cc91
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.0041c0d0
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 4
call fcn.0041c060
mov dword [edi + 0x34], eax
mov byte [edi + 0x38], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42d7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e7f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49b950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0045dabf
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041cb60
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x42d870
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov eax, esi
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 0x430bf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481550
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x430c4c
mov ecx, edi
call fcn.0042d1d0
call fcn.0045d110
mov dword [ebx + 4], eax
mov dword [ebx], 0
xor eax, eax
jmp 0x430cd4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push dword [0x505b78]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x505b78]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
xor esi, esi
call fcn.00430970
test eax, eax
je 0x430cb3
lea esp, [esp]
cmp esi, 0xffffffff
je 0x430ca6
inc esi
push ebx
push ecx
mov ecx, edi
call fcn.00430970
test eax, eax
jne 0x430ca0
push dword [ebp - 0x18]
push dword [0x505b78]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x430cd2
push ecx
call fcn.0045d2e7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 4
Function at 0x444580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x4445d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.0045d110
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x4446a1
mov esi, dword [ebp - 0x14]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x444618
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.0045d110
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x4446ae
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x4444d0
push 0x10000
push 0
mov dword [ebp - 8], 0
call fcn.0045ea7d
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44467e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov dword [ebp - 0xc], eax
call dword [edx]
test edi, edi
je 0x44465f
push edi
call esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
test eax, eax
je 0x44466c
push eax
call esi
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
call fcn.0045d110
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4446bb
test edi, edi
je 0x44468e
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d289
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [ebp - 0x10]
call fcn.0041a130
mov edx, str.thread.exit_event
lea ecx, [ebp - 0x10]
call fcn.0041a130
mov edx, str.thread
lea ecx, [ebp - 0x10]
call fcn.0041a130
int3
Function at 0x444900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 4], 0
mov edi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [ebp - 8], eax
jne 0x444932
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x444944
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x444944
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebx]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x444977
mov ecx, dword [ebx]
push 0
push 0x2719
push edi
call fcn.00412830
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x44499f
mov ecx, dword [ebx]
push 0
push 0
push edi
call fcn.00412830
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
push edi
lea ecx, [ebp - 8]
push ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
push dword [eax + 4]
mov dword [ebp - 8], 0
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4449ff
cmp eax, 0x3e5
je 0x4449ff
cmp eax, 0xea
je 0x4449ff
push dword [ebp - 8]
mov ecx, dword [ebx]
push eax
push edi
call fcn.00412830
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push edi
call fcn.004128b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
Function at 0x444b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x49b950]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 4], 0
mov edi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 0x10], eax
jne 0x444bb7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x444bc9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x444bc9
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebx]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x444bfd
mov ecx, dword [ebx]
push 0
push 0x2719
push edi
call fcn.00412830
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
jne 0x444c27
mov ecx, dword [ebx]
push 0
push 0
push edi
call fcn.00412830
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
push edi
lea ecx, [esp + 0x14]
push ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
push dword [eax + 4]
mov dword [esp + 0x1c], 0
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x444c8b
cmp eax, 0x3e5
je 0x444c8b
cmp eax, 0xea
je 0x444c8b
push dword [esp + 0x10]
mov ecx, dword [ebx]
push eax
push edi
call fcn.00412830
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push edi
call fcn.004128b0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045d289
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4469f0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
xor edi, edi
lea esi, [ebx + 0x15]
movzx edx, byte [esi - 1]
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x158], edx
inc edi
lea esi, [esi + 4]
cmp edi, 0x10
jb 0x446a06
lea edx, [ebp - 0x150]
mov esi, 0x40
nop
mov eax, dword [edx + 0x2c]
xor eax, dword [edx + 0x18]
lea edx, [edx + 4]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
mov ecx, eax
shr ecx, 0x1f
add eax, eax
xor ecx, eax
mov dword [edx + 0x34], ecx
dec esi
jne 0x446a40
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
xor ebx, ebx
jmp 0x446a83
mov edi, dword [ebp - 4]
cmp ebx, 0x14
jae 0x446a9d
mov eax, edx
not eax
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
mov dword [ebp - 8], 0x5a827999
jmp 0x446ad2
cmp ebx, 0x28
jae 0x446aab
mov dword [ebp - 8], 0x6ed9eba1
jmp 0x446acc
cmp ebx, 0x3c
jae 0x446ac5
mov eax, esi
or eax, edx
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
mov dword [ebp - 8], 0x8f1bbcdc
jmp 0x446ad2
mov dword [ebp - 8], 0xca62c1d6
mov eax, ecx
xor eax, esi
xor eax, edx
mov ecx, dword [ebp - 4]
shr edi, 0x1b
shl ecx, 5
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x158]
mov ecx, esi
add edi, dword [ebp - 8]
inc ebx
add edi, eax
mov eax, dword [ebp - 0x10]
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, edx
shr edx, 2
shl esi, 0x1e
xor esi, edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edi
cmp ebx, 0x50
jb 0x446a80
mov eax, dword [ebp - 0x18]
add eax, edi
mov edi, dword [ebp - 0x14]
add dword [edi + 8], esi
add dword [edi + 4], edx
add dword [edi + 0xc], ecx
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446d40
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x505b90]
movq xmm0, qword [0x505b80]
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [0x505b88]
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x84], 0x505b80
movq qword [ebp - 0x18], xmm0
call fcn.00446920
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
call fcn.00446920
push 0
call fcn.0045ee66
add esp, 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x14], edx
call fcn.00446920
call fcn.0045eede
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x80]
call fcn.00446920
call fcn.0045ef14
mov dword [ebp - 0x18], eax
call fcn.0045ef14
mov dword [ebp - 0x14], eax
call fcn.0045ef14
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x80]
call fcn.00446920
mov eax, dword [esi + 0x18]
test eax, eax
je 0x446e55
push eax
push 0x14
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.0045f0fa
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x80]
call fcn.00446920
push 4
call fcn.0045d298
add esp, 4
lea ecx, [eax + 4]
push ecx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x10], eax
call fcn.00446920
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x80]
call fcn.00446920
push dword [ebp - 0x10]
call fcn.0045d2e7
add esp, 4
lea eax, [esi + 0x14]
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.00446920
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x80]
call fcn.00446b40
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x20]
xor dword [ecx], eax
xor dword [esi], eax
mov eax, dword [ebp - 0x1c]
xor dword [ecx + 4], eax
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
xor dword [ecx + 8], eax
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ecx + 0xc], eax
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
xor dword [esi + 0x10], eax
xor ecx, ebp
pop esi
call fcn.0045d289
mov esp, ebp
pop ebp
ret
Function at 0x446f50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x446fbf
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x446fb5
test byte [eax + 0x1c], 1
je 0x446fb5
cmp byte [eax + 0x19], 1
jb 0x446fb5
push dword [eax + 0x14]
mov edx, 0x48d490
push dword [eax + 0x10]
lea ecx, [ebx + 0xa]
call fcn.00401000
add esp, 8
mov eax, 0xfffffffc
jmp 0x44713e
test edi, edi
jne 0x446ff9
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x446fb5
test byte [eax + 0x1c], 1
je 0x446fb5
cmp byte [eax + 0x19], 1
jb 0x446fb5
push dword [eax + 0x14]
mov edx, 0x48d490
push dword [eax + 0x10]
lea ecx, [edi + 0xc]
call fcn.00401000
add esp, 8
lea eax, [edi - 4]
jmp 0x44713e
push 0x40
push 0
push edi
call fcn.004630f0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x214], 0x40
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x447060
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x447058
test byte [eax + 0x1c], 1
je 0x447058
cmp byte [eax + 0x19], 1
jb 0x447058
push dword [eax + 0x14]
mov edx, 0x48d490
push dword [eax + 0x10]
mov ecx, 0xe
call fcn.00401000
add esp, 8
or eax, 0xffffffff
jmp 0x44713e
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x40
jbe 0x4470a6
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x44709e
test byte [eax + 0x1c], 1
je 0x44709e
cmp byte [eax + 0x19], 1
jb 0x44709e
push ecx
push 0x40
push dword [eax + 0x14]
mov edx, 0x48d490
push dword [eax + 0x10]
mov ecx, 0xf
call fcn.00401050
add esp, 0x10
or eax, 0xffffffff
jmp 0x44713e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00448860
mov dword [ebp - 4], 0
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x248]
lea esi, [ebp - 0x22c]
cmovae esi, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00446860
push ecx
push dword [eax]
lea ecx, [ebp - 0x244]
push esi
call fcn.004411a0
cmp dword [ebp - 0x230], 0x10
push dword [ebp - 0x214]
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push eax
push edi
call fcn.0045fd70
add esp, 0xc
lea ecx, [ebp - 0x244]
call fcn.0041c800
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0xffffffff
call fcn.004306c0
mov ecx, ebx
call fcn.00447160
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d289
mov esp, ebp
pop ebp
ret

Function at 0x447310
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [ecx], 0x1571
mov dword [ecx + 0x9c0], 1
push esi
mov esi, dword [ecx + 0x9c0]
mov edx, dword [ecx + esi*4 - 4]
shr edx, 0x1e
xor edx, dword [ecx + esi*4 - 4]
imul edx, edx, 0x6c078965
add edx, esi
mov dword [ecx + esi*4], edx
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jb 0x447321
pop esi
ret 4
Function at 0x447b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482d6c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49b950]
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 - 0x10], 0
mov dword [edi + 0x28], 0x48d488
mov dword [edi + 0x30], vtable.boost::exception_detail::clone_base.0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call fcn.0045da11
mov dword [edi], vtable.boost::bad_lexical_cast.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea ebx, [esi + 0x14]
lea esi, [edi + 0x14]
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
test ecx, ecx
je 0x447bfd
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov dword [ebp - 4], 2
mov eax, dword [edi + 0x28]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov eax, dword [eax + 4]
push ebx
mov dword [eax + edi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov eax, dword [edi + 0x28]
push esi
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x24], eax
call fcn.0041b920
add esp, 8
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 0xc