joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400044a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400044b0]
mov dword [rax], 1
mov rax, qword [0x1400044c0]
mov dword [rax], 1
mov rax, qword [0x140004420]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004490]
mov dword [0x14000700c], 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 [0x140004560]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004540]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004400]
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

Function at 0x1400017d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400021c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000220d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002204
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000220f
add rax, 0x28
cmp rax, r9
jne 0x1400021f0
xor eax, eax
ret

Function at 0x140002210
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400022a0
mov rdx, qword [0x140004420]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000228e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000228e
cmp word [rax + 0x18], 0x20b
jne 0x14000228e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400022a0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002279
add rbx, 0x28
cmp rbx, rdi
je 0x1400022a0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002270
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400022b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000232d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002324
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022d0
add rax, 0x28
cmp rax, r9
jne 0x140002310
xor eax, eax
ret

Function at 0x140002330
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004420]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000234f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002358
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000234f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002370
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004420]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002390
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002398
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002390
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400023e0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400023d7
test rcx, rcx
je 0x140002390
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400023c8
xor eax, eax
ret
Function at 0x1400023f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004420]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000240f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002418
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002430
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002450
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002458
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002450
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002450
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400024a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400024b0
add rdx, 0x28
cmp rdx, r9
jne 0x140002490
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400024c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004420]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400024e2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400024f0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400024e2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400024e2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400024e2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002545
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002558
add rdx, 0x28
cmp r10, rdx
jne 0x140002530
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002567
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002577
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000254e
test ecx, ecx
jg 0x140002560
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
add eax, 0xf7d4cb7f
invalid
shl eax, 1
sal cl, cl
push 0xffffffff8ddfaaa5
jge 0x140023279
jmp 0x1400232d8
cmp byte [0x191fe6612], ch
adc eax, 0x6840154d
invalid
Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140184000
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140048800
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004880d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004881d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140048805
lea eax, [rcx + 1]
jmp 0x14004882b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14004883e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140048824
sub eax, 3
jb 0x14004885e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400488ad
sar eax, 1
movsxd rbp, eax
jb 0x140048894
jmp 0x14004886c
add ebx, ebx
jne 0x14004886a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140048894
inc ecx
add ebx, ebx
jne 0x14004887a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140048894
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004888d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004887c
add ecx, 2
jmp 0x140048899
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400487c2
jmp 0x14004880d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400488f9
cmp rsi, rcx
jae 0x140048901
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400488e0
cmp al, 0x8f
ja 0x1400488e0
cmp byte [rsi - 2], 0xf
je 0x1400488e6
sub al, 0xe8
cmp al, 1
ja 0x1400488ca
cmp rsi, rcx
jae 0x140048901
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400488d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140048901
lodsb al, byte [rsi]
jmp 0x1400488e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x46000]
mov eax, dword [rdi]
or eax, eax
je 0x14004896a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x66224]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14004890e
jns 0x140048943
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14004894d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140048964
mov qword [rbx], rax
add rbx, 8
jmp 0x14004892e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400489c2
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x140003b84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400039b0
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0093b0b0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x0093b0c0]
mov dword [rax], 1
mov rax, qword [0x0093b0d0]
mov dword [rax], 1
mov rax, qword [0x0093b0a0]
mov dword [rax], 1
mov rax, qword [0x0093a980]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x0093b090]
mov dword [0x009cc00c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x4010b0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x0093abb0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00939a50]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401c00
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov rbx, rcx
shl r8d, 8
movzx ecx, dl
lea r9, [rsp + 0x20]
or r8d, ecx
mov rdx, r9
movzx ecx, r8w
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [rbx + 4], eax
add rsp, 0x1c0
pop rbx
ret

Function at 0x406db0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov rbx, rcx
shl r8d, 8
movzx ecx, dl
lea r9, [rsp + 0x20]
or r8d, ecx
mov rdx, r9
movzx ecx, r8w
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [rbx + 4], eax
add rsp, 0x1c0
pop rbx
ret
Function at 0x4742b0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov rbx, rcx
shl r8d, 8
movzx ecx, dl
lea r9, [rsp + 0x20]
or r8d, ecx
mov rdx, r9
movzx ecx, r8w
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [rbx + 4], eax
add rsp, 0x1c0
pop rbx
ret

Function at 0x48b360
Capabilities:
Move file

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x150
mov r8, 0xffffffffffffffff
mov rax, qword [rcx]
mov r14, qword [rdx]
mov r12, qword [rax]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
test r12, r12
je 0x48b39a
mov rcx, r12
call sym.strlen
lea r8, [r12 + rax]
lea r13, [rsp + 0x30]
xor r9d, r9d
mov rdx, r12
mov rcx, r13
call method.void_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_construct_char_const__char_const__char_const__std::forward_iterator_tag_
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [dbg._stub]
test eax, eax
jne 0x48b4c0
mov eax, dword [0x009cc504]
lea r12, [rsp + 0x80]
mov edx, 0xc8
lea r8, str.part__u
mov rcx, r12
lea r9d, [rax + 1]
mov dword [0x009cc504], r9d
call fcn.0048b140
mov byte [rsp + 0x147], 0
movabs rax, 0x3fffffffffffffff
cmp qword [rsp + 0x38], rax
je 0x48b4e4
mov r8d, 1
lea rdx, [0x008858dc]
mov rcx, r13
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_long_long_
mov r8, r12
mov edx, dword [r8]
add r8, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x48b437
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [r8 + 2]
cmove r8, rdx
mov esi, eax
add sil, al
movabs rax, 0x3fffffffffffffff
sbb r8, 3
sub rax, qword [rsp + 0x38]
sub r8, r12
cmp r8, rax
ja 0x48b4f0
mov rdx, r12
mov rcx, r13
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_long_long_
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call sym.rename
mov rcx, qword [rsp + 0x30]
cmp rcx, rbx
je 0x48b4ac
call sym.operator_delete_void_
nop
add rsp, 0x150
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
lea r12, [rsp + 0x80]
mov r9, rsi
mov edx, 0xc8
lea r8, str._Y__m__d__H__M__S
mov rcx, r12
call sym.strftime
jmp 0x48b402
lea rcx, [0x00885868]
call method.std.__throw_length_error_char_const_
lea rcx, [0x00885868]
call method.std.__throw_length_error_char_const_
mov rcx, qword [rsp + 0x30]
mov r12, rax
cmp rcx, rbx
je 0x48b50e
call sym.operator_delete_void_
mov rcx, r12
call sym._Unwind_Resume
jmp 0x48b4fc
Function at 0x48d190
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov rbx, rcx
shl r8d, 8
movzx ecx, dl
lea r9, [rsp + 0x20]
or r8d, ecx
mov rdx, r9
movzx ecx, r8w
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [rbx + 4], eax
add rsp, 0x1c0
pop rbx
ret
Function at 0x491000
Capabilities:
Create directory

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rdi, rdx
mov rbx, r8
mov rdx, qword [rdx]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
je 0x491050
test rbx, rbx
je 0x49103e
mov dword [rbx], 0
call method.boost::system.system_category__
mov qword [rbx + 8], rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
je 0x49102a
test rbx, rbx
je 0x49107b
call method.boost::system.system_category__
mov dword [rbx], ebp
mov qword [rbx + 8], rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, 0x50
lea r13, [rsp + 0x40]
call sym.__cxa_allocate_exception
mov r14, rax
call method.boost::system.system_category__
lea rdx, str.boost::filesystem::copy_directory
mov rcx, r13
mov r12, rax
call fcn.0085be40
lea rax, [rsp + 0x30]
mov rcx, r14
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r13
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r12
call sym._ZN5boost10filesystem16filesystem_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4pathESC_NS_6system10err
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x4910dd
call sym.operator_delete_void_
lea r8, [sym.boost::filesystem::filesystem_error::filesystem_error__]
lea rdx, [0x0093d330]
mov rcx, r14
call sym.__cxa_throw
mov r12, rax
mov rcx, r14
call sym.__cxa_free_exception
mov rcx, r12
call sym._Unwind_Resume
nop
nop word [rax + rax]
Function at 0x491110
Capabilities:
Move file

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rdi, rdx
mov rbx, r8
mov rdx, qword [rdx]
mov rcx, qword [rcx]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x491160
test rbx, rbx
je 0x491151
mov dword [rbx], 0
call method.boost::system.system_category__
mov qword [rbx + 8], rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
je 0x49113d
test rbx, rbx
je 0x49118b
call method.boost::system.system_category__
mov dword [rbx], ebp
mov qword [rbx + 8], rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, 0x50
lea r13, [rsp + 0x40]
call sym.__cxa_allocate_exception
mov r14, rax
call method.boost::system.system_category__
lea rdx, str.boost::filesystem::rename
mov rcx, r13
mov r12, rax
call fcn.0085be40
lea rax, [rsp + 0x30]
mov rcx, r14
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r13
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r12
call sym._ZN5boost10filesystem16filesystem_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4pathESC_NS_6system10err
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x4911ed
call sym.operator_delete_void_
lea r8, [sym.boost::filesystem::filesystem_error::filesystem_error__]
lea rdx, [0x0093d330]
mov rcx, r14
call sym.__cxa_throw
mov r12, rax
mov rcx, r14
call sym.__cxa_free_exception
mov rcx, r12
call sym._Unwind_Resume
nop
nop word [rax + rax]
Function at 0x491220
Capabilities:
Copy file

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
test r8d, r8d
mov rsi, rcx
mov rdi, rdx
mov rcx, qword [rcx]
sete r8b
mov rdx, qword [rdx]
mov rbx, r9
movzx r8d, r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x491278
test rbx, rbx
je 0x491266
mov dword [rbx], 0
call method.boost::system.system_category__
mov qword [rbx + 8], rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
je 0x491252
test rbx, rbx
je 0x4912a3
call method.boost::system.system_category__
mov dword [rbx], ebp
mov qword [rbx + 8], rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, 0x50
lea r13, [rsp + 0x40]
call sym.__cxa_allocate_exception
mov r14, rax
call method.boost::system.system_category__
lea rdx, str.boost::filesystem::copy_file
mov rcx, r13
mov r12, rax
call fcn.0085be40
lea rax, [rsp + 0x30]
mov rcx, r14
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r13
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r12
call sym._ZN5boost10filesystem16filesystem_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4pathESC_NS_6system10err
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x491305
call sym.operator_delete_void_
lea r8, [sym.boost::filesystem::filesystem_error::filesystem_error__]
lea rdx, [0x0093d330]
mov rcx, r14
call sym.__cxa_throw
mov r12, rax
mov rcx, r14
call sym.__cxa_free_exception
mov rcx, r12
call sym._Unwind_Resume
nop
nop