joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018dd30
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0x280], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0x2b0]
call fcn.14018d520
cmp qword [rsp + 0x2b8], 0
je 0x14018dd93
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x14018dd9a
xor al, al
jmp 0x14018df7e
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x14018ddc0
xor al, al
jmp 0x14018df7e
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x14018dde4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14018dde4
mov byte [rsp + 0x2c8], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call fcn.14018d5f0
nop
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x14018de10
mov dword [rsp + 0x288], 1
jmp 0x14018de1b
mov dword [rsp + 0x288], 0
lea rcx, [rsp + 0x250]
call fcn.14000be60
mov edx, dword [rsp + 0x288]
mov rcx, rax
call fcn.14005f640
mov r11, rax
mov rax, qword [rsp + 0x2b0]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 8], 0
je 0x14018df34
cmp qword [rsp + 0x2c0], 0
jne 0x14018de80
mov rdx, qword [rsp + 0x2b0]
add rdx, 0x10
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x14018df34
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14018df34
mov rax, qword [rsp + 0x2c0]
movzx eax, word [rax + 2]
cmp eax, 0x3a
je 0x14018df09
mov rdx, qword [rsp + 0x2b0]
add rdx, 0x10
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
lea rdx, [0x140255e24]
call fcn.1400aac14
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
mov rdx, qword [rsp + 0x2c0]
call fcn.1400aac14
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
lea rdx, [0x140255e54]
call fcn.1400aac14
jmp 0x14018df34
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
mov qword [rsp + 0x20], 0
lea r9, [0x140255e94]
mov r8, qword [rsp + 0x2c0]
xor edx, edx
call fcn.1400ad3cc
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 8], 0
je 0x14018df50
mov dword [rsp + 0x28c], 1
jmp 0x14018df5b
mov dword [rsp + 0x28c], 0
movzx eax, byte [rsp + 0x28c]
mov byte [rsp + 0x278], al
lea rcx, [rsp + 0x250]
call fcn.14000c820
mov al, byte [rsp + 0x278]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x2a8
ret
Function at 0x14018e9f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x288], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140002050
nop
mov r8w, 0x2f
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x20]
call fcn.140006280
mov dx, 0x2f
lea rcx, [rsp + 0x20]
call fcn.140006920
mov dword [rsp + 0x240], eax
cmp dword [rsp + 0x240], 0
jg 0x14018eaae
lea rdx, [0x140255ed4]
mov rcx, qword [rsp + 0x2a8]
call fcn.140002020
jmp 0x14018eb5c
mov r9d, dword [rsp + 0x240]
xor r8d, r8d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call fcn.1400021f0
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x2a8]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x250]
call fcn.140007060
mov r8d, dword [rsp + 0x240]
add r8d, 1
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x20]
call fcn.140006a80
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x20]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x258]
call fcn.140007060
mov dword [rsp + 0x240], 0
lea r9, [rsp + 0x240]
lea r8, [0x140255f1c]
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x20]
call fcn.140006620
nop
lea rdx, [0x140255ff4]
lea rcx, [rsp + 0x248]
call fcn.140006dd0
movzx eax, al
test eax, eax
je 0x14018ebb3
lea rcx, [rsp + 0x248]
call fcn.140007060
jmp 0x14018ebe0
lea rcx, [rsp + 0x248]
call fcn.140011a10
mov rdx, rax
mov rcx, qword [rsp + 0x2b0]
call fcn.14008eda4
nop
lea rcx, [rsp + 0x248]
call fcn.140007060
jmp 0x14018eb67
mov rcx, qword [rsp + 0x2b0]
call fcn.1400129f0
test rax, rax
jne 0x14018ec07
lea rdx, [0x140256948]
mov rcx, qword [rsp + 0x2b0]
call fcn.14008eeec
nop
lea rcx, [rsp + 0x20]
call fcn.140007060
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x290
pop rdi
ret
Function at 0x14018fe70
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x120], 0
lea rcx, [rsp + 0x118]
call fcn.140001000
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea r8, [0x140258f48]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x110]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x118]
call fcn.140007060
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
lea rcx, [rsp + 0x110]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x140256e14]
lea rdx, [0x140258f60]
lea rcx, [0x140258f70]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140002050
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0x110]
call fcn.140007060
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x150
pop rdi
ret

Function at 0x14018ffa0
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x120], 0
lea rcx, [rsp + 0x118]
call fcn.140001000
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea r8, [0x140258cd8]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x110]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x118]
call fcn.140007060
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
lea rcx, [rsp + 0x110]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x140256dcc]
lea rdx, [0x140258f28]
lea rcx, [0x140258f38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140002050
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0x110]
call fcn.140007060
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x150
pop rdi
ret
Function at 0x1401a9ec0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov qword [rsp + 0x2f8], 0xfffffffffffffffe
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x300], rax
cmp qword [rsp + 0x300], 0x800d
je 0x1401a9f4d
cmp qword [rsp + 0x300], 0x8030
je 0x1401aa02b
cmp qword [rsp + 0x300], 0x8034
je 0x1401aa11a
cmp qword [rsp + 0x300], 0x8071
je 0x1401aa0c6
cmp qword [rsp + 0x300], 0x80b1
je 0x1401aa140
jmp 0x1401aa179
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8033
xor edx, edx
lea rcx, [0x1403c8c50]
call fcn.1400d8250
test rax, rax
je 0x1401a9f93
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x89
call fcn.1400f2960
cmp eax, 7
jne 0x1401a9f93
xor eax, eax
jmp 0x1401aa17e
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x75
call fcn.1400f2960
cmp eax, 6
jne 0x1401aa024
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8003
xor edx, edx
lea rcx, [0x1403c8c50]
call fcn.1400d8250
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800c
call fcn.14000d9f0
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x800d
call fcn.14000d9f0
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x8030
call fcn.14000d9f0
xor eax, eax
jmp 0x1401aa17e
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x8b
call fcn.1400f2960
cmp eax, 6
jne 0x1401aa0bf
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8037
xor edx, edx
lea rcx, [0x1403c8c50]
call fcn.1400d8250
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800c
call fcn.14000d9f0
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800d
call fcn.14000d9f0
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x8030
call fcn.14000d9f0
xor eax, eax
jmp 0x1401aa17e
lea rcx, [rsp + 0x2f0]
call fcn.140001000
mov qword [rsp + 0x308], rax
mov rcx, qword [rsp + 0x308]
call fcn.140050200
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x2f0]
call fcn.140007060
xor eax, eax
jmp 0x1401aa17e
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14016cc80
nop
lea rcx, [rsp + 0x30]
call fcn.1400830e4
nop
lea rcx, [rsp + 0x30]
call fcn.14016cc30
xor eax, eax
jmp 0x1401aa17e
mov rax, qword [rsp + 0x320]
mov dword [rax + 0x8e8], 1
mov rcx, qword [rsp + 0x320]
call fcn.14000dc10
test eax, eax
je 0x1401aa175
mov edx, 2
mov rcx, qword [rsp + 0x320]
call fcn.140079c60
xor eax, eax
jmp 0x1401aa17e
mov eax, 1
add rsp, 0x318
ret
Function at 0x1401ccf60
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401cd042
mov qword [rsp + 0x28], 0
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401ccfd2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1401ccfd2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, [0x140230298]
mov ecx, 1
call fcn.1400de020
jmp 0x1401cd042
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401cd008
cmp dword [rsp + 0x20], 0x102
jne 0x1401cd008
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x1401ccfda
cmp dword [rsp + 0x20], 0
jne 0x1401cd032
mov rax, qword [rsp + 0x70]
add rax, 0x314
mov ecx, 1
xchg dword [rax], ecx
lea rdx, [0x1402302d0]
mov ecx, 1
call fcn.1400de020
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x1401ccf69
add rsp, 0x68
ret
Function at 0x1401cf2e0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10b0
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x1090], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x10a8], rax
mov dword [rsp + 0x1088], 0
mov byte [rsp + 0x70], 0
lea rdi, [rsp + 0x71]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
mov dword [rsp + 0x1070], 0
jmp 0x1401cf352
mov eax, dword [rsp + 0x1070]
add eax, 2
mov dword [rsp + 0x1070], eax
mov rcx, qword [rsp + 0x10c8]
call fcn.1400a99d4
cmp dword [rsp + 0x1070], eax
jge 0x1401cf437
cmp dword [rsp + 0x1070], 0x1000
jge 0x1401cf437
mov rdx, qword [rsp + 0x10c8]
lea rcx, [rsp + 0x1080]
call fcn.140002050
mov qword [rsp + 0x1098], rax
mov rax, qword [rsp + 0x1098]
mov qword [rsp + 0x10a0], rax
mov r9d, 2
mov r8d, dword [rsp + 0x1070]
lea rdx, [rsp + 0x1078]
mov rcx, qword [rsp + 0x10a0]
call fcn.1400021f0
nop
lea rcx, [rsp + 0x1080]
call fcn.140007060
mov dword [rsp + 0x1074], 0
lea rcx, [rsp + 0x1078]
call fcn.140050200
lea r8, [rsp + 0x1074]
lea rdx, [0x140229434]
mov rcx, rax
call fcn.1400abcac
mov eax, dword [rsp + 0x1070]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
movzx eax, byte [rsp + 0x1074]
mov byte [rsp + rcx + 0x70], al
lea rcx, [rsp + 0x1078]
call fcn.140007060
jmp 0x1401cf341
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x10c8]
call fcn.1400a99d4
mov eax, eax
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x1401cf4bf
lea rdx, [0x140228fbc]
mov rcx, qword [rsp + 0x10c0]
call fcn.140002050
mov eax, dword [rsp + 0x1088]
or eax, 1
mov dword [rsp + 0x1088], eax
mov rax, qword [rsp + 0x10c0]
jmp 0x1401cf519
lea rcx, [rsp + 0x50]
call fcn.140002d10
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140002020
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x10c0]
call fcn.140001430
mov eax, dword [rsp + 0x1088]
or eax, 1
mov dword [rsp + 0x1088], eax
lea rcx, [rsp + 0x50]
call fcn.140007060
mov rax, qword [rsp + 0x10c0]
mov rcx, qword [rsp + 0x10a8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x10b0
pop rdi
ret
Function at 0x1401cf540
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400a99d4
add rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.140002d10
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x1401cf60e
lea rdx, [0x140228f3c]
mov rcx, qword [rsp + 0xa0]
call fcn.140002050
mov eax, dword [rsp + 0x7c]
or eax, 1
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x60]
call fcn.140007060
mov rax, qword [rsp + 0xa0]
jmp 0x1401cf689
mov dword [rsp + 0x78], 0
jmp 0x1401cf623
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x78], eax
jge 0x1401cf64f
movsxd rcx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
movzx r8d, byte [rax + rcx]
lea rdx, [0x140229428]
lea rcx, [rsp + 0x60]
call fcn.14000df50
jmp 0x1401cf618
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.140001430
mov eax, dword [rsp + 0x7c]
or eax, 1
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x60]
call fcn.140007060
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x1401d56c0
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401d57a4
mov qword [rsp + 0x28], 0
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401d5734
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1401d5734
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.NotifyAddrChange_error..._d
mov ecx, 1
call fcn.1400de020
xor eax, eax
jmp 0x1401d57a9
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401d576a
cmp dword [rsp + 0x20], 0x102
jne 0x1401d576a
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x1401d573c
cmp dword [rsp + 0x20], 0
jne 0x1401d5794
mov rax, qword [rsp + 0x70]
add rax, 0x2a8
mov ecx, 1
xchg dword [rax], ecx
lea rdx, [0x1402342e0]
mov ecx, 1
call fcn.1400de020
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x1401d56c9
mov eax, 1
add rsp, 0x68
ret

Function at 0x1401d57c0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x220], 0
jne 0x1401d57f0
mov eax, 1
jmp 0x1401d58f6
lea rcx, [rsp + 0x28]
call fcn.140001000
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x14023270c]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400010b0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
call fcn.14000f0b0
mov r8, rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, [0x140234220]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1400010b0
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140050200
mov r9, rax
mov r8d, 1
lea rdx, [0x140234230]
lea rcx, [0x140234248]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x40]
call fcn.140007060
nop
lea rcx, [rsp + 0x38]
call fcn.140007060
nop
lea rcx, [rsp + 0x30]
call fcn.140007060
nop
lea rcx, [rsp + 0x28]
call fcn.140007060
cmp dword [rsp + 0x20], 0
je 0x1401d58e9
xor r9d, r9d
mov r8d, 1
xor edx, edx
lea rcx, str.NET_SHARE_CCBootShare__DELETE__Y
call fcn.140004880
mov rcx, qword [rsp + 0xa0]
call fcn.1400da120
add rsp, 0x98
ret
Function at 0x140016200
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14015db60], rbx
je 0x140016267
cmp rax, rbx
jne 0x14001625a
mov ebx, 1
mov esi, ebx
jmp 0x14001626c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001623f
mov ebx, 1
mov eax, dword [0x14015db68]
cmp eax, ebx
jne 0x140016284
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400162f0
mov eax, dword [0x14015db68]
test eax, eax
jne 0x1400162e5
mov dword [0x14015db68], ebx
lea r15, [0x1400f7f50]
lea rdi, [0x1400f7f38]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400162d7
test eax, eax
jne 0x1400162db
cmp qword [rdi], r14
je 0x1400162cc
mov rax, qword [rdi]
mov rcx, qword [0x1400f7e80]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400162ae
test eax, eax
je 0x1400162eb
mov eax, 0xff
jmp 0x140016446
mov dword [0x14015d554], ebx
mov edi, 0x1f
mov eax, dword [0x14015db68]
cmp eax, ebx
jne 0x140016317
lea rdx, [0x1400f7f30]
lea rcx, [0x1400f7e88]
call sub.msvcrt.dll__initterm
mov dword [0x14015db68], 2
test esi, esi
jne 0x140016325
mov rax, r14
xchg qword [0x14015db60], rax
cmp qword [0x14015db80], r14
je 0x140016358
lea rcx, [0x14015db80]
call fcn.140016d20
test eax, eax
je 0x140016358
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14015db80]
mov r9, qword [0x1400f7e80]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140016371
mov eax, 0xff
jmp 0x140016446
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400163f7
test ax, ax
je 0x14001638c
test edx, edx
jne 0x1400163f7
sub ax, bx
cmp ax, di
ja 0x1400163a2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14001638c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140014600
mov dword [0x14015d550], eax
cmp dword [0x14015d570], r14d
jne 0x1400163e0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14015d554], r14d
jne 0x1400163f5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14015d550]
jmp 0x140016446
cmp ax, 0x22
jne 0x14001640b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001637a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call 0x1401fa000
add rsp, 0x28
jmp 0x140016200
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140008d60]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140008d70]
mov dword [rax], 1
mov rax, qword [0x140008d80]
mov dword [rax], 1
mov rax, qword [0x140008ce0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140008d50]
mov dword [0x14000c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140008e20]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140008e00]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140008cc0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a