joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eaf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a92e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4d1088]
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 + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 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 dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
lea esi, [edi + 0x48]
mov byte [ebp - 4], 2
push 1
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0041faf0
push 0x20
mov byte [ebp - 4], 3
call fcn.0047aaa7
add esp, 4
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
xorps xmm0, xmm0
mov byte [ebp - 4], 4
push ecx
movups xmmword [eax], xmm0
push esi
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
call fcn.004200b0
mov dword [esi + 4], eax
mov eax, dword [eax + 0x1c]
mov dword [esi + 8], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x58]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c7b0
mov dword [esi], eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 6
call fcn.0041f910
lea esi, [edi + 0x70]
mov byte [ebp - 4], 7
push 1
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0041faf0
push 0x20
mov byte [ebp - 4], 8
call fcn.0047aaa7
add esp, 4
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
xorps xmm0, xmm0
mov byte [ebp - 4], 9
push ecx
movups xmmword [eax], xmm0
push esi
movups xmmword [eax + 0x10], xmm0
mov ecx, eax
call fcn.004200b0
mov dword [esi + 4], eax
lea ecx, [edi + 0x80]
mov eax, dword [eax + 0x1c]
mov dword [esi + 8], eax
call fcn.00474fe0
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 0x41faf0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x4d1088]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x4d7410
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x41fb36
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x4d7414
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x41fb4d
push 0
push 0x4d7414
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x41fb64
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.00477590
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.0041c510
int3
Function at 0x41fc20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4d1088]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
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 0x4d7418
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x41fc83
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret
push fcn.00413900
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.0047aa96
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a94bf
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4d1088]
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 dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x1c], 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
call fcn.0041fe90
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x38]
mov dword [edi + 0x34], 0
call fcn.00412e60
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.00477590
xor ecx, ecx
mov dword [ebp - 0x14], eax
test esi, esi
mov dword [ebp - 0x18], esi
mov eax, fcn.0040f3b0
cmove eax, ecx
test eax, eax
je 0x42001c
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.0041c510
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
or eax, 0xffffffff
mov byte [ebp - 4], 5
cmp ebx, 0xffffffff
cmovb eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x42007e
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00477590
mov dword [ebp - 0x14], eax
test esi, esi
je 0x42007e
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.0041c510
mov eax, edi
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.0047aa96
mov esp, ebp
pop ebp
ret 8
Function at 0x42c5c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa04e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d1088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x1c], 0
mov dword [ebp - 0x2c], eax
mov dword [edx + 0x18], 0
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
push 0
push esi
push edi
add ecx, 0x14
call fcn.0042cca0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x42c69e
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x42c69e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x42c69e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42ee10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa254
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4d1088]
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], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042e6f0
mov dword [esi], eax
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 0x42eee4
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0041dad0
mov dword [ebp - 0x40], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.0041da60
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4333c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d1088]
xor eax, ebp
mov dword [ebp - 0x14], 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]
lea eax, [edi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x43341c
mov ecx, edi
call fcn.0042f710
call fcn.00477590
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], 0
jmp 0x4334ad
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push dword [0x53bb5c]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x53bb5c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
xor esi, esi
call fcn.00433100
test eax, eax
je 0x43348c
cmp esi, 0xffffffff
lea eax, [esi + 1]
push ebx
cmove eax, esi
push ecx
mov ecx, edi
mov esi, eax
call fcn.00433100
test eax, eax
jne 0x433474
push dword [ebp - 0x1c]
push dword [0x53bb5c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4334ab
push ecx
call fcn.0047aae8
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 - 0x14]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 4
Function at 0x447400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4d1088]
xor eax, esp
mov dword [esp + 0x18], 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 [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x447469
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.00477590
mov dword [esp + 0x14], eax
test esi, esi
jne 0x44754f
mov esi, dword [esp + 0x18]
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 0x4474b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.00477590
mov dword [esp + 0x14], eax
test esi, esi
jne 0x44755d
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x447350
push 0x10000
push 0
call fcn.0048f519
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44752b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x14], eax
call dword [edx]
test edi, edi
je 0x4474ff
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x44750d
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.00477590
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x44756b
test edi, edi
je 0x44753b
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.0041c510
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.0041c510
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.0041c510
int3
Function at 0x447820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4d1088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
cmp dword [esi + 4], 0
jne 0x447852
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x447864
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x447864
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 0x447897
mov ecx, dword [ebx]
push 0
push 0x2719
push edi
call fcn.00413670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x4478bf
mov ecx, dword [ebx]
push 0
push 0
push edi
call fcn.00413670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
push edi
lea ecx, [ebp - 8]
mov dword [edi + 8], 0
push ecx
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 0x44791f
cmp eax, 0x3e5
je 0x44791f
cmp eax, 0xea
je 0x44791f
push dword [ebp - 8]
mov ecx, dword [ebx]
push eax
push edi
call fcn.00413670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push edi
call fcn.004136f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
Function at 0x447ac0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4d1088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
cmp dword [esi + 4], 0
jne 0x447af2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x447b04
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x447b04
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 0x447b37
mov ecx, dword [ebx]
push 0
push 0x2719
push edi
call fcn.00413670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x447b5f
mov ecx, dword [ebx]
push 0
push 0
push edi
call fcn.00413670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
push edi
lea ecx, [ebp - 8]
mov dword [edi + 8], 0
push ecx
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_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x447bbf
cmp eax, 0x3e5
je 0x447bbf
cmp eax, 0xea
je 0x447bbf
push dword [ebp - 8]
mov ecx, dword [ebx]
push eax
push edi
call fcn.00413670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push edi
call fcn.004136f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047aa96
mov esp, ebp
pop ebp
ret 0x14
Function at 0x449dc0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x18], ebx
xor edi, edi
lea esi, [ebx + 0x15]
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
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
cmp edi, 0x10
jb 0x449de0
lea edx, [ebp - 0x150]
mov esi, 0x40
nop word [eax + eax]
mov eax, dword [edx + 0x2c]
lea edx, [edx + 4]
xor eax, dword [edx + 0x14]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
mov ecx, eax
add eax, eax
shr ecx, 0x1f
xor ecx, eax
mov dword [edx + 0x34], ecx
sub esi, 1
jne 0x449e20
mov eax, dword [ebx]
mov edi, eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x449e63
mov edi, dword [ebp - 8]
cmp ebx, 0x14
jae 0x449e7d
mov eax, edx
mov dword [ebp - 4], 0x5a827999
not eax
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x449eb2
cmp ebx, 0x28
jae 0x449e8b
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x449eac
cmp ebx, 0x3c
jae 0x449ea5
mov eax, esi
mov dword [ebp - 4], 0x8f1bbcdc
or eax, edx
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x449eb2
mov dword [ebp - 4], 0xca62c1d6
mov eax, ecx
xor eax, esi
xor eax, edx
mov ecx, dword [ebp - 8]
shr edi, 0x1b
shl ecx, 5
xor edi, ecx
mov ecx, esi
add edi, dword [ebp + ebx*4 - 0x158]
inc ebx
add edi, dword [ebp - 4]
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 dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 8], edi
cmp ebx, 0x50
jb 0x449e60
mov eax, dword [ebp - 0x14]
add eax, edi
mov edi, dword [ebp - 0x18]
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 0x44a500
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac01b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4d1088]
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 0x44a56f
mov eax, dword [0x4d1a00]
cmp eax, 0x4d1a00
je 0x44a565
test byte [eax + 0x1c], 1
je 0x44a565
cmp byte [eax + 0x19], 1
jb 0x44a565
push dword [eax + 0x14]
mov edx, 0x4bf478
lea ecx, [ebx + 0xa]
push dword [eax + 0x10]
call fcn.00401a70
add esp, 8
mov eax, 0xfffffffc
jmp 0x44a6ee
test edi, edi
jne 0x44a5a9
mov eax, dword [0x4d1a00]
cmp eax, 0x4d1a00
je 0x44a565
test byte [eax + 0x1c], 1
je 0x44a565
cmp byte [eax + 0x19], 1
jb 0x44a565
push dword [eax + 0x14]
mov edx, 0x4bf478
lea ecx, [edi + 0xc]
push dword [eax + 0x10]
call fcn.00401a70
add esp, 8
lea eax, [edi - 4]
jmp 0x44a6ee
push 0x40
push 0
push edi
call fcn.0047e640
add esp, 0xc
mov dword [ebp - 0x214], 0x40
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x44a610
mov eax, dword [0x4d1a00]
cmp eax, 0x4d1a00
je 0x44a608
test byte [eax + 0x1c], 1
je 0x44a608
cmp byte [eax + 0x19], 1
jb 0x44a608
push dword [eax + 0x14]
mov edx, 0x4bf478
mov ecx, 0xe
push dword [eax + 0x10]
call fcn.00401a70
add esp, 8
or eax, 0xffffffff
jmp 0x44a6ee
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x40
jbe 0x44a656
mov eax, dword [0x4d1a00]
cmp eax, 0x4d1a00
je 0x44a64e
test byte [eax + 0x1c], 1
je 0x44a64e
cmp byte [eax + 0x19], 1
jb 0x44a64e
push ecx
push 0x40
push dword [eax + 0x14]
mov edx, 0x4bf478
mov ecx, 0xf
push dword [eax + 0x10]
call fcn.00401ac0
add esp, 0x10
or eax, 0xffffffff
jmp 0x44a6ee
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044cb30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x218], 8
lea esi, [ebp - 0x22c]
push eax
cmovae esi, dword [ebp - 0x22c]
lea ecx, [ebp - 0x22c]
call fcn.004495e0
push ecx
lea ecx, [ebp - 0x244]
push dword [eax]
push esi
call fcn.00444430
cmp dword [ebp - 0x230], 0x10
lea eax, [ebp - 0x244]
push dword [ebp - 0x214]
cmovae eax, dword [ebp - 0x244]
push eax
push edi
call fcn.0047e0c0
add esp, 0xc
lea ecx, [ebp - 0x244]
call fcn.0041e2d0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0xffffffff
call fcn.00432d70
mov ecx, ebx
call fcn.0044a710
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.0047aa96
mov esp, ebp
pop ebp
ret
Function at 0x44a8d0
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 eax, edx, 0x6c078965
add eax, esi
mov dword [ecx + esi*4], eax
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jb 0x44a8e1
mov edx, dword [ecx + 0x9bc]
xor edx, dword [ecx + 0x630]
pop esi
jge 0x44a92b
xor edx, 0x1908b0df
add edx, edx
or edx, 1
jmp 0x44a92d
add edx, edx
mov eax, dword [ecx]
xor eax, edx
and eax, 0x7fffffff
xor dword [ecx], eax
xor eax, eax
nop word [eax + eax]
cmp dword [ecx + eax*4], 0
jne 0x44a954
inc eax
cmp eax, 0x270
jb 0x44a940
mov dword [ecx], connect
ret 4

Function at 0x44ab10
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac108
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
mov eax, dword [0x4d1088]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 5
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
neg eax
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
sbb eax, eax
and dword [ebp - 0x20], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
cmp ecx, 5
jl 0x44abad
mov ecx, eax
call fcn.0044a130
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + ecx*4 - 0x38]
xorps xmm0, xmm0
push 0
inc ecx
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
push eax
mov ecx, esi
movq qword [ebp - 0x40], xmm0
call fcn.0044ace0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44abdf
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047aa96
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret