Function at 0x140001e20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4f0
mov rsi, r8
mov r12, rdx
mov r14, rcx
test rcx, rcx
je 0x140002340
mov edx, 0xf625556a
mov rcx, r8
call fcn.140001bc0
mov rdi, rax
test rax, rax
jne 0x140001e6c
lea rax, [rdi - 1]
jmp 0x140002342
mov rax, qword [r14 + 0x10]
xor ecx, ecx
mov r8d, 0x3000
mov edx, dword [rax + 0x50]
lea r9d, [rcx + 4]
call rdi
mov rbx, rax
test rax, rax
je 0x140002340
mov rcx, qword [r14 + 0x10]
xor ebp, ebp
mov r9d, ebp
cmp bp, word [rcx + 6]
jae 0x140001ef8
mov r10d, ebp
nop
mov rax, qword [r14 + 0x18]
mov edx, ebp
mov edi, dword [r10 + rax + 0x14]
mov ecx, dword [r10 + rax + 0xc]
add rdi, qword [r14]
add rcx, rbx
mov r8d, dword [r10 + rax + 0x10]
test r8, r8
je 0x140001ee4
sub rdi, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc edx
mov byte [rcx], al
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r8
jb 0x140001ed0
mov rax, qword [r14 + 0x10]
inc r9d
add r10, 0x28
movzx ecx, word [rax + 6]
cmp r9d, ecx
jl 0x140001ea0
mov rcx, qword [r14 + 0x20]
mov r8, rsi
mov rdx, rbx
call fcn.140001950
test eax, eax
je 0x140002340
mov rax, qword [r14 + 0x28]
mov r10, rbx
mov edi, dword [rax]
mov rax, qword [r14 + 0x10]
add rdi, rbx
sub r10, qword [rax + 0x30]
cmp dword [rdi], ebp
je 0x140001fe9
nop dword [rax + rax]
mov eax, dword [rdi + 4]
lea r9, [rdi + 8]
add rax, rdi
cmp r9, rax
je 0x140001fdd
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [r9]
mov eax, r8d
movzx edx, r8w
shr eax, 0xc
test eax, eax
je 0x140001fca
sub eax, 1
je 0x140001fb2
sub eax, 1
je 0x140001f9f
sub eax, 1
je 0x140001f8d
cmp eax, 7
jne 0x140002340
mov ecx, dword [rdi]
and r8d, 0xfff
lea rax, [rbx + r8]
add qword [rcx + rax], r10
jmp 0x140001fca
mov ecx, dword [rdi]
and edx, 0xfff
lea rax, [rbx + rdx]
add dword [rcx + rax], r10d
jmp 0x140001fca
mov ecx, dword [rdi]
and edx, 0xfff
lea rax, [rbx + rdx]
add word [rcx + rax], r10w
jmp 0x140001fca
mov ecx, dword [rdi]
and edx, 0xfff
add rdx, rbx
mov rax, r10
add rdx, rcx
shr rax, 0x10
add word [rdx], ax
mov eax, dword [rdi + 4]
add r9, 2
add rax, rdi
cmp r9, rax
jne 0x140001f50
mov rdi, r9
cmp dword [r9], ebp
jne 0x140001f30
mov r13, qword [r14 + 0x10]
mov esi, ebp
mov rdx, qword [r14 + 0x18]
mov qword [rsp + 0x548], rdx
cmp bp, word [r13 + 6]
jae 0x14000210a
mov r8d, 2
lea r9d, [r8 + 0xe]
lea r10d, [r8 + 0x7e]
lea r11d, [r8 + 0x1e]
nop dword [rax + rax]
mov eax, esi
mov dword [rsp + 0x530], ebp
lea rcx, [rax + rax*4]
cmp dword [rdx + rcx*8 + 0x10], ebp
lea rdi, [rdx + rcx*8]
je 0x1400020fb
cmp dword [rdi + 0xc], ebp
je 0x1400020fb
mov ecx, dword [rdi + 0x24]
mov edx, 0xb40194f8
mov r15d, ecx
mov eax, ecx
sar r15d, 0x1f
and r15d, 8
bt ecx, 0x1e
cmovb r15d, r8d
and eax, 0xc0000000
cmp eax, 0xc0000000
mov eax, 4
cmove r15d, eax
bt ecx, 0x1d
mov eax, ecx
cmovb r15d, r9d
and eax, 0xa0000000
cmp eax, 0xa0000000
mov eax, ecx
cmove r15d, r10d
and eax, 0x60000000
cmp eax, 0x60000000
mov eax, 0x40
cmove r15d, r11d
and ecx, 0xe0000000
cmp ecx, 0xe0000000
mov rcx, qword [rsp + 0x540]
cmove r15d, eax
call fcn.140001bc0
test rax, rax
je 0x14000210a
mov ecx, dword [rdi + 0xc]
lea r9, [rsp + 0x530]
mov edx, dword [rdi + 0x10]
add rcx, rbx
mov r8d, r15d
call rax
test eax, eax
je 0x140002340
mov rdx, qword [rsp + 0x548]
mov r8d, 2
lea r9d, [r8 + 0xe]
lea r10d, [r8 + 0x7e]
lea r11d, [r8 + 0x1e]
movzx eax, word [r13 + 6]
inc esi
cmp esi, eax
jb 0x140002020
mov rax, qword gs:[0x60]
mov r15, qword [rax + 0x20]
xor eax, eax
movzx ecx, word [r15 + 0x70]
mov rdi, qword [r15 + 0x78]
add rcx, rcx
rep stosb byte [rdi], al
test r12, r12
je 0x14000226d
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop word [rax + rax]
cmp byte [r12 + rdi + 1], al
lea rdi, [rdi + 1]
jne 0x140002140
lea rdi, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x1400022a3
mov rdx, rax
mov rcx, rsi
nop dword [rax]
cmp byte [r12 + rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140002180
lea ecx, [rcx*2 + 1]
test ecx, ecx
js 0x1400021bb
nop word [rax + rax]
movsx eax, byte [r12]
lea r12, [r12 + 1]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
je 0x1400021bb
sub ecx, 1
jns 0x1400021a0
mov rdi, rsi
nop
inc rdi
cmp word [r13 + rdi*2], bp
jne 0x1400021c0
movzx eax, word [r15 + 0x60]
add rdi, rax
lea rdi, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400022a3
mov r8, qword [r15 + 0x68]
lea rdx, [0x1400032a0]
mov r9, r13
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [r15 + 0x78]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [r15 + 0x78]
inc rsi
cmp word [rcx + rsi*2], bp
jne 0x140002226
inc si
add si, si
mov word [r15 + 0x70], si
add si, 2
mov word [r15 + 0x72], si
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400022a3
mov rdx, qword [r15 + 0x68]
mov rcx, qword [r15 + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [r15 + 0x78]
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], bp
jne 0x140002286
inc si
add si, si
mov word [r15 + 0x70], si
add si, 2
mov word [r15 + 0x72], si
mov rdi, qword [r14 + 0x38]
mov eax, dword [rdi + 4]
test eax, eax
je 0x1400022cf
mov ecx, eax
mov r8, rbx
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov ecx, dword [rdi]
shr rdx, 3
add rcx, rbx
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov rax, qword [r14 + 0x30]
cmp dword [rax + 4], ebp
je 0x14000231d
mov eax, dword [rax]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x4d0
mov rdi, qword [rax + rbx + 0x18]
call fcn.1400027b0
mov rax, qword [rdi]
test rax, rax
je 0x14000231d
nop dword [rax]
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call rax
mov rax, qword [rdi + rbp*8 + 8]
lea rbp, [rbp + 1]
test rax, rax
jne 0x140002300
mov rax, qword [r14 + 0x10]
mov eax, dword [rax + 0x28]
add rax, rbx
cmp dword [r14 + 0x48], 0
je 0x14000233c
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call rax
jmp 0x140002342
call rax
jmp 0x140002342
xor eax, eax
mov rbx, qword [rsp + 0x538]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret