joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140189300
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0x2b0]
call fcn.140188af0
cmp qword [rsp + 0x2b8], 0
je 0x140189363
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x14018936a
xor al, al
jmp 0x14018954e
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 0x140189390
xor al, al
jmp 0x14018954e
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x1401893b4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401893b4
mov byte [rsp + 0x2c8], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call fcn.140188bc0
nop
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x1401893e0
mov dword [rsp + 0x288], 1
jmp 0x1401893eb
mov dword [rsp + 0x288], 0
lea rcx, [rsp + 0x250]
call fcn.14000b1e0
mov edx, dword [rsp + 0x288]
mov rcx, rax
call fcn.14005e580
mov r11, rax
mov rax, qword [rsp + 0x2b0]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 8], 0
je 0x140189504
cmp qword [rsp + 0x2c0], 0
jne 0x140189450
mov rdx, qword [rsp + 0x2b0]
add rdx, 0x10
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x140189504
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140189504
mov rax, qword [rsp + 0x2c0]
movzx eax, word [rax + 2]
cmp eax, 0x3a
je 0x1401894d9
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, [0x1402449b4]
call fcn.1400a99b0
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
mov rdx, qword [rsp + 0x2c0]
call fcn.1400a99b0
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
lea rdx, [0x1402449e4]
call fcn.1400a99b0
jmp 0x140189504
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
mov qword [rsp + 0x20], 0
lea r9, [0x140244a24]
mov r8, qword [rsp + 0x2c0]
xor edx, edx
call fcn.1400ac140
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 8], 0
je 0x140189520
mov dword [rsp + 0x28c], 1
jmp 0x14018952b
mov dword [rsp + 0x28c], 0
movzx eax, byte [rsp + 0x28c]
mov byte [rsp + 0x278], al
lea rcx, [rsp + 0x250]
call fcn.14000bbd0
mov al, byte [rsp + 0x278]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x2a8
ret
Function at 0x140189fc0
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 [0x1402aa5c0]
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.140002100
nop
mov r8w, 0x2f
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x20]
call fcn.140006200
mov dx, 0x2f
lea rcx, [rsp + 0x20]
call fcn.1400068a0
mov dword [rsp + 0x240], eax
cmp dword [rsp + 0x240], 0
jg 0x14018a07e
lea rdx, [0x140244a64]
mov rcx, qword [rsp + 0x2a8]
call fcn.1400020d0
jmp 0x14018a12c
mov r9d, dword [rsp + 0x240]
xor r8d, r8d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call fcn.1400022a0
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.140002db0
nop
lea rcx, [rsp + 0x250]
call fcn.140001490
mov r8d, dword [rsp + 0x240]
add r8d, 1
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x20]
call fcn.140006a00
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.140002db0
nop
lea rcx, [rsp + 0x258]
call fcn.140001490
mov dword [rsp + 0x240], 0
lea r9, [rsp + 0x240]
lea r8, [0x140244aac]
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x20]
call fcn.1400065a0
nop
lea rdx, [0x140244b84]
lea rcx, [rsp + 0x248]
call fcn.140006d50
movzx eax, al
test eax, eax
je 0x14018a183
lea rcx, [rsp + 0x248]
call fcn.140001490
jmp 0x14018a1b0
lea rcx, [rsp + 0x248]
call fcn.1400104a0
mov rdx, rax
mov rcx, qword [rsp + 0x2b0]
call fcn.14008d7f4
nop
lea rcx, [rsp + 0x248]
call fcn.140001490
jmp 0x14018a137
mov rcx, qword [rsp + 0x2b0]
call fcn.14001a030
test rax, rax
jne 0x14018a1d7
lea rdx, [0x1402454d8]
mov rcx, qword [rsp + 0x2b0]
call fcn.14008d93c
nop
lea rcx, [rsp + 0x20]
call fcn.140001490
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x290
pop rdi
ret
Function at 0x14018a940
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 [0x1402aa5c0]
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, [0x140247b00]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x110]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x118]
call fcn.140001490
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.14000f8f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x1402459a4]
lea rdx, [0x140247b18]
lea rcx, [0x140247b28]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140002100
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0x110]
call fcn.140001490
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x150
pop rdi
ret

Function at 0x14018aa70
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 [0x1402aa5c0]
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, [0x140247ac8]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x110]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x118]
call fcn.140001490
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.14000f8f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x14024595c]
lea rdx, [0x140247ae0]
lea rcx, [0x140247af0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140002100
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0x110]
call fcn.140001490
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x150
pop rdi
ret
Function at 0x1401a22d0
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 0x1401a235d
cmp qword [rsp + 0x300], 0x8030
je 0x1401a243b
cmp qword [rsp + 0x300], 0x8034
je 0x1401a252a
cmp qword [rsp + 0x300], 0x8071
je 0x1401a24d6
cmp qword [rsp + 0x300], 0x80b1
je 0x1401a2550
jmp 0x1401a2589
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8033
xor edx, edx
lea rcx, [0x1403b5c10]
call fcn.1400d71f0
test rax, rax
je 0x1401a23a3
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x89
call fcn.1400f16c0
cmp eax, 7
jne 0x1401a23a3
xor eax, eax
jmp 0x1401a258e
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x75
call fcn.1400f16c0
cmp eax, 6
jne 0x1401a2434
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8003
xor edx, edx
lea rcx, [0x1403b5c10]
call fcn.1400d71f0
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800c
call fcn.14000cc20
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x800d
call fcn.14000cc20
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x8030
call fcn.14000cc20
xor eax, eax
jmp 0x1401a258e
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x8b
call fcn.1400f16c0
cmp eax, 6
jne 0x1401a24cf
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8037
xor edx, edx
lea rcx, [0x1403b5c10]
call fcn.1400d71f0
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800c
call fcn.14000cc20
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800d
call fcn.14000cc20
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x8030
call fcn.14000cc20
xor eax, eax
jmp 0x1401a258e
lea rcx, [rsp + 0x2f0]
call fcn.140001000
mov qword [rsp + 0x308], rax
mov rcx, qword [rsp + 0x308]
call fcn.14000f8f0
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.140001490
xor eax, eax
jmp 0x1401a258e
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1401689f0
nop
lea rcx, [rsp + 0x30]
call fcn.140082174
nop
lea rcx, [rsp + 0x30]
call fcn.1401689a0
xor eax, eax
jmp 0x1401a258e
mov rax, qword [rsp + 0x320]
mov dword [rax + 0x8e8], 1
mov rcx, qword [rsp + 0x320]
call fcn.14000ce00
test eax, eax
je 0x1401a2585
mov edx, 2
mov rcx, qword [rsp + 0x320]
call fcn.140078c20
xor eax, eax
jmp 0x1401a258e
mov eax, 1
add rsp, 0x318
ret
Function at 0x1401c0780
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 0x1401c0862
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 0x1401c07f2
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1401c07f2
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, [0x14021ff58]
mov ecx, 1
call fcn.1400dcf70
jmp 0x1401c0862
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401c0828
cmp dword [rsp + 0x20], 0x102
jne 0x1401c0828
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x1401c07fa
cmp dword [rsp + 0x20], 0
jne 0x1401c0852
mov rax, qword [rsp + 0x70]
add rax, 0x314
mov ecx, 1
xchg dword [rax], ecx
lea rdx, [0x14021ff90]
mov ecx, 1
call fcn.1400dcf70
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x1401c0789
add rsp, 0x68
ret
Function at 0x1401c2b00
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10b0
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x1090], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
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 0x1401c2b72
mov eax, dword [rsp + 0x1070]
add eax, 2
mov dword [rsp + 0x1070], eax
mov rcx, qword [rsp + 0x10c8]
call fcn.1400a8944
cmp dword [rsp + 0x1070], eax
jge 0x1401c2c57
cmp dword [rsp + 0x1070], 0x1000
jge 0x1401c2c57
mov rdx, qword [rsp + 0x10c8]
lea rcx, [rsp + 0x1080]
call fcn.140002100
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.1400022a0
nop
lea rcx, [rsp + 0x1080]
call fcn.140001490
mov dword [rsp + 0x1074], 0
lea rcx, [rsp + 0x1078]
call fcn.14000f8f0
lea r8, [rsp + 0x1074]
lea rdx, [0x140219134]
mov rcx, rax
call fcn.1400aa8d4
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.140001490
jmp 0x1401c2b61
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x10c8]
call fcn.1400a8944
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 0x1401c2cdf
lea rdx, [0x140218ccc]
mov rcx, qword [rsp + 0x10c0]
call fcn.140002100
mov eax, dword [rsp + 0x1088]
or eax, 1
mov dword [rsp + 0x1088], eax
mov rax, qword [rsp + 0x10c0]
jmp 0x1401c2d39
lea rcx, [rsp + 0x50]
call fcn.140002de0
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400020d0
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.140001490
mov rax, qword [rsp + 0x10c0]
mov rcx, qword [rsp + 0x10a8]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x10b0
pop rdi
ret
Function at 0x1401c2d60
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.1400a8944
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.140002de0
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 0x1401c2e2e
lea rdx, [0x140218c4c]
mov rcx, qword [rsp + 0xa0]
call fcn.140002100
mov eax, dword [rsp + 0x7c]
or eax, 1
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x60]
call fcn.140001490
mov rax, qword [rsp + 0xa0]
jmp 0x1401c2ea9
mov dword [rsp + 0x78], 0
jmp 0x1401c2e43
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x78], eax
jge 0x1401c2e6f
movsxd rcx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
movzx r8d, byte [rax + rcx]
lea rdx, [0x140219188]
lea rcx, [rsp + 0x60]
call fcn.14000e190
jmp 0x1401c2e38
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.140001490
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x1401c7920
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 0x1401c7a04
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 0x1401c7994
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1401c7994
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.NotifyAddrChange_error..._d
mov ecx, 1
call fcn.1400dcf70
xor eax, eax
jmp 0x1401c7a09
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401c79ca
cmp dword [rsp + 0x20], 0x102
jne 0x1401c79ca
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x1401c799c
cmp dword [rsp + 0x20], 0
jne 0x1401c79f4
mov rax, qword [rsp + 0x70]
add rax, 0x2a8
mov ecx, 1
xchg dword [rax], ecx
lea rdx, [0x140223bd0]
mov ecx, 1
call fcn.1400dcf70
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x1401c7929
mov eax, 1
add rsp, 0x68
ret

Function at 0x1401c7a20
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 0x1401c7a50
mov eax, 1
jmp 0x1401c7b53
lea rcx, [rsp + 0x28]
call fcn.140001000
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x140222204]
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.14000e2c0
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, [0x140223b10]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1400010b0
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
lea rdx, [0x140223b20]
lea rcx, [0x140223b38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x40]
call fcn.140001490
nop
lea rcx, [rsp + 0x38]
call fcn.140001490
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x28]
call fcn.140001490
cmp dword [rsp + 0x20], 0
je 0x1401c7b46
xor r9d, r9d
mov r8d, 1
xor edx, edx
lea rcx, str.NET_SHARE_CCBootShare__DELETE__Y
call fcn.140004930
mov rcx, qword [rsp + 0xa0]
call fcn.1400d90d0
add rsp, 0x98
ret
Function at 0x1401d56b0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x70]
add rcx, 0x1b8
lea rdx, [0x140241544]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x208
lea rdx, [0x14024135c]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x218
lea rdx, [0x14024136c]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x230
lea rdx, [0x14024139c]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x220
lea rdx, [0x1402415dc]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x240
lea rdx, [0x1402415ec]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x1a8
lea rdx, [0x140241990]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x1b0
lea rdx, [0x1402419a0]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
add rcx, 0x258
lea rdx, [0x14024166c]
call fcn.1400020d0
mov rcx, qword [rsp + 0x70]
call fcn.1401bf080
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
add rcx, 0x1f8
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x1401d587b
lea rcx, [rsp + 0x28]
call fcn.1400dc730
nop
lea rcx, [rsp + 0x28]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002e10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x38]
call fcn.140002ea0
lea rdx, [0x1402419a8]
lea rcx, [rsp + 0x30]
call fcn.1400ef320
nop
lea rcx, [rsp + 0x30]
call fcn.140006970
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002db0
mov r9d, dword [rsp + 0x24]
shr r9d, 0x18
mov rcx, qword [rsp + 0x70]
add rcx, 0x1f8
mov r8, qword [rsp + 0x30]
lea rdx, str.iqn.2008_12.com._s._d
call fcn.140002c70
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x28]
call fcn.140001490
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret