Function at 0x180006240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r12d, r13d
xor esi, esi
mov edi, dword [r14 + r12*4]
add rdi, rbp
mov rcx, rdi
mov ecx, edi
call fcn.180006639
xor r11d, r11d
test eax, eax
jbe 0x180006257
cdqe
xor r8d, r8d
movzx r10d, byte [r11 + rdi]
xor r9d, r9d
test r15d, r15d
jbe 0x18000624b
inc r9d
add r8d, esi
cmp r9d, r15d
jb fcn.180006240
inc r11
lea esi, [r8 + r10]
cmp r11, rax
jb 0x180006230
cmp esi, dword [rsp + 0x40]
jne 0x180006274
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movzx edi, word [rax + r12*2]
mov eax, dword [rsi + rdi*4]
add rax, rbp
jmp 0x180006280
inc r13d
cmp r13d, dword [rsp + 0x50]
jb 0x180006213
xor eax, eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call rax
mov dword [rsp + 0x68], eax
lea r14, [0x180144978]
movsxd r13, dword [rbp + 0x3c]
add r13, rbp
mov eax, dword [r14 + 0x18]
mov r15d, dword [r14 + 4]
mov dword [rsp + 0x40], r15d
mov r8d, dword [r13 + rax*8 + 0x88]
xor r13d, r13d
mov r15d, dword [r14 + 0x34]
mov r9d, dword [r8 + rbp + 0x18]
mov r14d, dword [r8 + rbp + 0x20]
mov esi, dword [r8 + rbp + 0x1c]
add r14, rbp
mov edi, dword [r8 + rbp + 0x24]
add rsi, rbp
add rdi, rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x50], r9d
and al, 0x50
test r9d, r9d
jbe 0x180006353
mov r12d, r13d
xor esi, esi
mov edi, dword [r14 + r12*4]
add rdi, rbp
mov rcx, rdi
call fcn.180006639
xor r11d, r11d
test eax, eax
jbe 0x18000632c
cdqe
xor r8d, r8d
movzx r10d, byte [r11 + rdi]
xor r9d, r9d
test r15d, r15d
jbe 0x180006320
inc r9d
add r8d, esi
cmp r9d, r15d
jb 0x180006315
inc r11
lea esi, [r8 + r10]
cmp r11, rax
jb 0x180006305
cmp esi, dword [rsp + 0x40]
jne 0x180006349
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
movzx edi, word [rax + r12*2]
mov esi, dword [rsi + rdi*4]
add rsi, rbp
jmp 0x180006355
inc r13d
cmp r13d, dword [rsp + 0x50]
jb 0x1800062e8
xor esi, esi
mov rax, rsp
mov rdx, rbx
mov dword [rsp + 0x44], 0
lea r9, [rsp + 0x44]
mov qword [rax + 0x20], 0
mov rcx, qword [r9 + 4]
mov r8d, dword [r9 + 0x24]
call rsi
lea rax, [0x180144978]
xor edx, edx
mov esi, dword [rsp + 0x44]
add rsi, rbx
mov r8d, dword [rax + 8]
lea rdi, [rbx + r8]
mov qword [rsp + 0x70], rdi
mov r9d, dword [rdi]
lea rax, [rdi + 8]
mov edi, dword [rdi + 4]
test r9d, r9d
jbe 0x1800063b3
inc edx
add dword [rax], edi
add rax, 4
cmp edx, r9d
sal dword [rdx - 0xd], 1
lea r13, [0x180144978]
movsxd rax, dword [rbp + 0x3c]
add rax, rbp
mov r15d, dword [r13 + 0xc]
mov edx, dword [r13 + 0x18]
mov r14d, dword [r13 + 0x20]
mov qword [rsp + 0x78], r15
mov edi, dword [rax + rdx*8 + 0x88]
mov r15d, dword [r13 + 0x34]
xor r13d, r13d
mov dword [rsp + 0x48], r14d
mov r8d, dword [rdi + rbp + 0x18]
mov r14d, dword [rdi + rbp + 0x20]
mov ecx, dword [rdi + rbp + 0x1c]
add r14, rbp
mov ebx, dword [rdi + rbp + 0x24]
add rcx, rbp
add rbx, rbp
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], r8d
test r8d, r8d
jbe 0x180006482
mov r12d, r13d
xor ebx, ebx
mov edi, dword [r14 + r12*4]
add rdi, rbp
mov rcx, rdi
call fcn.180006639
xor r10d, r10d
test eax, eax
jbe 0x180006456
cdqe
xor edx, edx
movzx r9d, byte [r10 + rdi]
xor r8d, r8d
test r15d, r15d
jbe 0x18000644a
inc r8d
add edx, ebx
cmp r8d, r15d
jb 0x180006440
inc r10
lea ebx, [rdx + r9]
cmp r10, rax
jb 0x180006431
cmp ebx, dword [rsp + 0x48]
jne 0x180006478
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
movzx ecx, word [rax + r12*2]
mov ebx, dword [rdx + rcx*4]
add rbx, rbp
mov qword [rsp + 0x48], rbx
jmp 0x18000648b
inc r13d
cmp r13d, dword [rsp + 0x50]
jb 0x180006414
mov qword [rsp + 0x48], 0
lea r14, [0x180144978]
movsxd r13, dword [rbp + 0x3c]
add r13, rbp
mov eax, dword [r14 + 0x18]
mov r15d, dword [r14 + 0x30]
mov dword [rsp + 0x50], r15d
mov ebx, dword [r13 + rax*8 + 0x88]
xor r13d, r13d
mov r15d, dword [r14 + 0x34]
mov edi, dword [rbx + rbp + 0x18]
mov r14d, dword [rbx + rbp + 0x20]
mov edx, dword [rbx + rbp + 0x1c]
add r14, rbp
mov ecx, dword [rbx + rbp + 0x24]
add rdx, rbp
add rcx, rbp
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x58], edi
test edi, edi
jbe 0x18000654a
mov r12d, r13d
xor ebx, ebx
mov edi, dword [r14 + r12*4]
add rdi, rbp
mov rcx, rdi
call fcn.180006639
xor r10d, r10d
test eax, eax
jbe 0x180006523
cdqe
xor edx, edx
movzx r9d, byte [r10 + rdi]
xor r8d, r8d
test r15d, r15d
jbe 0x180006517
inc r8d
add edx, ebx
cmp r8d, r15d
jb 0x18000650d
inc r10
lea ebx, [rdx + r9]
cmp r10, rax
jb 0x1800064fe
cmp ebx, dword [rsp + 0x50]
jne 0x180006540
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
movzx ecx, word [rax + r12*2]
mov ebx, dword [rdx + rcx*4]
add rbp, rbx
jmp 0x18000654c
inc r13d
cmp r13d, dword [rsp + 0x58]
jb 0x1800064e1
xor ebp, ebp
mov rbx, qword [rsp + 0x70]
lea rdx, [0x180144978]
mov rax, qword [rsp + 0x78]
mov ecx, dword [rdx + 0x48]
lea rbx, [rbx + rax + 0x1e]
add rcx, rbx
call qword [rsp + 0x48]
movsx rdi, byte [rbx]
add rbx, rdi
lea r10, [0x180144978]
lea r9, [rsp + 0x40]
mov r13d, dword [rbx + 4]
mov edi, dword [rbx + 8]
mov rdx, rdi
mov r12d, dword [r10 + 0x2c]
add r12, rbx
movsxd rbx, dword [rax + 0x3c]
mov r8d, dword [r10 + 0x60]
mov ebx, dword [rbx + rax + 0x2c]
add rbx, rax
mov rcx, rbx
mov dword [r9], 0
call rbp
mov rcx, rbx
mov rdx, r12
mov r8d, edi
call fcn.18000669d
mov rcx, rbx
mov rdx, rdi
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
call rbp
lea rax, [0x180144978]
xor r10d, r10d
mov rbp, qword [rax + 0x4c]
cmp byte [rbp], 0
je 0x180006602
lea r8, [0x180144978]
mov rax, qword [r8 + 0x4c]
movsx ebp, byte [rax + r10]
mov word [rsi + r10*2], bp
inc r10
mov r9, qword [r8 + 0x4c]
cmp byte [r9 + r10], 0
jne 0x1800065df
add r13, rbx
lea rcx, [rsp + 0x48]
xor eax, eax
add r12, rdi
mov word [rsi + r10*2], ax
mov qword [rcx + 8], rsi
mov qword [rcx], r12
mov byte [rcx + 0x10], 1
call r13
add rsp, 0x88
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret