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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1d23
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5012c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.00453820
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x38]
mov dword [ebx], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [edx], eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp dword [edx], 0x80
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x80
lea ecx, [ebp - 0x10]
cmovbe eax, edx
mov byte [ebp - 4], 1
mov esi, dword [eax]
cmp esi, 1
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esi
cmovae eax, ecx
mov dword [ebp + 8], 1
lea ecx, [ebx + 0x3c]
push dword [eax]
call fcn.0045f830
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x20]
lea edx, [ecx + esi]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x30]
mov dword [eax], edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x453fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5012c0]
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]
push esi
call fcn.004a16cd
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.0045b210
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.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 0x454390
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5012c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5065dc
mov dword [ebp - 0x1ac], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4543f0
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x5065e0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0x5065e0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, eax
test edi, edi
je 0x454425
call fcn.00472880
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push str.winsock
push eax
mov dword [ebp - 0x1a8], edi
call fcn.0045df40
push 0x20
mov dword [ebp - 4], 0
call fcn.004a0877
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x454452
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004504e0
jmp 0x454454
xor eax, eax
mov dword [esi + 4], eax
mov ecx, dword [eax + 0x1c]
mov eax, esi
mov dword [esi + 8], ecx
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.004a2017
mov esp, ebp
pop ebp
ret
Function at 0x454800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1fe1
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5012c0]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0xb8], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
push 0x9c
lea eax, [ebp - 0xac]
mov dword [edi + 0x18], 0
push 0
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.004a2c70
add esp, 0xc
mov dword [ebp - 0xac], 0x9c
mov dword [ebp - 0xa8], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f4
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.0045d250
mov esi, eax
call fcn.00472880
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], eax
test esi, esi
je 0x454927
push str.mutex
lea eax, [ebp - 0xb4]
push eax
call fcn.0045df40
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 0x45498b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0xb4], esi
call fcn.00472880
mov dword [ebp - 0xb0], eax
test esi, esi
je 0x45498b
push str.iocp
lea eax, [ebp - 0xb4]
push eax
call fcn.0045df40
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.004a2017
mov esp, ebp
pop ebp
ret 8

Function at 0x4571f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
mov ecx, dword [eax]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x45721a
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x457220
movzx eax, word [eax + ecx + 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Not_a_PE_file_
push eax
lea ecx, [ebp - 0xc]
call fcn.004a168d
push 0x4f7c4c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], vtable.std::invalid_argument.0
push eax
call fcn.004a2026
int3
Function at 0x45bec0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x45bee2
call fcn.00472880
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
or eax, esi
mov dword [ecx], 0x2719
pop esi
pop ebp
ret
push ebx
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.00472880
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [ebp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x45bf1e
call fcn.00472880
mov dword [edi], ebx
mov dword [edi + 4], eax
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x45ee20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
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 0x5065e4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x45ee6f
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov esp, ebp
pop ebp
ret
push fcn.00498650
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45f150
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5012c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xffffffff
jne 0x45f190
call fcn.00472880
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a2017
mov esp, ebp
pop ebp
ret
push ebx
push 0
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.00472880
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x45f1fb
call fcn.00472880
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004a2017
mov esp, ebp
pop ebp
ret
Function at 0x45f210
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5012c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, 0xffffffff
jne 0x45f255
call fcn.00472880
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a2017
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, 0
lea eax, [ebp - 0x110]
and bl, 1
cmove eax, ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x114], eax
call fcn.00472880
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x114]
mov dword [edi], eax
test esi, esi
jne 0x45f314
test bl, bl
je 0x45f2f0
call fcn.00472880
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 0x2733
mov dword [ebp - 0x10c], eax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
jmp 0x45f321
mov dword [ebp - 0x118], 0
call fcn.00472880
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x114], eax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
jmp 0x45f321
jle 0x45f324
call fcn.00472880
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2017
mov esp, ebp
pop ebp
ret
Function at 0x45f340
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5012c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, 0xffffffff
jne 0x45f385
call fcn.00472880
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a2017
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, 0
lea eax, [ebp - 0x110]
and bl, 1
cmove eax, ecx
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
push ecx
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x114], eax
call fcn.00472880
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x114]
mov dword [edi], eax
test esi, esi
jne 0x45f444
test bl, bl
je 0x45f420
call fcn.00472880
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 0x2733
mov dword [ebp - 0x10c], eax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
jmp 0x45f451
mov dword [ebp - 0x118], 0
call fcn.00472880
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x114], eax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
jmp 0x45f451
jle 0x45f454
call fcn.00472880
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2017
mov esp, ebp
pop ebp
ret

Function at 0x45f5f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call fcn.00472880
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [ebp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x45f652
call fcn.00472880
mov dword [edi], 0x2746
jmp 0x45f664
cmp eax, 0x4d2
jne 0x45f667
call fcn.00472880
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x45f675
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00472880
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fdc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5012c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x45fe28
mov ecx, edi
call fcn.00460680
call fcn.00472880
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push dword [0x5065d8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x5065d8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
push 1
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0045d340
test eax, eax
je 0x45fe89
cmp esi, 0xffffffff
je 0x45fe7b
inc esi
push ebx
push 1
mov ecx, edi
call fcn.0045d340
test eax, eax
jne 0x45fe75
push dword [ebp - 0x14]
push dword [0x5065d8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45fea8
push ecx
call fcn.004a08c8
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 esp, ebp
pop ebp
ret 4
Function at 0x460540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x46058e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.00472880
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x46064b
mov esi, dword [ebp - 4]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x4605ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.00472880
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x460659
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push ebx
push 0x460e10
push dword [ebp + 0xc]
push 0
call fcn.004a18d0
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x460632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp + 8], eax
call dword [edx]
test edi, edi
je 0x460613
push edi
call esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x460620
push eax
call esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.00472880
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x460667
test edi, edi
je 0x460642
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.0045df40
push str.thread.exit_event
lea eax, [ebp - 0x10]
push eax
call fcn.0045df40
push str.thread
lea eax, [ebp - 0x10]
push eax
call fcn.0045df40
int3
Function at 0x462460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5012c0]
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
cmp dword [ebx + 0x40], 0
je 0x462585
cmp byte [ebx + 0x45], 0
je 0x462585
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4624b4
xor al, al
jmp 0x462587
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x46251e
dec eax
je 0x462522
sub eax, 2
je 0x46256e
xor bl, bl
jmp 0x462570
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x462554
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004a35e1
add esp, 0x10
cmp esi, eax
jne 0x46251a
cmp byte [ebx + 0x45], 0
je 0x46256e
test esi, esi
jne 0x4624e4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0045aff0
jmp 0x4624e4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x462581
push dword [ebp - 0x28]
call fcn.004a08c8
add esp, 4
mov al, bl
jmp 0x462587
mov al, 1
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.004a2017
mov esp, ebp
pop ebp
ret
Function at 0x462a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3178
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5012c0]
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 ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x462aac
xor eax, eax
jmp 0x462c3c
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x462ada
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x462ada
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x462c3c
cmp dword [ebx + 0x50], 0
jne 0x462ae8
or eax, 0xffffffff
jmp 0x462c3c
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x462b09
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x462b2e
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.004a3217
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x462c3c
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x462c26
cmp eax, 1
jg 0x462c06
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x462bd7
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.004a35e1
add esp, 0x10
cmp esi, eax
jne 0x462c26
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x462c01
test esi, esi
jne 0x462b61
cmp dword [ebp - 0x18], 0x20
jae 0x462c26
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0045aff0
jmp 0x462b61
mov ebx, dword [ebp + 8]
jmp 0x462c29
cmp eax, 3
jne 0x462c26
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.00461410
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x462c29
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x462c3a
push dword [ebp - 0x28]
call fcn.004a08c8
add esp, 4
mov eax, ebx
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.004a2017
mov esp, ebp
pop ebp
ret 4