joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008bb40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x410
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x420]
mov dword [rax + 0x48], 0
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x118]
call fcn.1400179b0
nop
lea rcx, [rsp + 0xe8]
call fcn.140129920
lea rcx, [rsp + 0xf8]
call fcn.14000a280
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0xe8]
call fcn.140129ed0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.14001e490
lea rcx, [rsp + 0x118]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14001e490
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
lea rdx, [0x1402faeb8]
lea rcx, [rsp + 0xf8]
call fcn.14001d950
nop
lea rcx, [rsp + 0x1a8]
call fcn.14000a800
lea rcx, [rsp + 0xf8]
call fcn.14000c690
xor edx, edx
mov rcx, rax
call fcn.1400f1be0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14008bd42
lea rcx, [rsp + 0x198]
call fcn.140129920
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xe8]
call fcn.14005a7d0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0xe8]
call fcn.140129ed0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14001e490
lea rcx, [rsp + 0x118]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14001e490
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xb8]
lea rdx, str._S_S.txt
lea rcx, [rsp + 0xf8]
call fcn.14001d950
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000a800
jmp 0x14008bc5e
lea rcx, [rsp + 0x40]
call fcn.14008ecf0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xf8]
call fcn.14000c690
mov dword [rsp + 0x20], 7
mov r9d, 2
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400f24d0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14008be1f
mov rax, qword [rsp + 0x420]
mov dword [rax + 0x48], 2
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x138]
call fcn.140015150
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x138]
call fcn.14008de60
lea rcx, [rsp + 0x138]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.14001e490
mov rax, qword [rsp + 0x420]
add rax, 8
lea r8, [rsp + 0xc8]
lea rdx, str.Directory__S_is_read_only
mov rcx, rax
call fcn.140014cf0
nop
lea rcx, [rsp + 0x138]
call fcn.14000a800
jmp 0x14008be3f
lea rcx, [rsp + 0x40]
call fcn.1400f25c0
lea rcx, [rsp + 0xf8]
call fcn.14000c690
mov rcx, rax
call fcn.1400f23b0
nop
lea rcx, [rsp + 0x40]
call fcn.140049e30
nop
lea rcx, [rsp + 0xf8]
call fcn.14000a800
nop
jmp 0x14008be5a
lea rcx, [rsp + 0x118]
call fcn.14000a800
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x410
pop rdi
ret
Function at 0x14008bf80
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x240]
add rax, 0xa0
xor edx, edx
mov rcx, rax
call fcn.140100210
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x240]
movzx edx, byte [rax + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.140017ec0
nop
lea rcx, [rsp + 0xc0]
call fcn.1401a7970
movzx eax, al
test eax, eax
jne 0x14008c038
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x240]
add rax, 8
lea rdx, str.Failed_to_connect_to_the_database
mov rcx, rax
call fcn.140015550
nop
lea rcx, [rsp + 0xc0]
call fcn.140018400
jmp 0x14008c1a1
lea rcx, [rsp + 0x38]
call fcn.14000df30
nop
lea rcx, [rsp + 0xc0]
call fcn.14000e130
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x178]
mov qword [rsp + 0x28], rax
mov rdx, qword [str.SELECT__chainid____modguid__FROM__authcfg__WHERE__modid___fedidp_samlauth]
lea rcx, [rsp + 0x60]
call fcn.1400179b0
nop
lea r9, [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [rsp + SQLGetData]
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
lea rcx, [rsp + 0x38]
call fcn.1400204f0
movzx eax, al
test eax, eax
je 0x14008c0df
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x240]
add rax, 8
lea rdx, str.No_fedidp_samlauth_modules_detected_n
mov rcx, rax
call fcn.140015550
jmp 0x14008c189
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x48], 1
lea rcx, [rsp + 0x38]
call fcn.140057e60
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400152d0
lea r8, [rsp + 0x50]
lea rdx, str.Found__d_fedidp_samlauth_modules_in_authentication_chains
lea rcx, [rsp + 0xa0]
call fcn.1400177b0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x240]
add rax, 8
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0xa0]
call fcn.14000a800
lea rdx, str.Existing_fedidp_samlauth_modules_require_the_identity_provider_signature_location_property_to_be_set_in_the_UI_after_upgrade
lea rcx, [rsp + 0x80]
call fcn.1400179b0
nop
mov rax, qword [rsp + 0x240]
add rax, 8
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14008c280
nop
lea rcx, [rsp + 0x80]
call fcn.14000a800
nop
lea rcx, [rsp + 0x38]
call fcn.140057b10
nop
lea rcx, [rsp + 0xc0]
call fcn.140018400
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x238
ret
Function at 0x1400a8370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xa8]
call fcn.14000a280
nop
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0xa8]
call fcn.1400cdcb0
cmp dword [rsp + 0x110], 0
jbe 0x1400a84d7
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x430], 0
je 0x1400a84d7
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xa8]
call fcn.140016630
shl rax, 1
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0xa8]
call fcn.14000c690
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x430]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, 4
lea rdx, [0x1403041c4]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x430]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x80]
test eax, eax
jne 0x1400a861a
cmp dword [rsp + 0x110], 0x40
jae 0x1400a861a
lea rcx, [rsp + 0xc8]
call fcn.14000a280
nop
mov rax, qword [rsp + 0x100]
add rax, 0x400
mov qword [rsp + 0x80], rax
mov eax, 0x7d4
mov word [rsp + 0x50], ax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.140020650
mov rax, qword [rsp + 0x100]
add rax, 0x400
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
call fcn.140020530
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001e940
movzx eax, al
test eax, eax
je 0x1400a859e
lea rcx, [rsp + 0x60]
call fcn.14001e9f0
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1400185b0
lea rcx, [rsp + 0xc8]
call fcn.14000c690
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xa8]
call fcn.14000c690
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x108], 0
jne 0x1400a85e0
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x68], rax
jmp 0x1400a85ed
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x68], rax
xor r9d, r9d
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rsp + 0xc8]
call fcn.14000a800
nop
lea rcx, [rsp + 0xa8]
call fcn.14000a800
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xf8
ret
Function at 0x1400a8e20
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x90]
add rax, 0x4d8
xor edx, edx
mov rcx, rax
call fcn.14006ce90
movzx eax, al
test eax, eax
je 0x1400a8ebf
mov rax, qword [rsp + 0x90]
add rax, 0x4d8
mov rcx, rax
call fcn.14000e130
add rax, 8
mov rcx, rax
call fcn.1400722c0
test eax, eax
je 0x1400a8ebf
mov rax, qword [rsp + 0x90]
add rax, 0x4d8
mov rcx, rax
call fcn.14000e130
add rax, 8
mov qword [rsp + 0x40], rax
mov r9d, 0x64
xor r8d, r8d
mov edx, 0x401
mov rcx, qword [rsp + 0x40]
call fcn.1400159d0
mov rax, qword [rsp + 0x90]
add rax, 0x4d8
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000c690
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x98]
call fcn.14000c690
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
lea r8, [0x1400c2580]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xa8]
mov dword [rcx], eax
cmp dword [rsp + 0x30], 0
je 0x1400a8f71
mov rax, qword [rsp + 0x90]
add rax, 0x410
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400cced0
cmp dword [rsp + 0x30], 1
jne 0x1400a8f82
mov dword [rsp + 0x34], 1
jmp 0x1400a8f8a
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
add rsp, 0x88
ret
Function at 0x1400ae460
Capabilities:
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x588
xor edx, edx
mov rcx, rax
call fcn.14006ce90
movzx eax, al
test eax, eax
je 0x1400ae59e
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, qword [rsp + 0x2a0]
add rax, 0x588
mov rcx, rax
call fcn.14000e130
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x340
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.1400d44f0
mov rax, qword [rsp + 0x2a0]
add rax, 0x588
mov rcx, rax
call fcn.14000e130
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x28]
call fcn.1400d3080
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x588
mov rcx, rax
call fcn.14000e130
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.1400d3550
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x340
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0x48]
call fcn.14000a800
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp qword [rsp + 0x40], 1
je 0x1400ae59e
xor al, al
jmp 0x1400ae5a0
mov al, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x290
pop rdi
ret
Function at 0x1400c5680
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400179b0
nop
lea rcx, [rsp + 0x28]
call fcn.14002a240
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x28]
call fcn.140020060
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x280]
call fcn.14000a200
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.14000a800
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x270
pop rdi
ret

Function at 0x1400cfc00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x240
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x250]
mov rcx, rax
call fcn.140187dc0
nop
mov rax, qword [rsp + 0x250]
add rax, 0x20
mov rcx, rax
call fcn.14008e820
nop
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x258]
mov qword [rax + 0x110], rcx
mov rax, qword [rsp + 0x250]
add rax, 0x118
mov rcx, rax
call fcn.14000a280
nop
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x1400cfcb8
mov rax, qword [rsp + 0x250]
add rax, 0x118
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140015550
mov rax, qword [rsp + 0x250]
add rax, 0x20
mov rcx, rax
call fcn.1400902d0
mov rax, qword [rsp + 0x250]
add rax, 0x20
mov rcx, rax
call fcn.1400d4e10
nop
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x240
pop rdi
ret
Function at 0x1400d3890
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
call fcn.1400150f0
nop
cmp dword [rsp + 0xb0], 1
jne 0x1400d3900
mov rax, qword [rsp + 0xa8]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400cf900
lea r8, [rsp + 0x38]
lea rdx, str.BEGIN_nIF_NOT_EXISTS___SELECT__FROM_INFORMATION_SCHEMA.TABLES_WHERE_TABLE_NAME___s___n
lea rcx, [rsp + 0x48]
call fcn.14001c8a0
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.1400d3250
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001fdd0
nop
lea rcx, [rsp + 0x68]
call fcn.140015480
cmp dword [rsp + 0xb0], 1
jne 0x1400d395e
lea rdx, str._nEND_
lea rcx, [rsp + 0x48]
call fcn.14001fe20
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call fcn.140017890
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x48]
call fcn.140015480
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x98
ret

Function at 0x1400d3d20
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 8], 0
je 0x1400d3d71
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
add rax, 0x10
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x20]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.Protected_Data
lea rcx, [rsp + 0x48]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x1400d3de6
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov al, 1
jmp 0x1400d3e4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0x6bb
jne 0x1400d3e24
cmp dword [rsp + 0x40], 0x64
jge 0x1400d3e24
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d3e46
mov rax, qword [rsp + 0x80]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 0
xor al, al
jmp 0x1400d3e4b
jmp 0x1400d3d79
add rsp, 0x78
ret
Function at 0x1400e0fb0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
mov r8d, 0x3f7
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsp + 0x60]
add rax, 0xf8
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14014e1c0
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1401f9db0
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.140015ac0
mov edx, 3
mov rcx, qword [rsp + 0x60]
call fcn.140015a80
mov edx, 3
mov rcx, qword [rsp + 0x60]
call fcn.140015aa0
mov rcx, qword [rsp + 0x60]
call fcn.1401faa70
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0xd2]
cmp eax, 2
jne 0x1400e1098
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 8]
mov rax, qword [rsp + 0x60]
movzx r8d, word [rax + 0xd2]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1401fa520
jmp 0x1400e10d7
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0xd2]
cmp eax, 0x3ef
jne 0x1400e10d7
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 8]
mov rax, qword [rsp + 0x60]
movzx r8d, word [rax + 0xd2]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1401fa630
add rsp, 0x58
ret

Function at 0x1400e11e0
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
mov r8d, 0x3f7
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsp + 0x60]
add rax, 0xf8
mov qword [rsp + 0x40], rax
mov edx, 5
mov rcx, qword [rsp + 0x40]
call fcn.14014e1c0
mov byte [rsp + 0x30], 1
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1401f9db0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x1400e1670]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x58
ret

Function at 0x1400f1be0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], 0
cmp dword [rsp + 0x24], 0xffffffff
je 0x1400f1c28
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x1400f1c1a
mov byte [rsp + 0x20], 1
jmp 0x1400f1c28
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x1400f1c28
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400f1c40
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0xffffffffffffffff
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x1400f1c78
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400f1c78
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400f1ee0
Capabilities:
Copy file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x60]
and eax, 1
test eax, eax
je 0x1400f1f18
mov dword [rsp + 0x34], 0
jmp 0x1400f1f20
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
je 0x1400f1f5a
mov eax, dword [rsp + 0x30]
jmp 0x1400f1f8e
call fcn.1400f5240
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x50]
call fcn.1400f41b0
movzx eax, al
test eax, eax
je 0x1400f1f8a
mov r8b, 1
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1400f4c00
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400f20d0
Capabilities:
Move file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x24], 0
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1400179b0
nop
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x80]
call fcn.1400179b0
nop
cmp dword [rsp + 0xf0], 1
je 0x1400f2172
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call fcn.1400f1be0
movzx eax, al
test eax, eax
je 0x1400f2172
mov dword [rsp + 0x2c], 2
lea rcx, [rsp + 0x80]
call fcn.14000a800
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
mov eax, dword [rsp + 0x2c]
jmp 0x1400f22d1
mov eax, dword [rsp + 0xf0]
and eax, 1
test eax, eax
je 0x1400f218a
mov dword [rsp + 0x28], reloc.WSOCK32.dll_inet_ntoa
jmp 0x1400f2192
mov dword [rsp + 0x28], 0xa
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x80]
call fcn.14000c690
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.14000c690
mov qword [rsp + 0x48], rax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400f21fd
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x80]
call fcn.14000a800
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
mov eax, dword [rsp + 0x34]
jmp 0x1400f22d1
call fcn.1400f5240
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x60]
call fcn.14000c690
mov rcx, rax
call fcn.1400f41b0
movzx eax, al
test eax, eax
je 0x1400f22ad
lea rcx, [rsp + 0x80]
call fcn.14000c690
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.14000c690
mov qword [rsp + 0x58], rax
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400f4c00
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400f22ad
lea rcx, [rsp + 0x60]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400179b0
nop
mov dl, 1
lea rcx, [rsp + 0xa0]
call fcn.1400f3500
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0xa0]
call fcn.14000a800
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400f22ad
mov dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x80]
call fcn.14000a800
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xd8
ret

Function at 0x1400f23b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400f23cf
call fcn.1400f5240
jmp 0x1400f23d1
xor eax, eax
add rsp, 0x28
ret