joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180010d40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnBeginRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010d60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostBeginRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010d80
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnAuthenticateRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010da0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostAuthenticateRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010dc0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnAuthorizeRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010de0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostAuthorizeRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010e00
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnResolveRequestCache_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret
Function at 0x180010e20
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostResolveRequestCache_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010e40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnMapRequestHandler_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010e60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostMapRequestHandler_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010e80
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnAcquireRequestState_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010ea0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostAcquireRequestState_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010ec0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPreExecuteRequestHandler_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010ee0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostPreExecuteRequestHandler_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret
Function at 0x180010f00
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnExecuteRequestHandler_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010f20
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostExecuteRequestHandler_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010f40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnReleaseRequestState_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010f60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostReleaseRequestState_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010f80
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnUpdateRequestCache_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010fa0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostUpdateRequestCache_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180010fc0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnLogRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret
Function at 0x180010fe0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostLogRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180011000
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnEndRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180011020
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnPostEndRequest_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180011040
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnSendResponse_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180011060
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnMapPath_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180011080
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnReadEntity_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800110a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnCustomRequestNotification_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800110c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.This_module_subscribed_to_event_CHttpModule::OnAsyncCompletion_but_did_not_override_the_method_in_its_CHttpModule_implementation.__Please_check_the_method_signature_to_make_sure_it_matches_the_corresponding_method._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x28
ret

Function at 0x180017754
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.180015800
mov rsi, rax
test rax, rax
je 0x1800177d0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x1800177cb
cmp dword [rbx], 0x40
jb 0x1800177cb
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x1800177cb
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x1800177d4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180021a94
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180021908
Function at 0x1800243af
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18004b0f0]
jne 0x18002124a
rol rcx, 0x10
test cx, 0xffff
jne 0x180021246
repz ret
ror rcx, 0x10
jmp 0x180024308
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180050390]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180050488]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18002438d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180050390]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800243af
mov rax, qword [rsp + 0x88]
mov qword [0x180050488], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180050428], rax
mov rax, qword [0x180050488]
mov qword [0x180050300], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180050410], rax
mov dword [0x1800502f0], 0xc0000409
mov dword [0x1800502f4], 1
mov rax, qword [0x18004b0f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18004b0f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180050388], eax
mov ecx, 1
call fcn.18002c3b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18003af78]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180050388], 0
jne 0x180024436
mov ecx, 1
call fcn.18002c3b8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18002d108
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.18002445c
xor ebx, ebx
mov rdi, rax
cmp qword [0x180051078], rbx
jne 0x18002d20e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18002d2e3
lea rdx, [0x18003c1a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002d2e3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18003c198]
mov rcx, rsi
mov qword [0x180051078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18003c180]
mov rcx, rsi
mov qword [0x180051080], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x180051088], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180051098], rax
test rax, rax
je 0x18002d205
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180051090], rax
jmp 0x18002d215
mov rax, qword [0x180051090]
jmp 0x18002d21c
mov rax, qword [0x180051090]
mov r11, qword [0x180051098]
cmp rax, rdi
je 0x18002d284
cmp r11, rdi
je 0x18002d284
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180051098]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18002d284
test rax, rax
je 0x18002d284
call rsi
test rax, rax
je 0x18002d27e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18002d27e
test byte [rsp + 0x38], 1
jne 0x18002d284
bts ebp, 0x15
jmp 0x18002d2c2
mov rcx, qword [0x180051080]
cmp rcx, rdi
je 0x18002d2c2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18002d2c2
call rax
mov rbx, rax
test rax, rax
je 0x18002d2c2
mov rcx, qword [0x180051088]
cmp rcx, rdi
je 0x18002d2c2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18002d2c2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180051078]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18002d2e3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18002d2e5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400010c0
Capabilities:
Generate random numbers via winapi
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x550
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x140]
mov r8d, 0x400
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400012f2
mov ecx, dword [rsp + 0x140]
mov qword [rsp + 0x570], rdi
call qword [sym.imp.WS2_32.dll_ntohl]
mov edx, eax
lea rcx, str.Received_first_prime_number:__u_n
mov edi, eax
call fcn.140001060
xor r9d, r9d
lea rdx, [0x140003384]
mov r8d, 2
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x140]
mov r8d, 0x400
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400012d1
mov ecx, dword [rsp + 0x140]
mov qword [rsp + 0x568], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov edx, eax
lea rcx, str.Received_second_prime_number:__u_n
mov esi, eax
call fcn.140001060
mov ebx, 1
mov qword [rsp + 0x30], 0
mov r9d, ebx
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400011fc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_acquire_cryptographic_context_n
call fcn.140001010
jmp 0x14000123c
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, pe_nt_image_headers64
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x14000122f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_generate_random_data_n
call fcn.140001010
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
lea r8, [rsp + 0x40]
mov rsi, qword [rsp + 0x568]
cdq
idiv edi
mov ecx, edx
test r8b, 1
je 0x140001260
imul ebx, ecx
mov eax, ebx
cdq
idiv edi
mov ebx, edx
imul ecx, ecx
mov eax, ecx
cdq
idiv edi
shr r8d, 1
mov ecx, edx
jne 0x140001250
mov edx, ebx
lea rcx, str.Sum_of_the_two_primes:__u_n
call fcn.140001060
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_htonl]
xor r9d, r9d
lea rdx, [rsp + 0x140]
mov r8d, 4
mov dword [rsp + 0x140], eax
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
xor eax, eax
mov rdi, qword [rsp + 0x570]
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140001650
mov rbx, qword [rsp + 0x578]
add rsp, 0x550
pop rbp
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_receive_the_second_prime_number._n
call fcn.140001010
mov eax, 1
jmp 0x1400012a8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_receive_the_first_prime_number._n
call fcn.140001010
mov eax, 1
jmp 0x1400012b0
Function at 0x140001f10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f5c
xor al, al
add rsp, 0x28
ret