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

Disassembly:
push rsi
push rdi
sub rsp, 0x308
mov rax, qword [0x140a7c340]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea rcx, [0x140a7c910]
call fcn.14003f2f0
lea rcx, [0x140a7c928]
call fcn.14003f2f0
lea rcx, [0x140a7c940]
call fcn.14003f2f0
mov rax, qword [0x140a7c8f8]
mov rcx, qword [0x140a7c760]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140031d70
nop
lea rcx, [rsp + 0x240]
call fcn.1400409f0
movzx eax, al
test eax, eax
jne 0x14003f59e
jmp 0x1400400ea
mov edx, 0x18
lea rcx, [rsp + 0x280]
call fcn.140034310
lea rcx, [rsp + 0x4d]
call fcn.14002e8b0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x240]
call fcn.140034ac0
cdqe
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x280]
call fcn.140038de0
nop
mov dword [rsp + 0x40], 0
jmp 0x14003f60b
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x240]
call fcn.140034ac0
cmp dword [rsp + 0x40], eax
jge 0x14003f6aa
lea rcx, [rsp + 0x240]
call fcn.140030e50
mov rcx, rax
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003f6a5
movsxd rax, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.1400395c0
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x240]
call fcn.140030e50
mov rcx, qword [rsp + 0x90]
lea rax, [rax + rcx*8]
mov qword [rsp + 0xa0], rax
mov r8d, 8
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.1400d57b0
nop
jmp 0x14003f601
call fcn.1400d7a70
nop
mov edx, 0x18
lea rcx, [rsp + 0x2d8]
call fcn.140034310
lea rcx, [rsp + 0x48]
call fcn.14002e8b0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x280]
call fcn.140040ea0
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x2d8]
call fcn.140038d90
nop
mov dword [rsp + 0x2c], 0
jmp 0x14003f71b
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x280]
call fcn.140040ea0
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
jae 0x14003f7d1
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
jne 0x14003f76c
jmp 0x14003f711
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x2d8]
call fcn.140039590
mov qword [rsp + 0xc0], rax
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.1400395c0
mov rax, qword [rax]
add rax, qword [0x140a7c900]
mov qword [rsp + 0xc8], rax
mov r8d, 0x10
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400d57b0
nop
jmp 0x14003f711
call fcn.1400d7a70
mov edx, 0x18
lea rcx, [rsp + 0x228]
call fcn.140034310
lea rcx, [rsp + 0x228]
call fcn.140032400
nop
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140031510
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.14003e9a0
mov qword [rsp + 0xd0], rax
jmp 0x14003f834
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0x50], rax
je 0x14003f8d4
lea rax, [rsp + 0x2c8]
mov rdi, rax
mov rsi, qword [rsp + 0x50]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2c8]
call fcn.1400409f0
movzx eax, al
test eax, eax
je 0x14003f8cf
mov dword [rsp + 0x44], 0
jmp 0x14003f886
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x2c8]
call fcn.140034ac0
cmp dword [rsp + 0x44], eax
jge 0x14003f8cf
lea rcx, [rsp + 0x2c8]
call fcn.140030e50
movsxd rcx, dword [rsp + 0x44]
lea rax, [rax + rcx*8]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x228]
call fcn.140040de0
nop
jmp 0x14003f87c
jmp 0x14003f826
lea rax, [rsp + 0x228]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140031510
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x78]
call fcn.14003e9a0
mov qword [rsp + 0xe0], rax
jmp 0x14003f912
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x58], rax
je 0x14003f95a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003f958
mov r8d, 8
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400d57b0
nop
jmp 0x14003f904
call fcn.1400d7a70
nop
mov edx, 0x18
lea rcx, [rsp + 0x2b0]
call fcn.140034310
lea rcx, [rsp + 0x49]
call fcn.14002e8b0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov qword [rsp + 0xf0], rax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x2b0]
call fcn.140038de0
nop
mov edx, 0x18
lea rcx, [rsp + 0x268]
call fcn.140034310
lea rcx, [rsp + 0x4a]
call fcn.14002e8b0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x268]
call fcn.140038cf0
nop
mov dword [rsp + 0x30], 0
jmp 0x14003fa22
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x108]
cmp rcx, rax
jae 0x14003fad3
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003face
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.1400395c0
mov qword [rsp + 0x110], rax
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.1400395c0
mov rax, qword [rax]
add rax, 0x18
mov qword [rsp + 0x118], rax
mov r8d, 4
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.1400d57b0
nop
jmp 0x14003fa18
call fcn.1400d7a70
nop
mov dword [rsp + 0x20], 0
jmp 0x14003faed
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x120]
cmp rcx, rax
jae 0x14003fc1c
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
jne 0x14003fb3e
jmp 0x14003fae3
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.1400395c0
cmp qword [rax], 0
jne 0x14003fb5b
jmp 0x14003fae3
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x128], rax
call fcn.140040110
mov rdx, rax
mov rcx, qword [rsp + 0x128]
call fcn.140038c20
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.1400395c0
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
mov r8, qword [rsp + 0x138]
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x1b8]
call fcn.1400df550
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140039500
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.140039470
lea rcx, [rsp + 0x1b8]
call fcn.1400393e0
nop
jmp 0x14003fae3
mov edx, 0x18
lea rcx, [rsp + 0x250]
call fcn.140034310
lea rcx, [rsp + 0x4b]
call fcn.14002e8b0
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x250]
call fcn.140038de0
nop
mov edx, 0x18
lea rcx, [rsp + 0x298]
call fcn.140034310
lea rcx, [rsp + 0x4c]
call fcn.14002e8b0
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x298]
call fcn.140038d40
nop
mov dword [rsp + 0x24], 0
jmp 0x14003fcde
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x170]
cmp rcx, rax
jae 0x14003fdad
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003fda8
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140039500
cmp dword [rax + 0x28], 0
je 0x14003fda8
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400395c0
mov qword [rsp + 0x178], rax
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.1400395c0
mov rax, qword [rax]
add rax, qword [0x140a7c8e8]
mov qword [rsp + 0x180], rax
mov r8d, 8
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call fcn.1400d57b0
nop
jmp 0x14003fcd4
call fcn.1400d7a70
nop
mov dword [rsp + 0x28], 0
jmp 0x14003fdc7
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x188]
cmp rcx, rax
jae 0x14003fe96
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003fe91
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140039500
cmp dword [rax + 0x28], 0
je 0x14003fe91
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.140039530
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400395c0
mov rax, qword [rax]
add rax, qword [0x140a7c8f0]
mov qword [rsp + 0x198], rax
mov r8d, 0x18
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.1400d57b0
nop
jmp 0x14003fdbd
call fcn.1400d7a70
nop
mov dword [rsp + 0x34], 0
jmp 0x14003feb0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x1a0]
cmp rcx, rax
jae 0x14003ff40
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003ff3b
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140039500
cmp dword [rax + 0x28], 1
jne 0x14003ff3b
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.140039530
mov rdx, rax
lea rcx, [0x140a7c910]
call fcn.140040db0
nop
jmp 0x14003fea6
mov dword [rsp + 0x38], 0
jmp 0x14003ff54
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x1a8]
cmp rcx, rax
jae 0x14003ffe4
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x14003ffdf
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140039500
cmp dword [rax + 0x28], 2
jne 0x14003ffdf
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.140039530
mov rdx, rax
lea rcx, [0x140a7c928]
call fcn.140040db0
nop
jmp 0x14003ff4a
mov dword [rsp + 0x3c], 0
jmp 0x14003fff8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x228]
call fcn.140040ea0
mov rcx, qword [rsp + 0x1b0]
cmp rcx, rax
jae 0x140040088
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.1400395c0
mov rcx, qword [rax]
call fcn.1400e0430
movzx eax, al
test eax, eax
je 0x140040083
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140039500
cmp dword [rax + 0x28], 3
jne 0x140040083
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.140039530
mov rdx, rax
lea rcx, [0x140a7c940]
call fcn.140040db0
nop
jmp 0x14003ffee
lea rcx, [rsp + 0x298]
call fcn.140039380
nop
lea rcx, [rsp + 0x250]
call fcn.1400393c0
nop
lea rcx, [rsp + 0x268]
call fcn.140039360
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400393c0
nop
lea rcx, [rsp + 0x228]
call fcn.1400393c0
nop
lea rcx, [rsp + 0x2d8]
call fcn.1400393a0
nop
lea rcx, [rsp + 0x280]
call fcn.1400393c0
nop
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1401494c0
add rsp, 0x308
pop rdi
pop rsi
ret