Function at 0x140037c70
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, qword [rsp + 0xc0]
xor ebp, ebp
mov r13d, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
test r12, r12
je 0x140037cad
mov dword [r12], ebp
test r15, r15
je 0x140038261
test r14, r14
je 0x140038261
mov dword [r9], r13d
lea rdx, [r13*4]
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x60], rdi
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rcx + rdx]
mov qword [r9 + 8], rax
movzx ecx, byte [r8 + 5]
movzx eax, byte [r8 + 4]
shl cx, 8
or cx, ax
mov word [r9 + 0x10], cx
movzx ecx, byte [r8 + 7]
movzx eax, byte [r8 + 6]
shl cx, 8
or cx, ax
mov word [r9 + 0x12], cx
movzx ecx, byte [r8 + 9]
movzx eax, byte [r8 + 8]
shl cx, 8
or cx, ax
mov word [r9 + 0x14], cx
movzx ecx, byte [r8 + 0xb]
movzx eax, byte [r8 + 0xa]
shl cx, 8
or cx, ax
mov word [r9 + 0x16], cx
movzx ecx, byte [r8 + 0xf]
movzx eax, byte [r8 + 0xe]
movzx edx, byte [r8 + 0xd]
shl ecx, 8
or ecx, eax
shl edx, 8
movzx eax, byte [r8 + 0xc]
or edx, eax
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [rsp + 0x3c], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [rsp + 0x34], ecx
dec eax
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, edx
shr eax, 0xb
mov dword [rsp + 0x30], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], edx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov qword [r14 + 0x450], rax
movzx eax, byte [r15 + 0x12]
movzx ecx, byte [r15 + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [r15 + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [r15 + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r14 + 0x18], ecx
movzx eax, byte [r15 + 0x16]
movzx ecx, byte [r15 + 0x17]
shl rcx, 8
or rcx, rax
movzx eax, byte [r15 + 0x15]
shl rcx, 8
or rcx, rax
movzx eax, byte [r15 + 0x14]
lea rdx, [r15 + 0x2e]
shl rcx, 8
mov edi, 0x1ff
or rcx, rax
mov qword [r14 + 0x20], rcx
movzx eax, byte [r15 + 0x1a]
movzx ecx, byte [r15 + 0x1b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r15 + 0x19]
shl rcx, 8
or rcx, rax
movzx eax, byte [r15 + 0x18]
shl rcx, 8
or rcx, rax
mov qword [r14 + 0x28], rcx
movzx ecx, byte [r15 + 0x25]
movzx eax, byte [r15 + 0x24]
shl cx, 8
or cx, ax
mov word [r14 + 0x30], cx
movzx eax, byte [r15 + 0x28]
movzx ecx, byte [r15 + 0x29]
shl ecx, 8
or ecx, eax
movzx eax, byte [r15 + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [r15 + 0x26]
shl ecx, 8
or ecx, eax
mov dword [r14 + 0x34], ecx
movzx eax, byte [r15 + 0x2c]
movzx ecx, byte [r15 + 0x2d]
shl rcx, 8
or rcx, rax
movzx eax, byte [r15 + 0x2b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r15 + 0x2a]
shl rcx, 8
or rcx, rax
mov qword [r14 + 0x38], rcx
movzx ecx, byte [r15 + 0x1d]
movzx eax, byte [r15 + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, edi
cmp ecx, edi
cmovb eax, ecx
lea rcx, [r14 + 0x50]
mov r8d, eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14 + 0x50], bpl
movzx ecx, byte [r15 + 0x21]
movzx eax, byte [r15 + 0x20]
shl ecx, 8
or ecx, eax
cmp ecx, edi
cmovb edi, ecx
mov dword [r14 + 0x40], edi
movzx eax, byte [r15 + 0x1e]
movzx edx, byte [r15 + 0x1f]
movzx ecx, byte [r15 + 0x1d]
shl rdx, 8
or rdx, rax
shl rcx, 8
movzx eax, byte [r15 + 0x1c]
add rdx, r15
or rcx, rax
mov r8d, edi
add rcx, 0x2e
add rdx, rcx
lea rcx, [r14 + 0x250]
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0xa8]
lea rdx, [rsi + 0x10]
mov byte [rdi + r14 + 0x250], bpl
mov rdi, qword [rsp + 0x60]
cmp qword [rsi + 0x68], rbp
je 0x140037f9a
cmp r13d, dword [rdx]
jae 0x140037f9a
lfence
mov rcx, qword [rsi + 0x68]
mov r9, qword [rsp + 0x20]
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax + r9]
add r8, qword [rcx]
je 0x140037f9f
movzx ecx, byte [r8 + 0x1d]
movzx eax, byte [r8 + 0x1c]
shl ecx, 8
or ecx, eax
je 0x140037f8c
cmp byte [rcx + r8 + 0x2d], 0x2f
jne 0x140037f8c
mov eax, 1
jmp 0x140037fa8
test byte [r8 + 0x26], 0x10
je 0x140037fa6
mov eax, 1
jmp 0x140037fa8
mov r9, qword [rsp + 0x20]
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x44], eax
cmp qword [rsi + 0x68], rbp
je 0x140037fd7
cmp r13d, dword [rdx]
jae 0x140037fd7
lfence
mov rcx, qword [rsi + 0x68]
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax + r9]
add r8, qword [rcx]
je 0x140037fd7
test byte [r8 + 8], 0x41
mov eax, ebp
setne al
jmp 0x140037fe0
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x48], eax
cmp qword [rsi + 0x68], rbp
je 0x140038046
cmp r13d, dword [rdx]
jae 0x140038046
lfence
mov rcx, qword [rsi + 0x68]
mov rax, qword [rcx + 0x20]
mov edx, dword [rax + r9]
add rdx, qword [rcx]
je 0x140038046
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
test ecx, 0xfffffff7
je 0x140038025
mov dword [rsi + 0x1c], 4
jmp 0x14003804d
test al, 0x41
je 0x140038032
mov dword [rsi + 0x1c], 5
jmp 0x14003804d
test al, 0x20
je 0x14003803f
mov dword [rsi + 0x1c], 6
jmp 0x14003804d
mov ebp, 1
jmp 0x14003804d
mov dword [rsi + 0x1c], 0x18
mov rcx, qword [r14 + 0x20]
mov r11d, 0xffffffff
cmp rcx, qword [r14 + 0x28]
mov rax, qword [r14 + 0x38]
cmovbe rcx, qword [r14 + 0x28]
cmp rcx, rax
mov dword [r14 + 0x4c], ebp
cmova rax, rcx
cmp rax, r11
jne 0x14003825a
movzx r9d, byte [r15 + 0x1f]
movzx eax, byte [r15 + 0x1e]
shl r9d, 8
or r9d, eax
je 0x14003825a
movzx r8d, byte [r15 + 0x1d]
movzx eax, byte [r15 + 0x1c]
shl r8, 8
or r8, rax
add r8, 0x2e
add r8, r15
cmp r9d, 4
jb 0x140038112
movzx eax, byte [r8 + 3]
movzx ecx, byte [r8 + 2]
shl eax, 8
or eax, ecx
mov ecx, r9d
mov r10d, eax
lea rdx, [rax + 4]
cmp rdx, rcx
ja 0x140038112
movzx edx, byte [r8 + 1]
movzx ecx, byte [r8]
add r8, 4
shl edx, 8
or edx, ecx
cmp edx, 1
je 0x1400380fa
mov ecx, 0xfffffffc
add r8, r10
sub ecx, eax
add r9d, ecx
jne 0x1400380a7
lea eax, [r9 + 1]
jmp 0x14003826f
test r12, r12
je 0x140038107
mov dword [r12], 1
cmp qword [r14 + 0x28], r11
jne 0x140038181
cmp eax, 8
jae 0x14003811e
mov dword [rsi + 0x1c], 9
jmp 0x14003826d
movzx ecx, byte [r8 + 6]
movzx edx, byte [r8 + 7]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 5]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 4]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 3]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 2]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 1]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8]
shl rdx, 8
add r8, 8
or rdx, rcx
mov qword [r14 + 0x28], rdx
add eax, 0xfffffff8
cmp qword [r14 + 0x20], r11
jne 0x1400381ef
cmp eax, 8
jb 0x140038112
movzx ecx, byte [r8 + 6]
movzx edx, byte [r8 + 7]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 5]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 4]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 3]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 2]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8 + 1]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [r8]
shl rdx, 8
add r8, 8
or rdx, rcx
mov qword [r14 + 0x20], rdx
add eax, 0xfffffff8
cmp qword [r14 + 0x38], r11
jne 0x14003825a
cmp eax, 8
jb 0x140038112
movzx eax, byte [r8 + 6]
movzx ecx, byte [r8 + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8]
shl rcx, 8
or rcx, rax
mov qword [r14 + 0x38], rcx
mov eax, 1
jmp 0x14003826f
test rsi, rsi
je 0x14003826d
mov dword [rcx + 0x1c], 0x18
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140160900
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret