joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018c100
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.10011b7d0
test eax, eax
je 0x10018c1c0
mov qword [rsp + 0x90], rsi
xor esi, esi
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
nop
call fcn.10011b7d0
test eax, eax
je 0x10018c15b
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0x48]
jmp 0x10018c163
mov rbx, qword [0x7ffe0008]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r11, qword [rsp + 0x20]
cmp qword [rsp + 0x38], r11
je 0x10018c140
call fcn.10011b7d0
test eax, eax
je 0x10018c195
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rsp + 0x58]
jmp 0x10018c19d
mov rdi, qword [0x7ffe0008]
add rbx, 0x186a0
inc esi
cmp rbx, rdi
jae 0x10018c1b0
cmp esi, 5
jbe 0x10018c133
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x90]
jmp 0x10018c22d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call fcn.10011b7d0
test eax, eax
je 0x10018c1e6
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rsp + 0x28]
jmp 0x10018c1ee
mov rdi, qword [0x7ffe0008]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call fcn.10011b7d0
test eax, eax
je 0x10018c214
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x30]
jmp 0x10018c21c
mov r11, qword [0x7ffe0008]
mov rbx, qword [rsp + 0x40]
cmp rbx, qword [rsp + 0x50]
jne 0x10018c1c0
cmp rdi, r11
jne 0x10018c1c0
mov eax, 1
mov word [0x1004c6988], ax
call fcn.10011b7d0
test eax, eax
je 0x10018c250
call fcn.10011b7f0
mov qword [0x1004c6998], rax
jmp 0x10018c25b
mov qword [0x1004c6998], 0
lea rdx, [0x1004c6988]
lea rcx, [rsp + 0x60]
call fcn.100167ef0
mov rcx, rdi
call fcn.100167eb0
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.100167f50
sub rbx, rax
mov qword [0x1004c6990], rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.10005f420
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x100190a40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, rdx
mov r13, rcx
mov r15d, 1
cmp dword [rcx + 0x314], 0
jbe 0x100190c52
mov r8d, dword [rcx + 0x44]
shr r8d, 5
and r8d, r15d
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.10018e440
call fcn.100184a10
mov rcx, qword [r13 + 0x2a0]
mov eax, eax
mov rdx, qword [rcx + rax*8]
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x48], rdx
lock inc dword [rdx]
mov rbx, qword [rsp + 0x48]
call fcn.100064800
mov r11d, eax
xor eax, eax
lock cmpxchg dword [rbx + 0x28], r11d
mov edx, r12d
sete dl
test edx, edx
jne 0x100190ae7
mov edx, r11d
lea rcx, [rbx + 0x28]
call fcn.100189560
mov rcx, qword [rsp + 0x48]
add rcx, 0x18
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 8]
lea rdx, [rsp + 0x28]
mov qword [rax], rdx
lea rax, [rsp + 0x28]
mov qword [rcx + 8], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x28], r12d
lea rcx, [rsp + 0x28]
call fcn.100189c70
mov rdi, rax
test rax, rax
je 0x100190c48
mov rbx, qword [rsp + 0xc0]
mov rcx, rdi
call fcn.10019b030
test eax, eax
jne 0x100190c32
mov r14d, dword [0x1004c6914]
shr r14d, 2
and r14d, 1
je 0x100190b8e
call fcn.10011b7d0
test eax, eax
je 0x100190b86
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0xd0]
jmp 0x100190b8e
mov rbx, qword [0x7ffe0008]
mov rcx, rdi
call fcn.10019b070
test eax, eax
je 0x100190bca
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbp, rax
mov rcx, r13
call fcn.10018d730
mov rsi, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.WS2_32.dll_htonl]
mov rcx, rax
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rbp + 0x20]
jmp 0x100190bda
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, r13
call fcn.1001936e0
mov esi, eax
test r14d, r14d
je 0x100190c20
call fcn.10011b7d0
test eax, eax
je 0x100190c02
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0xd8]
jmp 0x100190c0a
mov rdx, qword [0x7ffe0008]
cmp rdx, rbx
jb 0x100190c14
sub rdx, rbx
jmp 0x100190c17
mov rdx, r12
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
test r15d, r15d
je 0x100190c2f
test esi, esi
mov r15d, 1
jne 0x100190c32
mov r15d, r12d
lea rcx, [rsp + 0x28]
call fcn.100189c70
mov rdi, rax
test rax, rax
jne 0x100190b44
lea rcx, [rsp + 0x28]
call fcn.100189d90
mov eax, r15d
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x100190ed0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15d, edx
mov rbx, rcx
xor r13d, r13d
mov ebp, r13d
mov r12d, 1
mov edx, r12d
lea rcx, [rax - 0x60]
call fcn.100057f20
nop
lea r14, [rbx + 0x318]
mov qword [rsp + 0x38], r14
mov rax, qword [0x1004c6918]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r13d
or r8d, 0xffffffff
mov edx, 0x400161
mov rcx, r14
call fcn.100104f80
mov esi, r13d
test eax, eax
cmove esi, r12d
mov dword [rsp + 0x48], esi
cmp qword [rbx + 0x28], r13
je 0x100191031
call fcn.10011b7d0
test eax, eax
je 0x100190f77
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rsp + 0xa0]
jmp 0x100190f88
mov rdi, qword [0x7ffe0008]
mov esi, dword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
mov edx, r15d
mov rcx, qword [rbx + 0x28]
call fcn.10018ef60
mov ebp, eax
call fcn.10011b7d0
test eax, eax
je 0x100190fb7
lea rcx, [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0xa8]
jmp 0x100190fc8
mov rbx, qword [0x7ffe0008]
mov esi, dword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
cmp rbx, rdi
jb 0x100190fdb
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x100190fde
or rdx, rbx
jmp 0x100191014
mov rbx, r13
call fcn.10011b7d0
test eax, eax
je 0x100191003
call fcn.10011b7f0
mov r11, rax
imul rbx, rbx, 0x3e8
xor edx, edx
mov rax, rbx
div r11
mov rdx, rax
jmp 0x100191014
movabs rax, 0x346dc5d63886594b
mul rbx
shr rdx, 0xb
cmp ebp, 0x80040001
je 0x100191026
cmp edx, r15d
ja 0x100191026
sub r15d, edx
jmp 0x100191029
mov r15d, r13d
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x100191045
mov edx, r15d
call fcn.10018ef60
mov r13d, eax
test ebp, ebp
cmove ebp, r13d
cmp ebp, 0x80040001
je 0x10019105c
neg ebp
sbb r12d, r12d
and r12d, 2
test esi, esi
je 0x100191070
mov rcx, r14
call fcn.100104f60
dec esi
mov dword [rsp + 0x48], esi
jne 0x100191060
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
not ecx
and dword [rdx + 0x220], ecx
mov eax, r12d
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1001929c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r15, r9
mov r12, r8
mov r13, rdx
mov rbx, rcx
mov r14d, 1
cmp dword [rcx + 0x310], 0
jbe 0x100192ba5
call fcn.100184a10
mov rcx, qword [rbx + 0x2a0]
mov eax, eax
mov r10, qword [rcx + rax*8]
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x58], r10
lock inc dword [r10]
mov rbx, qword [rsp + 0x58]
call fcn.100064800
mov r11d, eax
xor eax, eax
lock cmpxchg dword [rbx + 0x28], r11d
mov edx, edi
sete dl
test edx, edx
jne 0x100192a54
mov edx, r11d
lea rcx, [rbx + 0x28]
call fcn.100189560
mov rcx, qword [rsp + 0x58]
add rcx, 0x18
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
lea rdx, [rsp + 0x38]
mov qword [rax], rdx
lea rax, [rsp + 0x38]
mov qword [rcx + 8], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], edi
lea rcx, [rsp + 0x38]
call fcn.100189c70
mov rdi, rax
test rax, rax
je 0x100192b9b
mov rbx, qword [rsp + 0x90]
mov rcx, rdi
call fcn.10019b030
test eax, eax
je 0x100192b85
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test dword [r15], eax
jne 0x100192b85
mov ebp, dword [0x1004c6914]
shr ebp, 2
and ebp, 1
je 0x100192b02
call fcn.10011b7d0
test eax, eax
je 0x100192afa
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0x20]
jmp 0x100192b02
mov rbx, qword [0x7ffe0008]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rsi, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.WS2_32.dll_htonl]
mov rcx, rax
mov r9, qword [r13 + 0x30]
mov r8, r12
mov rdx, qword [r13 + 8]
call qword [rsi + 0x30]
mov esi, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
or dword [r15], eax
test ebp, ebp
je 0x100192b71
call fcn.10011b7d0
test eax, eax
je 0x100192b54
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x28]
jmp 0x100192b5c
mov rdx, qword [0x7ffe0008]
cmp rdx, rbx
jb 0x100192b66
sub rdx, rbx
jmp 0x100192b68
xor edx, edx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
test r14d, r14d
je 0x100192b82
test esi, esi
je 0x100192b82
mov r14d, 1
jmp 0x100192b85
xor r14d, r14d
lea rcx, [rsp + 0x38]
call fcn.100189c70
mov rdi, rax
test rax, rax
jne 0x100192ab0
lea rcx, [rsp + 0x38]
call fcn.100189d90
mov eax, r14d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x100198a50
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x38], rcx
xor edi, edi
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
lea r9d, [rdi + 0x2f]
lea r8, [0x100052360]
mov edx, 0x1e0
call qword [rax + 0x48]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x100198ac2
mov rcx, rax
call fcn.100199550
mov rbx, rax
jmp 0x100198ac5
mov rbx, rdi
mov rcx, rbx
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x100198c04
mov r14, rdi
mov rsi, qword [0x1004c6918]
call fcn.100058d10
mov r12, rax
call fcn.10006b640
mov dword [rsp + 0x50], 0x82
lea rcx, [0x100199390]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rbx
add rax, 0x230
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
mov qword [rsp + 0x70], rdi
call fcn.100068a00
mov r15, rax
mov rax, qword gs:[0x30]
lea rbp, [rax + r15]
mov rcx, r15
call fcn.10006c530
test eax, eax
jne 0x100198b4c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rbp, rbp
je 0x100198b7d
cmp qword [rbp + 0xe8], rbp
jne 0x100198b7d
call fcn.1001672c0
test eax, eax
je 0x100198b7d
call qword [0x1002aaa48]
test eax, eax
je 0x100198b7d
lea rcx, [rsp + 0x80]
call qword [0x1002aab88]
jmp 0x100198b99
movups xmm0, xmmword [0x1000521a8]
movaps xmmword [rsp + 0x80], xmm0
mov eax, dword [0x1000521b8]
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x38]
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.1000d0c40
test eax, eax
jne 0x100198bcf
mov r14, qword [rsp + 0x38]
call fcn.10006bca0
test eax, eax
je 0x100198bda
lock inc dword [rsi + 0x6c]
lock inc dword [rsi + 0x70]
jmp 0x100198bda
mov ecx, eax
call fcn.1000e8a00
test eax, eax
jne 0x100198bff
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x100198beb
call fcn.1000eb450
mov qword [rbx + 0x1d0], r14
mov rcx, rdi
mov qword [rsp + 0x30], rcx
mov rdi, rbx
jmp 0x100198c04
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100198c13
mov edx, 1
call fcn.100189820
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.10005f420
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x100198f60
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rcx
mov dword [rax - 0x58], 0
movabs r14, 0x346dc5d63886594b
nop
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.1001990f0
mov rbx, qword [rsp + 0x88]
cmp rbx, 0xffffffffffffffff
jne 0x100198fb3
or edx, 0xffffffff
jmp 0x100198ff2
call fcn.10011b7d0
test eax, eax
je 0x100198fe0
call fcn.10011b7f0
mov r11, rax
imul rbx, rbx, 0x3e8
xor edx, edx
mov rax, rbx
div r11
mov rdx, rax
mov qword [rsp + 0x90], rax
jmp 0x100198ff2
mov rax, r14
mul rbx
shr rdx, 0xb
mov qword [rsp + 0x90], rdx
lea rcx, [rdi + 0xf8]
mov r8d, edx
mov edx, 0x40015d
call fcn.1001050e0
cmp eax, 0x80040001
je 0x100199029
cmp eax, 0x80040002
je 0x100199024
test eax, eax
jne 0x100199032
mov eax, dword [rdi + 0x1d8]
test eax, eax
je 0x100199032
jmp 0x100199024
jmp 0x1001990d0
mov rcx, rdi
call fcn.100199260
nop
jmp 0x100199046
call fcn.100068a00
mov rsi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100199071
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100199082
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1001990b9
call fcn.100063d30
call fcn.100068a00
mov rsi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1001990b2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100198f90
call fcn.1000618f0
jmp 0x100198f90
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x1001993e0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rbx, rcx
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.100057f20
nop
mov edx, 0x20000181
mov r8d, 1
lea rcx, [rsp + 0x40]
call fcn.1000580b0
nop
mov dword [rsp + 0xa0], 0
mov edx, 1
lea rcx, [rsp + 0xa0]
call fcn.1001846a0
nop
mov rcx, rbx
call fcn.100198f60
nop
call fcn.100068a00
mov rdi, rax
mov rcx, qword gs:[0x30]
lea rbx, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100199476
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100199487
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x1001994bf
call fcn.100063d30
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rdi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1001994b8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rcx, qword [rdi + 0xd8]
mov eax, dword [rsp + 0xa0]
or dword [rcx + 0x220], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x40], 0
je 0x10019950f
cmp dword [rsp + 0x44], 0
je 0x1001994f8
mov rax, qword [rsp + 0x48]
or dword [rax + 0x2d8], 0x800
jmp 0x10019950f
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov r8d, 1
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x58]
call fcn.100057e00
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
not eax
and dword [rcx + 0x220], eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x1001a1900
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x998
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x988], rax
lea rcx, [rsp + 0xd0]
lea rdx, [0x100053200]
mov r8d, 0x98
call sub.MSVCR100.dll_memcpy
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ebx, word [rsp + 0xcc]
movzx edi, word [rsp + 0xca]
movzx esi, word [rsp + 0xc8]
movzx r14d, word [rsp + 0xc0]
movzx r15d, word [rsp + 0xc6]
movzx r12d, word [rsp + 0xc2]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0xd0]
mov edx, 0x200
lea rcx, [rsp + 0x170]
call fcn.10006c5f0
test eax, eax
js 0x1001a1ab2
lea r9, [rsp + 0x9d8]
mov r8, qword [rsp + 0x9d0]
mov edx, 0x200
lea rcx, [rsp + 0x570]
call fcn.1001a1800
test eax, eax
js 0x1001a1ab2
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x570]
lea rdx, [rsp + 0x170]
lea rcx, [0x100053298]
call fcn.1001533b0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1001a1a5b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001a1a6c
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1001a1aa3
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1001a1a9c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x1001a1ab2
call fcn.1000618f0
nop
mov rcx, qword [rsp + 0x988]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x998
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1001a2de0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0x11
mov dword [rsp + 0x34], 0
cmp qword [rbp + 0x20], 0
jne 0x1001a2e2f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1001a2eed
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x10]
call fcn.1001a3640
test eax, eax
jne 0x1001a2e99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 2
jne 0x1001a2e8b
mov rcx, qword [rbp + 0x10]
call fcn.1001a40b0
test eax, eax
je 0x1001a2e8b
mov dword [rsp + 0x30], 0x11
mov r8, qword [rbp + 0x10]
mov edx, 0x22
lea rcx, [rsp + 0x38]
call fcn.1001a3cd0
jmp 0x1001a2e99
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1001a2eed
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCR100.dll_wcslen]
inc rax
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x20]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
ja 0x1001a2ed6
mov rax, qword [rbp + 0x20]
mov eax, dword [rax]
lea r8, [rsp + 0x38]
mov edx, eax
mov rcx, qword [rbp + 0x18]
call fcn.1001a3c60
mov eax, 1
jmp 0x1001a2eed
mov rax, qword [rbp + 0x20]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov ecx, 0x7a
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x70
pop rbp
ret
Function at 0x1001a4570
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x40
cmp dword [0x1004c6af0], 0
mov r15d, r8d
mov rbx, rdx
je 0x1001a4596
mov eax, 1
add rsp, 0x40
pop r15
pop rsi
pop rbx
ret
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x30], r14
call fcn.1001a41e0
or rdi, 0xffffffffffffffff
test rdx, rdx
je 0x1001a45c2
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1001a45b6
jmp 0x1001a45c7
mov eax, 3
lea r14d, [rax + 1]
mov r8d, 0x104
lea r12, [0x1004c6b10]
sub r8d, r14d
mov rdx, r12
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r11d, eax
test eax, eax
je 0x1001a477f
lea rcx, [r12 - 2]
lea rcx, [rcx + r11*2]
call fcn.1001a41e0
xor r13d, r13d
mov edx, r13d
mov r8d, r13d
cmp rcx, r12
jbe 0x1001a4638
test r8, r8
jne 0x1001a4625
cmp word [rcx], 0x2e
jne 0x1001a462d
mov r8, rcx
jmp 0x1001a462d
cmp word [rcx], 0x5c
cmove rdx, rcx
sub rcx, 2
test rdx, rdx
je 0x1001a4610
jmp 0x1001a4641
test rdx, rdx
je 0x1001a477f
lea rcx, [rdx + 2]
lea rbp, [r8 + 2]
mov esi, 1
test rbx, rbx
je 0x1001a4661
lea r8d, [r14 + r14]
mov rdx, rbx
call sub.MSVCR100.dll_memcpy
jmp 0x1001a46b6
mov r9d, dword [reloc.WS2_32.dll_inet_addr]
mov r8, qword [0x100245fc0]
mov rax, rcx
sub rax, r12
mov edx, esi
sar rax, 1
sub r11d, eax
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rcx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_CompareStringW]
lea r8d, [r14 + r14]
lea rdx, [0x100053ce8]
cmp eax, 2
mov ebx, r13d
mov rcx, rbp
cmove ebx, esi
call sub.MSVCR100.dll_memcpy
test ebx, ebx
jne 0x1001a477f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001a477f
lea rbx, [0x1004c6f30]
mov rdx, r12
mov r8d, 0x208
mov rcx, rbx
call sub.MSVCR100.dll_memcpy
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r13w
jne 0x1001a46e3
dec rax
cmp word [rbx + rax*2], 0x5c
lea rax, [rbx + rax*2]
je 0x1001a470f
nop dword [rax + rax]
cmp rax, rbx
jbe 0x1001a470f
sub rax, 2
cmp word [rax], 0x5c
jne 0x1001a4700
mov word [rax], r13w
sub rax, rbx
mov rcx, rbx
sar rax, 1
inc eax
mov dword [0x1004c6af4], eax
call fcn.1001a41e0
lea rbx, [0x1004c6d20]
mov rcx, rbx
mov rdx, r12
mov r8d, 0x208
call sub.MSVCR100.dll_memcpy
inc rdi
cmp word [rbx + rdi*2], r13w
jne 0x1001a4741
mov eax, edi
mov rcx, rbx
lea rdx, [rbx + rax*2]
mov rax, qword [0x100053bf8]
mov qword [rdx], rax
movzx eax, word [0x100053c00]
mov word [rdx + 8], ax
call fcn.1001a41e0
mov dword [0x1004c6b00], r15d
mov dword [0x1004c6af0], esi
mov eax, esi
jmp 0x1001a4781
xor eax, eax
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov r14, qword [rsp + 0x30]
add rsp, 0x40
pop r15
pop rsi
pop rbx
ret
Function at 0x1001a49c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov r15d, 0x80
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x1001a49e5
lea esi, [rbx + 0x80]
mov edi, esi
add rdi, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x1001a4ad6
mov qword [rsp + 0x50], r12
lea r12, [0x100053be8]
nop word [rax + rax]
mov r9d, ebx
mov r8, r14
mov edx, 1
mov ecx, 0x400
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x1001a4a77
mov edi, dword [0x1004c6af4]
cmp edi, esi
ja 0x1001a4a8a
lea r8d, [rdi + rdi]
lea rdx, [0x1004c6f30]
mov rcx, rbp
call sub.MSVCR100.dll_memcpy
jmp 0x1001a4a88
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, esi
jle 0x1001a4ace
add r15d, r15d
lea esi, [rbx + r15]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, esi
add rdi, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x1001a4a30
jmp 0x1001a4ad1
mov rax, rbp
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret