joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180012350
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 0x180012370
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 0x180012390
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 0x1800123b0
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 0x1800123d0
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 0x1800123f0
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 0x180012410
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 0x180012430
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 0x180012450
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 0x180012470
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 0x180012490
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 0x1800124b0
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 0x1800124d0
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 0x1800124f0
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 0x180016074
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rcx + 0x20], 0
and qword [rcx + 0x18], 0
lea rax, vtable.CInternetSession.0
mov qword [rcx], rax
mov edi, r9d
mov r10, rdx
mov rbx, rcx
mov qword [rcx + 8], r8
test rdx, rdx
jne 0x1800160ac
call fcn.180015734
mov r10, qword [rax + 0x20]
mov eax, dword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, edi
mov rcx, r10
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1800160e1
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.180015fe4
int3
lea rcx, [0x180058b58]
call fcn.1800159c0
lea rcx, [0x180058b20]
mov rdx, rdi
call fcn.180023244
lea rcx, [0x180058b58]
mov qword [rax], rbx
mov rax, qword [0x180058b58]
call qword [rax + 0x28]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180016f34
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movzx ebx, r9w
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x90]
mov qword [r11 - 0x38], rax
call fcn.180016ed0
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.1800137a4
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x180016f9d
mov ecx, 0x80004005
call fcn.1800016d0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
movzx r8d, bx
mov rdx, rsi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x180017002
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.180015fe4
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x180058b58]
call fcn.1800159c0
mov rdx, rsi
lea rcx, [0x180058b20]
call fcn.180023244
mov qword [rax], rbx
lea rcx, [0x180058b58]
mov rax, qword [0x180058b58]
call qword [rax + 0x28]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x18001b4b4
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.180019560
mov rsi, rax
test rax, rax
je 0x18001b530
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x18001b52b
cmp dword [rbx], 0x40
jb 0x18001b52b
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 0x18001b52b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x18001b534
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 0x180026904
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.18002d574
nop
cmp dword [0x18005c488], 1
je 0x1800268b0
mov dword [0x18005c484], 1
mov byte [0x18005c480], r12b
test ebx, ebx
jne 0x18002689c
mov rcx, qword [0x18005e7a0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180026889
mov rcx, qword [0x18005e798]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x180026828
call fcn.18002ae40
cmp qword [rdi], rax
jne 0x180026828
jmp 0x18002680e
cmp rdi, rsi
jb 0x180026889
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.18002ae40
mov qword [rdi], rax
call rbx
mov rcx, qword [0x18005e7a0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x18005e798]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x180026867
cmp r13, rax
je 0x180026887
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x18002680e
lea rdx, [0x180041ab8]
lea rcx, [0x180041aa0]
call fcn.180026658
lea rdx, [0x180041ac8]
lea rcx, [0x180041ac0]
call fcn.180026658
nop
test r12d, r12d
je 0x1800268bf
mov ecx, 8
call fcn.18002d474
test r12d, r12d
jne 0x1800268ea
mov dword [0x18005c488], 1
lea ecx, [r12 + 8]
call fcn.18002d474
mov ecx, r15d
call fcn.1800265ec
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x180026778

Function at 0x180026910
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1800572b0]
jne 0x1800260ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1800260b6
repz ret
ror rcx, 0x10
jmp 0x18002acec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18005c550]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18005c648]
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 0x18002ad71
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, [0x18005c550]
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 0x18002ad93
mov rax, qword [rsp + 0x88]
mov qword [0x18005c648], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18005c5e8], rax
mov rax, qword [0x18005c648]
mov qword [0x18005c4c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18005c5d0], rax
mov dword [0x18005c4b0], 0xc0000409
mov dword [0x18005c4b4], 1
mov rax, qword [0x1800572b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800572b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18005c548], eax
mov ecx, 1
call fcn.180034ac0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180045a18]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18005c548], 0
jne 0x18002ae1a
mov ecx, 1
call fcn.180034ac0
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 0x1800358e8
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.18002ae40
xor ebx, ebx
mov rdi, rax
cmp qword [0x18005d238], rbx
jne 0x1800359ee
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180035ac3
lea rdx, [0x180046c58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180035ac3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180046c48]
mov rcx, rsi
mov qword [0x18005d238], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180046c30]
mov rcx, rsi
mov qword [0x18005d240], 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 [0x18005d248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18005d258], rax
test rax, rax
je 0x1800359e5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18005d250], rax
jmp 0x1800359f5
mov rax, qword [0x18005d250]
jmp 0x1800359fc
mov rax, qword [0x18005d250]
mov r11, qword [0x18005d258]
cmp rax, rdi
je 0x180035a64
cmp r11, rdi
je 0x180035a64
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18005d258]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180035a64
test rax, rax
je 0x180035a64
call rsi
test rax, rax
je 0x180035a5e
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 0x180035a5e
test byte [rsp + 0x38], 1
jne 0x180035a64
bts ebp, 0x15
jmp 0x180035aa2
mov rcx, qword [0x18005d240]
cmp rcx, rdi
je 0x180035aa2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180035aa2
call rax
mov rbx, rax
test rax, rax
je 0x180035aa2
mov rcx, qword [0x18005d248]
cmp rcx, rdi
je 0x180035aa2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180035aa2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18005d238]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180035ac3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180035ac5
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 0x40a0e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov ecx, dword [0x0049b354]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x40a2c5
mov rax, qword [0x0049b358]
xor ebx, ebx
nop
mov r9, qword [rax + 8]
cmp rsi, r9
jb 0x40a12c
mov rdx, qword [rax + 0x10]
mov edx, dword [rdx + 8]
add r9, rdx
cmp rsi, r9
jb 0x40a200
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x40a110
mov rcx, rsi
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x40a2e9
movsxd rbx, ebx
lea r13, [rsp + 0x30]
lea r14, [rbx + rbx*2]
shl r14, 3
mov rbx, r14
add rbx, qword [0x0049b358]
mov qword [rbx + 0x10], rax
mov dword [rbx], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov rdx, r13
mov qword [rbx + 8], rax
mov rax, qword [0x0049b358]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rax + r14 + 8]
call rbx
test rax, rax
je 0x40a2cc
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x40a280
add dword [0x0049b354], 1
mov r8d, 0x30
mov rdx, r13
mov rcx, rsi
call rbx
test rax, rax
je 0x40a2f8
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x40a210
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.memcpy
lea r13, [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x40a1bb
cmp eax, 0x40
je 0x40a1db
lea r12, [rsp + 0x2c]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, r12
call rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call sym.memcpy
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x40a267
cmp eax, 4
je 0x40a267
mov r9, r12
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call rbx
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp eax, 0x40
je 0x40a1b4
add r14, qword [0x0049b358]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r9, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40a1b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor ebx, ebx
jmp 0x40a137
mov rax, qword [0x0049b358]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + r14 + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call dbg.__report_error
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, rsi
mov edx, 0x30
call dbg.__report_error
nop
nop dword [rax]
Function at 0x40a8d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0049b920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0049b900]
test rbx, rbx
je 0x40a924
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40a91b
test rsi, rsi
je 0x40a91b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40a900
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x0049b920]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x40ab20
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x40ab30
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x40ab40
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x40ab80
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x40ab77
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x40ab82
add rax, 0x28
cmp rax, r9
jne 0x40ab64
xor eax, eax
repz ret

Function at 0x40ac40
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x40ac64
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40ac5b
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x40b520
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov r14, rcx
movsxd r12, edx
mov r13, r8
call sym.strlen
mov rsi, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x52]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040b6e0
sub rsp, rax
movsxd rdi, esi
movabs rax, 0x656d68732d636367
lea r15, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, rdi
mov rdx, r14
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
lea r14d, [rsi + 0x50]
mov byte [rsp + 0x2e], 0x2d
movsxd rbx, ebx
call sym.memcpy
lea rax, [r15 + rdi + 0x10]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, r15
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r14d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40b609
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x40b6a8
mov rcx, r12
call sym.malloc
lea r9d, [rsi + 0x10]
mov rbx, rax
mov r10d, 0x40
bt rbx, r10
jae 0x40b644
mov r11d, r14d
sub r11d, r10d
movsxd r11, r11d
mov byte [r15 + r11], 0x41
sub r10d, 1
jne 0x40b630
mov dword [rbp - 0x54], r9d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
mov r9d, dword [rbp - 0x54]
je 0x40b6a5
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call dbg.get_ptr_from_atom
cmp rax, rbx
mov rsi, rax
je 0x40b6c0
mov rcx, rbx
call sym.free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x48]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [rsi + 0x10]
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call dbg.get_ptr_from_atom
mov rsi, rax
jmp 0x40b67f
xor edx, edx
mov r8, r12
mov rcx, rbx
call sym.memset
test r13, r13
je 0x40b67f
mov rcx, rbx
call r13
jmp 0x40b67f