joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093250
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x210], edi
jne 0x140093283
lea ecx, [rdi + 0x15]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x14009330c
test rdx, rdx
jne 0x140093295
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x14009330c
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 0x208]
cmp dword [rbx + 0x218], edi
jne 0x1400932b6
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x14009330c
mov qword [rsp + 0x40], rsi
lea rsi, [rbx + 0x228]
mov qword [rsi], rdi
mov qword [rsp + 0x20], rsi
mov qword [rbx + 0x230], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test eax, eax
jne 0x140093307
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140093305
mov rcx, qword [rbx + 0x208]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x140093307
mov eax, edi
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x140093330
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x210], edi
jne 0x140093363
lea ecx, [rdi + 0x15]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x1400933ec
test rdx, rdx
jne 0x140093375
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x1400933ec
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 0x208]
cmp dword [rbx + 0x218], edi
jne 0x140093396
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400933ec
mov qword [rsp + 0x40], rsi
lea rsi, [rbx + 0x250]
mov qword [rsi], rdi
mov qword [rsp + 0x20], rsi
mov qword [rbx + 0x258], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
jne 0x1400933e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400933e5
mov rcx, qword [rbx + 0x208]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x1400933e7
mov eax, edi
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x1400948b0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x230
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov eax, dword [0x140206bd8]
mov rdi, rcx
add eax, 0xfffffffd
cmp eax, 1
jbe 0x140094a59
mov qword [rsp + 0x248], rbx
lea rcx, [rsp + 0xa4]
xor ebx, ebx
xor edx, edx
lea r8d, [rbx + 0x64]
call fcn.1400a1900
xor eax, eax
lea rcx, [rsp + 0x110]
xor edx, edx
mov qword [rsp + 0x80], rax
mov r8d, 0x104
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
call fcn.1400a1900
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov edx, 0x104
lea r8d, [rbx + 6]
lea rcx, [rsp + 0x110]
call fcn.140013bf0
mov r9, qword [rdi + 8]
lea r8, [rsp + 0x110]
lea rdx, str.__S_s_
lea rcx, [rsp + 0x68]
call fcn.14008c700
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
cmp qword [rsp + 0x54], rbx
je 0x140094a4d
mov rdx, qword [rsp + 0x54]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0xa0]
mov qword [rdi + 0x10], rbx
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
mov qword [rdi + 0x18], rbx
mov dword [rsp + 0xa0], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
jne 0x140094a26
cmp dword [0x1401f9c80], 2
jl 0x140094a43
test dword [0x1401f9ccc], 0x10000
je 0x140094a43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourceswin_rsrc_app.c
lea rax, str.Unable_to_start_capture_program._Error___d
mov ecx, 0x10000
mov qword [rsp + 0x28], rax
lea r8, str.rsrc_app_start_app_in_current_session
lea edx, [rbx + 2]
mov dword [rsp + 0x20], 0x27c
call fcn.140075100
jmp 0x140094a43
mov rax, qword [rsp + 0x80]
mov ebx, 1
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov rcx, qword [rsp + 0x54]
call fcn.1400ae9a4
mov eax, ebx
mov rbx, qword [rsp + 0x248]
jmp 0x140094a5e
call fcn.140094a80
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x230
pop rdi
ret
Function at 0x140095410
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140095452
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 0x10]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140095452
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [rbx + 0x20], 0xffffffff
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140095e40
Capabilities:
Modify service

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
mov qword [rsp + 0x70], rbx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140095e8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
call fcn.140012650
jmp 0x140095f55
mov r8d, 0xf01ff
mov qword [rsp + 0x60], rdi
lea rdx, str.esifsvc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140095eca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
call fcn.140012650
jmp 0x140095f47
xor eax, eax
mov dword [rsp + 0x4c], 0x1388
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov edx, 2
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 1
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x38], 1
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x140095f26
lea rdx, str.Error:_Unable_to_update_service_failure_actions._n
lea ecx, [rax + 3]
call fcn.140012650
lea r8, [0x1401cb370]
mov ecx, 3
lea rdx, str._S_service_failure_actions_successfully_updated._n
call fcn.140012650
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
lea rcx, str.esifsvc
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x140095f85
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_start_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.140012650
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x68
ret
Function at 0x140096580
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400965bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
add rsp, 0x20
pop rbx
jmp fcn.140012650
mov r8d, 0xf01ff
mov qword [rsp + 0x30], rdi
lea rdx, str.esifsvc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1400965f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
call fcn.140012650
jmp 0x140096654
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140096633
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140096633
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_start_the_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.140012650
jmp 0x14009664b
lea r8, [0x1401cb370]
mov ecx, 3
lea rdx, str._S_started._n
call fcn.140012650
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]

Function at 0x140096670
Capabilities:
Stop service

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400966c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
call fcn.140012650
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x50
pop rbx
ret
mov r8d, 0xf01ff
mov qword [rsp + 0x60], rdi
lea rdx, str.esifsvc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140096705
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
call fcn.140012650
jmp 0x140096764
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140096743
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x140096743
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_stop_the_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.140012650
lea r8, [0x1401cb370]
mov ecx, 3
lea rdx, str._S_stopped_n
call fcn.140012650
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x50
pop rbx
ret
Function at 0x1400e7300
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400e70ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e70ef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e70ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e70ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e70ef
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e70ef
cmp dword [rcx + 0xf8], 0
je 0x1400e70ef
mov ecx, ebx
call fcn.1400e7220
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400e6e7c
cmp dword [rbp + 0x20], 0
je 0x1400e713c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e7144
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400e7088

Function at 0x1400efb84
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400efba4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400afc70
or eax, 0xffffffff
jmp 0x1400efba6
xor eax, eax
add rsp, 0x28
ret
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x140013ae0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014e30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e50
xor al, al
jmp 0x140014ed1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e63
xor al, al
jmp 0x140014ed1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014e8d
xor al, al
jmp 0x140014ed1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ea1
xor al, al
jmp 0x140014ed1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014eb3
xor al, al
jmp 0x140014ed1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014ecf
xor al, al
jmp 0x140014ed1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001030
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x1400010df
lea rbp, [0x140009860]
lea rsi, [0x1400099f0]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x1400010cd
mov ecx, dword [rsp + 0x28]
mov rax, rbp
nop dword [rax + rax]
cmp qword [rax], rcx
je 0x1400010cd
add rax, 8
cmp rax, rsi
jl 0x1400010b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400010ea
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x140001092
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001950
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001800
Capabilities:
Create thread
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
lea rcx, [0x140003330]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov bl, 0x1e
mov byte [rsp + 0x30], 0x7b
mov cl, 0x3f
mov al, 0x33
xor cl, 0x7b
mov dl, 0x56
mov r8b, 0x2b
mov byte [rsp + 0x32], cl
mov r9b, 0x17
lea rcx, [rsp + 0x31]
mov r10b, 0x1a
mov r11b, 2
movzx ebp, bl
movzx r15d, bl
xor al, 0x7b
xor dl, 0x7b
xor r8b, 0x7b
mov byte [rsp + 0x31], al
xor r9b, 0x7b
mov byte [rsp + 0x33], dl
xor r10b, 0x7b
mov byte [rsp + 0x34], r8b
xor r11b, 0x7b
mov byte [rsp + 0x35], r9b
mov dil, 9
mov byte [rsp + 0x36], r10b
mov sil, 0x55
mov byte [rsp + 0x37], r11b
mov r14b, 3
xor r12d, r12d
xor bl, 0x7b
mov byte [rsp + 0x3e], r12b
xor dil, 0x7b
mov byte [rsp + 0x38], bl
xor sil, 0x7b
mov byte [rsp + 0x39], dil
xor bpl, 0x7b
mov byte [rsp + 0x3a], sil
xor r14b, 0x7b
mov byte [rsp + 0x3b], bpl
xor r15b, 0x7b
mov byte [rsp + 0x3c], r14b
mov byte [rsp + 0x3d], r15b
call fcn.140001030
test rax, rax
je 0x14000192e
xor eax, eax
lea r8, [0x140001610]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x1400111f4
Capabilities:
Connect socket

Disassembly:
jmp 0x1400122dc
jmp qword [sym.imp.WS2_32.dll_connect]

Function at 0x140011226
Capabilities:
Terminate process

Disassembly:
jmp 0x140013710
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112b7
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014a60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014a80
xor al, al
jmp 0x140014b01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014a93
xor al, al
jmp 0x140014b01
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014abd
xor al, al
jmp 0x140014b01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ad1
xor al, al
jmp 0x140014b01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ae3
xor al, al
jmp 0x140014b01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014aff
xor al, al
jmp 0x140014b01
mov al, 1
add rsp, 0x38
ret
Function at 0x7ff73de72330
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x7ff73dec7940]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x7ff73de72350
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x7ff73de72358
ret
cmp word [r8 + 0x18], 0x20b
jne 0x7ff73de72350
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x7ff73de723a5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x7ff73de7239c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x7ff73de72350
add rax, 0x28
cmp rax, r9
jne 0x7ff73de72388
xor eax, eax
ret

Function at 0x7ff73de723b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x7ff73dec7940]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x7ff73de723d0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x7ff73de723d8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x7ff73de723d0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x7ff73de72460
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x7ff73dec7940]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x7ff73de72480
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x7ff73de72488
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x180004450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
mov byte [rcx], 0
mov dword [rcx + 0xc], eax
mov word [rcx + 0x14], ax
mov byte [rcx + 0x1c], al
mov byte [rcx + 0x28], al
mov byte [rcx + 0x3c], al
mov byte [rcx + 0x50], al
mov byte [rcx + 0x64], al
mov byte [rcx + 0x78], al
mov byte [rcx + 0x8c], al
mov byte [rcx + 0xa0], al
mov word [rcx + 0xb4], ax
mov byte [rcx + 0xb6], al
mov word [rcx + 0xbc], ax
mov byte [rcx + 0xc4], al
mov dword [rcx + 0xc8], eax
mov word [rcx + 0xcc], ax
mov byte [rcx + 0xd4], al
mov dword [rcx + 0xd8], eax
mov byte [rcx + 0xdc], al
mov dword [rcx + 0xe0], eax
mov word [rcx + 0xe4], ax
mov dword [rcx + 4], 0x2d
mov byte [rcx + 8], 0
mov dword [rcx + 0x10], 0x41700000
mov dword [rcx + 0x18], 0x40000000
mov dword [rcx + 0x20], 0x41500000
mov dword [rcx + 0x24], 0x41c80000
mov dword [rcx + 0x2c], 0x3f800000
mov dword [rcx + 0x30], 0x3f800000
mov dword [rcx + 0x34], 0x3f800000
mov dword [rcx + 0x38], 0x3f800000
mov dword [rcx + 0x40], 0x3f800000
mov dword [rcx + 0x44], 0x3f800000
mov dword [rcx + 0x48], 0x3f800000
mov dword [rcx + 0x4c], 0x3f800000
mov dword [rcx + 0x54], 0x3f800000
mov dword [rcx + 0x58], 0x3f800000
mov dword [rcx + 0x5c], 0x3f800000
mov dword [rcx + 0x60], 0x3f800000
mov dword [rcx + 0x68], 0x3f800000
mov dword [rcx + 0x6c], 0x3f800000
mov dword [rcx + 0x70], 0x3f800000
mov dword [rcx + 0x74], 0x3f800000
mov dword [rcx + 0x7c], 0x3f800000
mov dword [rcx + 0x80], 0x3f800000
mov dword [rcx + 0x84], 0x3f800000
mov dword [rcx + 0x88], 0x3f800000
mov dword [rcx + 0x90], 0x3f800000
mov dword [rcx + 0x94], 0x3f800000
mov dword [rcx + 0x98], 0x3f800000
mov dword [rcx + 0x9c], 0x3f800000
mov dword [rcx + 0xa4], 0x3f800000
mov dword [rcx + 0xa8], 0x3f800000
mov dword [rcx + 0xac], 0x3f800000
mov dword [rcx + 0xb0], 0x3f800000
mov dword [rcx + 0xb8], 0x42c80000
mov dword [rcx + 0xc0], 0x40a00000
mov dword [rcx + 0xd0], 0x40a00000
mov byte [rcx + 0xe6], 1
mov qword [rcx + 0xe8], 0x3c
movsd xmm0, qword [0x180051a60]
movsd qword [rcx + 0xf0], xmm0
xorps xmm0, xmm0
movzx eax, byte [0x180051a68]
mov byte [rcx + 0xf8], al
xor eax, eax
movups xmmword [rcx + 0xf9], xmm0
movups xmmword [rcx + 0x109], xmm0
movups xmmword [rcx + 0x119], xmm0
movups xmmword [rcx + 0x129], xmm0
mov qword [rcx + 0x139], rax
mov word [rcx + 0x141], ax
mov rax, rcx
ret

Function at 0x180004650
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180060040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.Pipsi_SR.cfg
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800046d0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0x148
lea rdx, [0x1800600c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004ed70
add rsp, 0x50
pop rbx
ret