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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x68], rsi
mov rsi, rcx
mov rcx, qword [rax + 0x58]
mov qword [rsp + 0x60], rdi
test rcx, rcx
je 0x180081a7a
call qword [0x1801756d8]
mov rcx, qword [rsi + 0x28]
call fcn.1800741c0
mov r11, qword [rsi]
test r11, r11
je 0x180081a9a
mov rcx, qword [r11 + 0x58]
test rcx, rcx
je 0x180081a9a
call qword [0x1801756d8]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x180081aaf
cmp ebx, 5
je 0x180081aaf
cmp ebx, 6
jne 0x1800825a8
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x88], rbp
mov rbp, qword [rsi + 8]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov r13, qword [rax]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x48], r14
mov rdx, qword [rax]
xor r14d, r14d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x98], r14d
mov qword [rsp + 0x28], rdx
lea r12d, [r14 + 8]
cmp qword [rsi], r14
je 0x180081b12
mov rax, qword [rcx + 8]
cmp byte [rax + 0x2e], 2
jne 0x180081b12
lea ebx, [r14 + 5]
jmp 0x180081f77
mov ebx, r14d
cmp dword [rsi + 0x14], ebx
jne 0x180081db1
mov rdi, qword [rbp + 8]
mov rcx, rbp
call fcn.1800741c0
cmp byte [rbp + 0x10], 2
je 0x180081d53
cmp byte [rdi + 0x20], bl
je 0x180081b41
mov ebx, r12d
jmp 0x180081d67
cmp byte [rdi + 0x2e], 2
je 0x180081b8f
cmp byte [rdi + 0x81], bl
jne 0x180081b8f
mov rax, qword [rdi + 0x70]
test rax, rax
je 0x180081b66
cmp qword [rax], rbp
jne 0x180081b87
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180081b58
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x180081bca
cmp qword [rax + 0x78], rbp
je 0x180081ba5
cmp byte [rax + 0x80], bl
je 0x180081ba5
mov ebx, 0x106
jmp 0x180081d67
mov rax, qword [rax]
mov rcx, qword [rax]
jmp 0x180081b96
mov rax, qword [rdi + 0x78]
mov rcx, qword [rax]
test rcx, rcx
je 0x180081b66
mov ebx, 0x106
jmp 0x180081d67
mov rax, qword [rax + 0x70]
test rax, rax
je 0x180081bca
nop
cmp qword [rax], rbp
je 0x180081bc1
cmp dword [rax + 8], 1
jne 0x180081bc1
cmp byte [rax + 0xc], 1
jne 0x180081bea
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180081bb0
cmp dword [rdi + 0x3c], r14d
sete al
mov byte [rdi + 0x23], al
cmp qword [rdi + 0x18], r14
jne 0x180081bf4
mov rcx, rdi
call fcn.180076ea0
mov ebx, eax
test eax, eax
je 0x180081bd4
jmp 0x180081c33
mov ebx, 0x106
jmp 0x180081d67
test ebx, ebx
jne 0x180081c33
cmp byte [rdi + 0x20], r14b
je 0x180081c03
mov ebx, r12d
jmp 0x180081c33
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov r8d, r14d
cmp byte [rax + 0x29], 2
mov edx, 1
sete r8b
call fcn.180070260
mov ebx, eax
test eax, eax
jne 0x180081c33
mov rcx, rdi
call fcn.1800772c0
mov ebx, eax
test eax, eax
je 0x180081c6d
cmp byte [rdi + 0x2e], r14b
jne 0x180081c6d
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180081c6d
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x180081c69
mov rsi, qword [rcx + 0x20]
call fcn.18006b180
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x180081c69
mov rcx, rsi
call fcn.18006d820
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x180081cad
cmp byte [rdi + 0x2e], r14b
jne 0x180081cad
mov rsi, qword [rdi + 8]
add rsi, 0x2a8
je 0x180081cad
mov rax, qword [rsi]
test rax, rax
je 0x180081cad
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x180081cad
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x180081ca6
inc dword [rsi + 0x10]
jmp 0x180081bd4
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x180081d67
cmp byte [rbp + 0x10], r14b
jne 0x180081cd8
inc dword [rdi + 0x38]
cmp byte [rbp + 0x11], r14b
je 0x180081cd8
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x70]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x70], rax
mov byte [rbp + 0x10], 2
cmp byte [rdi + 0x2e], 2
jae 0x180081ce6
mov byte [rdi + 0x2e], 2
mov rsi, qword [rdi + 0x18]
mov qword [rdi + 0x78], rbp
mov byte [rdi + 0x80], 1
mov rcx, qword [rsi + 0x70]
movzx eax, byte [rcx + 0x1c]
movzx edx, byte [rcx + 0x1d]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + 0x1e]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x1f]
shl edx, 8
or edx, eax
cmp dword [rdi + 0x3c], edx
je 0x180081d53
mov rcx, qword [rsi + 0x78]
call fcn.180070560
mov ebx, eax
test eax, eax
jne 0x180081d67
mov r8d, dword [rdi + 0x3c]
mov rdx, qword [rsi + 0x70]
mov eax, r8d
mov byte [rdx + 0x1f], r8b
shr eax, 0x18
mov byte [rdx + 0x1c], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 0x1d], al
mov eax, r8d
shr eax, 8
mov byte [rdx + 0x1e], al
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov edx, dword [rax + 0x310]
call fcn.180070fb0
mov ebx, eax
cmp byte [rbp + 0x11], r14b
je 0x180081d8a
add dword [rbp + 0x14], 0xffffffff
jne 0x180081d8a
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x180081d86
call qword [0x1801756e8]
mov byte [rbp + 0x12], r14b
test ebx, ebx
jne 0x180081f6f
mov rsi, qword [rsp + 0x80]
lea edx, [rbx + 1]
mov rcx, qword [rsi + 8]
lea r8, [rsi + 0x10]
mov dword [rsi + 0x14], 1
call fcn.18007f6a0
mov rbp, qword [rsi + 0x28]
cmp byte [rbp + 0x10], r14b
jne 0x180081f77
mov rdi, qword [rbp + 8]
mov rcx, rbp
mov ebx, r14d
call fcn.1800741c0
movzx eax, byte [rbp + 0x10]
cmp al, 2
je 0x180081f3f
cmp al, 1
je 0x180081f3f
cmp byte [rdi + 0x81], bl
je 0x180081dfd
mov rax, qword [rdi + 0x78]
cmp qword [rax], rbx
je 0x180081dfd
mov ebx, 0x106
jmp 0x180081f3f
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x180081e41
cmp qword [rax + 0x78], rbp
je 0x180081e1e
cmp byte [rax + 0x80], bl
je 0x180081e1e
mov ebx, 0x106
jmp 0x180081f3f
mov rax, qword [rax + 0x70]
test rax, rax
je 0x180081e41
cmp qword [rax], rbp
je 0x180081e38
cmp dword [rax + 8], 1
jne 0x180081e38
cmp byte [rax + 0xc], 1
jne 0x180081e66
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180081e27
cmp dword [rdi + 0x3c], r14d
sete al
mov byte [rdi + 0x23], al
nop dword [rax + rax]
cmp qword [rdi + 0x18], r14
jne 0x180081e70
mov rcx, rdi
call fcn.180076ea0
mov ebx, eax
test eax, eax
je 0x180081e50
jmp 0x180081e74
mov ebx, 0x106
jmp 0x180081f3f
test ebx, ebx
je 0x180081eae
cmp byte [rdi + 0x2e], r14b
jne 0x180081eae
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180081eae
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x180081eaa
mov rsi, qword [rcx + 0x20]
call fcn.18006b180
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x180081eaa
mov rcx, rsi
call fcn.18006d820
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x180081eee
cmp byte [rdi + 0x2e], r14b
jne 0x180081eee
mov rsi, qword [rdi + 8]
add rsi, 0x2a8
je 0x180081eee
mov rax, qword [rsi]
test rax, rax
je 0x180081eee
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x180081eee
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x180081ee7
inc dword [rsi + 0x10]
jmp 0x180081e50
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x180081f37
cmp byte [rbp + 0x10], r14b
jne 0x180081f15
inc dword [rdi + 0x38]
cmp byte [rbp + 0x11], r14b
je 0x180081f15
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x70]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x70], rax
mov byte [rbp + 0x10], 1
cmp byte [rdi + 0x2e], 1
jae 0x180081f2d
mov rsi, qword [rsp + 0x80]
mov byte [rdi + 0x2e], 1
jmp 0x180081f3f
mov rsi, qword [rsp + 0x80]
jmp 0x180081f3f
mov rsi, qword [rsp + 0x80]
cmp byte [rbp + 0x11], r14b
je 0x180081f62
add dword [rbp + 0x14], 0xffffffff
jne 0x180081f62
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x180081f5e
call qword [0x1801756e8]
mov byte [rbp + 0x12], r14b
mov dword [rsp + 0x98], 1
jmp 0x180081f77
mov rsi, qword [rsp + 0x80]
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov rax, qword [rax + 8]
movsxd r14, dword [rcx + 0x30]
mov r15d, dword [rax + 0x30]
test ebx, ebx
jne 0x180081fa3
mov rax, qword [rax]
cmp byte [rax + 9], 5
jne 0x180081fa3
cmp r14d, r15d
cmovne ebx, r12d
movsxd r12, dword [rcx + 0x3c]
mov rdi, qword [rsp + 0x20]
xor ebp, ebp
nop
cmp ebp, 0x7fffffff
jge 0x180082194
mov esi, dword [rsi + 0x18]
cmp esi, r12d
ja 0x18008218c
test ebx, ebx
jne 0x1800821da
mov rax, qword [rsp + 0x80]
xor edx, edx
mov rax, qword [rax + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [0x1801757d0]
div dword [rcx + 0x30]
inc eax
cmp esi, eax
je 0x18008217a
test esi, esi
jne 0x180082027
lea r9, [0x180137514]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rbx + 0xb]
mov r8d, 0x9878
call fcn.180066060
lea ebx, [rsi + 0xb]
mov rsi, qword [rsp + 0x80]
inc dword [rsi + 0x18]
inc ebp
jmp 0x180081fb0
mov ebx, dword [r13 + 0x2c]
test ebx, ebx
jne 0x18008204d
mov rcx, qword [r13 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.18006afc0
mov rdi, qword [rsp + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x180082124
cmp qword [rdi + 0x20], 0
jne 0x180082144
mov qword [rdi + 0x20], r13
cmp esi, 0x7fffffff
ja 0x1800820cb
mov eax, dword [0x1801757d0]
movsxd rcx, dword [r13 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x1800820cb
cmp byte [r13 + 0x11], bl
jne 0x1800820ac
cmp dword [r13 + 0x1c], esi
jb 0x1800820ac
mov rax, qword [r13 + 0x48]
cmp qword [rax], 0
je 0x1800820ac
mov rcx, rdi
call fcn.18006e300
mov ebx, eax
test eax, eax
je 0x180082144
jmp 0x1800820ee
cmp esi, dword [r13 + 0xa4]
jbe 0x1800820bc
mov ebx, 0xd
jmp 0x1800820ee
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call sub.MSVCR90.dll_memset
jmp 0x180082144
lea r9, [0x180137514]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x989f
mov ecx, 0xb
call fcn.180066060
mov ebx, 0xb
test byte [rdi + 0x28], 2
je 0x1800820fc
mov rcx, rdi
call fcn.18006af50
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x180082111
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x180175738]
mov rax, qword [r13 + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x180082139
mov rcx, r13
call fcn.18006d820
xor edi, edi
mov qword [rsp + 0x20], rdi
test ebx, ebx
jne 0x18008217a
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x80]
mov edx, esi
call fcn.1800817b0
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.18006b180
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x18008217a
mov rcx, rsi
call fcn.18006d820
mov rsi, qword [rsp + 0x80]
inc dword [rsi + 0x18]
inc ebp
jmp 0x180081fb0
mov rsi, qword [rsp + 0x80]
test ebx, ebx
jne 0x1800821da
mov ecx, dword [rsi + 0x18]
mov eax, r12d
mov dword [rsi + 0x38], r12d
sub eax, ecx
inc eax
mov dword [rsi + 0x34], eax
cmp ecx, r12d
ja 0x1800821eb
cmp dword [rsi + 0x3c], ebx
jne 0x18008255d
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rsi + 0x40], rax
mov qword [rdx + 0x70], rsi
mov dword [rsi + 0x3c], 1
jmp 0x18008255d
cmp ebx, 0x65
jne 0x180082555
mov rsi, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov esi, dword [rsi + 0x10]
mov rdi, qword [rax + 8]
inc esi
mov rbx, qword [rdi + 8]
mov rcx, rdi
call fcn.1800741c0
mov rcx, qword [rbx + 0x18]
mov rbp, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x78]
call fcn.180070560
mov ebx, eax
test eax, eax
jne 0x18008223b
mov eax, esi
mov byte [rbp + 0x2b], sil
shr eax, 0x18
mov byte [rbp + 0x28], al
mov eax, esi
shr eax, 0x10
mov byte [rbp + 0x29], al
mov eax, esi
shr eax, 8
mov byte [rbp + 0x2a], al
cmp byte [rdi + 0x11], 0
je 0x18008225e
add dword [rdi + 0x14], 0xffffffff
jne 0x18008225e
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x18008225a
call qword [0x1801756e8]
mov byte [rdi + 0x12], 0
test ebx, ebx
jne 0x18008254b
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsi]
test rcx, rcx
je 0x18008227d
xor edx, edx
call fcn.18009f1f0
cmp r14d, r15d
jge 0x1800822b6
mov eax, r15d
cdq
idiv r14d
mov ecx, eax
lea eax, [rax + r12 - 1]
cdq
idiv ecx
mov rcx, qword [rsi + 8]
xor edx, edx
mov r8, qword [rcx + 8]
mov r9d, eax
mov eax, dword [0x1801757d0]
div dword [r8 + 0x30]
inc eax
cmp r9d, eax
jne 0x1800822c4
dec r9d
jmp 0x1800822c4
mov eax, r14d
cdq
idiv r15d
mov r9d, eax
imul r9d, r12d
cmp r14d, r15d
mov rdi, qword [rsp + 0x28]
mov dword [rdi + 0x1c], r9d
jge 0x180082517
xor edx, edx
mov rcx, rdi
mov r13, r14
lea r8d, [rdx + 1]
imul r12, r14
mov r14, qword [rdi + 0x48]
call fcn.180070b30
mov ebx, eax
test eax, eax
jne 0x18008255d
mov rax, qword [r14]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x180082322
cmp qword [rsp + 0x28], r12
jle 0x180082322
mov rax, qword [r14]
mov rdx, r12
mov rcx, r14
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x18008255d
cmp byte [rdi + 0xc], bl
jne 0x18008233f
mov rcx, qword [rdi + 0x48]
movzx edx, byte [rdi + 0xe]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
test ebx, ebx
jne 0x18008255d
mov edx, dword [0x1801757d0]
lea eax, [rdx + r15]
mov r15, qword [rsp + 0x30]
movsxd rcx, eax
mov eax, r13d
cmp rcx, r12
cmovl r12, rcx
add eax, edx
movsxd rbp, eax
nop dword [rax + rax]
cmp rbp, r12
jge 0x180082528
mov rax, rbp
xor edi, edi
cqo
mov qword [rsp + 0x20], rdi
idiv r13
mov rsi, rax
add esi, 1
jne 0x1800823b4
lea r9, [0x180137514]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rdi + 0xb]
mov r8d, 0x9878
call fcn.180066060
lea ebx, [rdi + 0xb]
jmp 0x180082502
mov ebx, dword [r15 + 0x2c]
test ebx, ebx
jne 0x1800823da
mov rcx, qword [r15 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.18006afc0
mov rdi, qword [rsp + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x1800824b1
cmp qword [rdi + 0x20], 0
jne 0x1800824cc
mov qword [rdi + 0x20], r15
cmp esi, 0x7fffffff
ja 0x180082458
mov eax, dword [0x1801757d0]
movsxd rcx, dword [r15 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x180082458
cmp byte [r15 + 0x11], bl
jne 0x180082439
cmp dword [r15 + 0x1c], esi
jb 0x180082439
mov rax, qword [r15 + 0x48]
cmp qword [rax], 0
je 0x180082439
mov rcx, rdi
call fcn.18006e300
mov ebx, eax
test eax, eax
je 0x1800824cc
jmp 0x18008247b
cmp esi, dword [r15 + 0xa4]
jbe 0x180082449
mov ebx, 0xd
jmp 0x18008247b
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call sub.MSVCR90.dll_memset
jmp 0x1800824cc
lea r9, [0x180137514]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x989f
mov ecx, 0xb
call fcn.180066060
mov ebx, 0xb
test byte [rdi + 0x28], 2
je 0x180082489
mov rcx, rdi
call fcn.18006af50
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x18008249e
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x180175738]
mov rax, qword [r15 + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x1800824c6
mov rcx, r15
call fcn.18006d820
xor edi, edi
test ebx, ebx
jne 0x180082502
mov rax, qword [r14]
mov rdx, qword [rdi]
mov r9, rbp
mov r8d, r13d
mov rcx, r14
call qword [rax + 0x18]
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.18006b180
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x180082502
mov rcx, rsi
call fcn.18006d820
add rbp, r13
test ebx, ebx
je 0x180082370
mov rsi, qword [rsp + 0x80]
jmp 0x18008255d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180070b30
mov ebx, eax
jmp 0x180082530
mov rsi, qword [rsp + 0x80]
test ebx, ebx
jne 0x18008255d
mov rcx, qword [rsi + 8]
call fcn.1800788e0
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
jmp 0x18008255d
mov rsi, qword [rsp + 0x80]
jmp 0x18008255d
mov rsi, qword [rsp + 0x80]
cmp dword [rsp + 0x98], 0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x88]
je 0x180082597
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.180078750
mov rcx, qword [rsi + 0x28]
call fcn.1800788e0
mov eax, 7
cmp ebx, 0xc0a
cmove ebx, eax
mov dword [rsi + 0x30], ebx
mov rax, qword [rsi]
test rax, rax
je 0x1800825bf
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800825bf
call qword [0x1801756e8]
mov rdi, qword [rsi + 0x28]
cmp byte [rdi + 0x11], 0
je 0x1800825e6
add dword [rdi + 0x14], 0xffffffff
jne 0x1800825e6
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x1800825e2
call qword [0x1801756e8]
mov byte [rdi + 0x12], 0
mov rcx, qword [rsi + 0x20]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x58]
test rcx, rcx
je 0x180082603
call qword [0x1801756e8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret