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

Disassembly:
sub esp, 0x340
mov eax, dword [rsp + 0x348]
push rbx
mov ebx, dword [rsp + 0x348]
add eax, 0x528
push rbp
push rsi
xor esi, esi
mov dword [rsp + 0x30], eax
mov ebp, dword [rax + 0x3c]
add ebp, eax
mov dword [rsp + 0x14], esi
push rsi
mov dword [rsp + 0x10], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], ebp
call qword [rbx + 0x38]
mov edx, eax
mov ax, word [rbp + 4]
mov ecx, dword [rdx + 0x3c]
cmp ax, word [rcx + rdx + 4]
jne 0x140013c25
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], esi
mov eax, dword [rbp + 0xa4]
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x140013430
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0xc], eax
push rdi
push 3
xor ecx, ecx
lea edi, [rbx + 0x625]
pop rdx
cmp byte [r15], 0
push rsi
jne 0x14001346a
push 0x8000000
push 0x40
lea eax, [rsp + 0x58]
push rax
push rsi
push 0xf001f
lea eax, [rsp + 0x5c]
push rax
call qword [rbx + 0x120]
test eax, eax
jne 0x140013c24
jmp 0x1400134e4
push rsi
push rdx
push rsi
push rcx
push 0xffffffff80000000
push rdi
call qword [rbx + 0x60]
mov edi, eax
cmp edi, 0xffffffff
je 0x140013c24
test edi, edi
je 0x140013c24
lea eax, [rsp + 0x3c]
xorps xmm0, xmm0
push rax
push rdi
movlpd qword [rsp + 0x44], xmm0
call qword [rbx + 0x64]
test eax, eax
je 0x140013c24
mov eax, dword [rbp + 0x50]
cmp eax, dword [rsp + 0x3c]
ja 0x140013c24
push rdi
push 0x1000000
push 2
pop rax
push rax
push rsi
push rsi
push 0xf001f
lea eax, [rsp + 0x5c]
push rax
call qword [rbx + 0x120]
push rdi
mov esi, eax
call qword [rbx + 0x90]
test esi, esi
jne 0x140013c24
lea edi, [rbx + 0x625]
push 4
pop rax
push rax
push rsi
push 2
pop rax
push rax
lea eax, [rsp + 0x34]
push rax
push rsi
push rsi
push rsi
lea eax, [rsp + 0x2c]
push rax
call qword [rbx + 0x70]
push rax
push qword [rsp + 0x68]
call qword [rbx + 0x124]
mov esi, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x10]
mov esi, dword [rsi + 0x3c]
add esi, ecx
mov dword [rsp + 0x1c], esi
test eax, eax
je 0x140013528
cmp eax, 0x40000003
jne 0x140013c24
test ecx, ecx
je 0x140013c24
cmp byte [rdi], 0
je 0x14001357f
lea eax, [rsp + 0x30]
push rax
push 4
pop rdi
push rdi
push qword [rsp + 0x30]
push rcx
call qword [rbx + 0x48]
push rdi
push 0x3000
push qword [rbp + 0x54]
push 0
call qword [rbx + 0x3c]
push qword [rbp + 0x54]
mov edi, eax
push qword [rsp + 0x14]
mov dword [rsp + 0x50], edi
push rdi
call fcn.1400146ad
push qword [rsp + 0x34]
push 0
push qword [rsp + 0x24]
call fcn.1400146d1
mov ecx, dword [rsp + 0x28]
add esp, 0x18
jmp 0x140013587
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x48], eax
push qword [rbp + 0x54]
push qword [rsp + 0x38]
push rcx
call fcn.1400146ad
mov eax, dword [rsp + 0x1c]
xor ecx, ecx
and dword [rsp + 0x20], 0
add esp, 0xc
mov dword [rsi + 0x34], eax
movzx eax, word [rsi + 0x14]
add eax, 0x18
add eax, esi
mov dword [rsp + 0x3c], eax
cmp cx, word [rsi + 6]
jae 0x1400135fc
mov ebx, dword [rsp + 0x14]
lea edi, [rax + 0x10]
mov ebp, esi
push qword [rdi]
mov eax, dword [rdi + 4]
mov esi, dword [rdi - 4]
add eax, dword [rsp + 0x38]
add esi, dword [rsp + 0x14]
push rax
push rsi
call fcn.1400146ad
movzx eax, byte [rsi]
lea edi, [rdi + 0x28]
add esp, 0xc
mov dword [rdi - 0x30], eax
movzx eax, word [rbp + 6]
cmp ebx, r8d
jb 0x1400135c1
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x1c]
mov edx, dword [rsp + 0x10]
mov edi, edx
sub edi, dword [rbp + 0x34]
cmp dword [rsp + 0x24], 0
je 0x1400136d2
test edi, edi
je 0x1400136d2
mov eax, dword [rsi + 0xa0]
lea ecx, [rax + rdx]
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
add eax, edx
mov dword [rsp + 0x20], ecx
cmp ecx, eax
jae 0x1400136d2
mov eax, dword [rcx + 4]
test eax, eax
je 0x1400136d2
lea esi, [rcx + 8]
jmp 0x1400136b4
movzx esi, word [rsi]
mov eax, dword [rsp + 0x20]
mov ecx, esi
and ecx, 0xfff
add ecx, dword [rax]
mov eax, dword [rsp + 0x1c]
cmp ecx, dword [rax + 0x50]
jae 0x1400136a4
shr si, 0xc
cmp si, 0xa
je 0x140013673
push 3
pop rax
cmp si, ax
jne 0x140013678
add dword [rcx + rdx], edi
jmp 0x140013695
xor eax, eax
cmp si, ax
jne 0x140013687
mov eax, edi
shr eax, 0x10
jmp 0x140013692
push 2
pop rax
cmp si, ax
jne 0x14001369b
movzx eax, di
add dword [rcx + rdx], eax
mov edx, dword [rsp + 0x10]
jmp 0x1400136a4
test si, si
jne 0x140013bc3
mov esi, dword [rsp + 0x14]
push 2
pop rcx
add esi, ecx
mov ecx, dword [rsp + 0x20]
mov eax, dword [rcx + 4]
add eax, ecx
mov dword [rsp + 0x14], esi
cmp esi, eax
jne 0x140013647
mov eax, dword [rsp + 0x38]
mov ecx, esi
add eax, edx
mov dword [rsp + 0x20], esi
cmp esi, eax
jb 0x140013637
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0x80]
test eax, eax
je 0x1400137a8
lea esi, [rax + rdx]
cmp dword [rsi + 0xc], 0
mov dword [rsp + 0x18], esi
je 0x1400137a8
mov eax, dword [rsi + 0xc]
add eax, edx
push rax
push rbx
call fcn.14001403f
mov edx, dword [rsp + 0x18]
mov edi, dword [rsi + 0x10]
mov dword [rsp + 0x40], eax
add edi, edx
mov eax, dword [rsi]
add eax, edx
mov dword [rsp + 0x28], edi
pop rcx
pop rcx
mov dword [rsp + 0x14], eax
mov ecx, dword [rax]
test ecx, ecx
je 0x140013793
mov ebp, dword [rsp + 0x38]
mov esi, dword [rsp + 0x358]
jns 0x14001373b
push rcx
push 0
push rbp
push rbx
call fcn.1400140dd
jmp 0x14001376d
lea edi, [rdx + 2]
add edi, ecx
cmp dword [rsi + 4], 0
je 0x14001375f
push rdi
push rbx
call fcn.1400129e0
pop rcx
pop rcx
test eax, eax
je 0x14001375f
mov eax, dword [rbx + 0x108]
mov edi, dword [rsp + 0x20]
jmp 0x140013770
push 0
push rdi
push rbp
push rbx
call fcn.1400140dd
mov edi, dword [rsp + 0x30]
add esp, 0x10
mov dword [rdi], eax
mov eax, dword [rsp + 0x14]
mov edx, dword [rsp + 0x10]
push 4
pop rcx
add eax, ecx
add edi, ecx
mov dword [rsp + 0x14], eax
mov dword [rsp + 0x20], edi
mov ecx, dword [rax]
test ecx, ecx
jne 0x14001372d
mov esi, dword [rsp + 0x18]
add esi, 0x14
mov dword [rsp + 0x18], esi
cmp dword [rsi + 0xc], 0
jne 0x1400136f5
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0xe0]
test eax, eax
je 0x140013846
lea esi, [rax + 4]
add esi, edx
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
je 0x140013846
add eax, edx
push rax
push rbx
call fcn.14001403f
mov edx, dword [rsp + 0x18]
mov dword [rsp + 0x40], eax
pop rcx
pop rcx
test eax, eax
je 0x140013835
mov edi, dword [rsi + 0xc]
mov ecx, dword [rsi + 8]
add edi, edx
add ecx, edx
mov dword [rsp + 0x14], ecx
mov eax, dword [rdi]
test eax, eax
je 0x140013835
mov ebp, dword [rsp + 0x38]
push 4
pop rsi
jns 0x140013801
xor ecx, ecx
jmp 0x140013806
lea ecx, [rdx + 2]
add ecx, eax
xor edx, edx
test eax, eax
cmovns eax, edx
push rax
push rcx
push rbp
push rbx
call fcn.1400140dd
mov ecx, dword [rsp + 0x24]
add edi, esi
add esp, 0x10
mov dword [rcx], eax
add ecx, esi
mov eax, dword [rdi]
mov edx, dword [rsp + 0x10]
mov dword [rsp + 0x14], ecx
test eax, eax
jne 0x1400137fb
mov esi, dword [rsp + 0x18]
add esi, 0x20
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
jne 0x1400137c9
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
lea edi, [rsp + 0x54]
push 0x3e
pop rcx
mov esi, ebp
mov eax, dword [rax + 0x28]
rep movsd dword [rdi], dword [rsi]
mov edi, dword [rsp + 0x58]
add eax, edx
shr edi, 0x10
push 4
imul esi, edi, 0x28
push 0x3000
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x1c], edi
push rsi
push 0
call qword [rbx + 0x3c]
push rsi
push qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
push rax
call fcn.1400146ad
xor eax, eax
add esp, 0xc
cmp dword [rbx + 0x574], eax
jne 0x1400138d8
cmp byte [rbx + 0x625], 0
jne 0x1400138c0
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x18]
call fcn.1400146d1
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x48]
call fcn.1400146d1
add esp, 0x18
jmp 0x1400138d8
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1400138d8
push qword [rbp + 0x54]
push rax
push qword [rsp + 0x18]
call fcn.1400146ad
add esp, 0xc
cmp byte [rbx + 0x625], 0
jne 0x140013939
push qword [rsp + 0x10]
call qword [rbx + 0x70]
push rax
call qword [rbx + 0x128]
test eax, eax
jne 0x140013c24
mov eax, dword [rsp + 0x10]
xor ecx, ecx
cmp dword [rsp + 0x24], ecx
push pe_nt_image_headers64
push rcx
push 2
cmovne eax, ecx
and dword [rsp + 0x34], ecx
mov dword [rsp + 0x1c], eax
pop rax
push rax
lea eax, [rsp + 0x34]
push rax
push rcx
push rcx
push rcx
lea eax, [rsp + 0x2c]
push rax
call qword [rbx + 0x70]
push rax
push qword [rsp + 0x68]
call qword [rbx + 0x124]
test eax, eax
jne 0x140013c24
lea eax, [rsp + 0x30]
push rax
push 8
push qword [rsp + 0x30]
push qword [rsp + 0x1c]
call qword [rbx + 0x48]
xor eax, eax
mov dword [rsp + 0x24], eax
test edi, edi
je 0x140013a04
mov edi, dword [rsp + 0x18]
mov esi, dword [rsp + 0x3c]
add edi, 0xc
mov edx, dword [rdi + 0x18]
mov ebp, edx
mov ecx, edx
shr ebp, 0x1e
shr edx, 0x1d
shr ecx, 0x1f
and edx, 1
test ecx, edx
jne 0x1400139f2
test ebp, edx
je 0x140013983
push 0x20
jmp 0x1400139b2
mov eax, edx
xor eax, 1
mov dword [rsp + 0x3c], eax
and eax, ecx
test ebp, eax
je 0x1400139a0
cmp byte [rbx + 0x625], 0
push 8
pop rsi
push 4
jmp 0x1400139bd
xor eax, eax
xor ecx, eax
mov eax, ebp
xor eax, 1
and eax, ecx
test edx, eax
je 0x1400139b5
push 0x10
pop rsi
jmp 0x1400139c1
and ecx, dword [rsp + 0x3c]
test ebp, ecx
push 2
pop rax
cmovne esi, eax
mov edx, dword [rsp + 0x10]
mov ecx, dword [rdi]
add edx, ecx
mov eax, dword [rsp + 0x14]
cmp qword [rsp + 0x24], rax
jae 0x1400139db
mov eax, dword [rdi + 0x28]
sub eax, ecx
jmp 0x1400139de
mov eax, dword [rdi + 4]
and dword [rsp + 0x30], 0
lea ecx, [rsp + 0x30]
push rcx
push rsi
push rax
push rdx
call qword [rbx + 0x48]
mov eax, dword [rsp + 0x24]
add edi, 0x28
mov dword [rsp + 0x24], eax
cmp eax, dword [rsp + 0x14]
jb 0x140013964
lea eax, [rsp + 0x30]
xor edi, edi
push rax
push 2
pop rax
push rax
push qword [rsp + 0x88]
mov dword [rsp + 0x3c], edi
push qword [rsp + 0x1c]
call qword [rbx + 0x48]
mov eax, dword [rsp + 0x1c]
mov ecx, dword [rsp + 0x10]
mov esi, dword [rax + 0xc0]
test esi, esi
je 0x140013a5d
mov esi, dword [rsi + rcx + 0xc]
test esi, esi
je 0x140013a5d
mov eax, dword [rsi]
test eax, eax
je 0x140013a5d
push 4
pop rbx
push rdi
push 1
push rcx
call rax
mov ecx, dword [rsp + 0x10]
add esi, ebx
mov eax, dword [rsi]
test eax, eax
jne 0x140013a44
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x358]
push 3
pop rax
cmp dword [rbp], eax
jne 0x140013b56
xor eax, eax
push rdi
push rax
mov eax, dword [rsp + 0x84]
push rcx
add eax, ecx
call rax
cmp byte [rbp + 0x30c], 0
je 0x140013bab
mov ecx, dword [rsp + 0xcc]
mov edx, dword [rsp + 0x10]
test ecx, ecx
je 0x140013baf
mov esi, dword [rcx + rdx + 0x18]
test esi, esi
je 0x140013baf
mov eax, dword [rcx + rdx + 0x20]
lea edi, [rsi - 1]
mov ebp, dword [rcx + rdx + 0x1c]
add eax, edx
mov ecx, dword [rcx + rdx + 0x24]
add ebp, edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
lea edi, [rax + rdi*4]
mov ecx, dword [rsp + 0x358]
mov eax, dword [rdi]
add ecx, 0x30c
add eax, edx
push rcx
push rax
call fcn.1400146e6
mov edx, dword [rsp + 0x18]
pop rcx
pop rcx
test eax, eax
je 0x140013afa
push 4
pop rax
sub edi, eax
sub esi, 1
jne 0x140013ac9
jmp 0x140013bc3
mov eax, dword [rsp + 0x3c]
movzx eax, word [rax + rsi*2 - 2]
mov esi, dword [rbp + rax*4]
add esi, edx
je 0x140013bc3
mov ebp, dword [rsp + 0x358]
lea edi, [rbp + 0x40c]
cmp byte [rdi], 0
je 0x140013b52
cmp dword [rbp + 0x50c], 0
je 0x140013b3c
lea eax, [rsp + 0x14c]
push rax
push rdi
push rbx
call fcn.14001401a
add esp, 0xc
cmp dword [rbp + 0x50c], 0
lea eax, [rsp + 0x14c]
cmove eax, edi
push rax
call rsi
jmp 0x140013bab
call rsi
jmp 0x140013bab
lea eax, [rbp + 0x40c]
cmp byte [rax], 0
je 0x140013b81
lea ecx, [rsp + 0x14c]
push rcx
push rax
push rbx
call fcn.14001401a
lea eax, [rsp + 0x158]
push rax
push rbx
call fcn.140013df2
add esp, 0x14
cmp dword [rbp + 4], edi
je 0x140013b9e
push rdi
push rdi
push rdi
push qword [rsp + 0x38]
push rdi
push rdi
call qword [rbx + 0x5c]
test eax, eax
je 0x140013bab
push 0xffffffffffffffff
push rax
call qword [rbx + 0x58]
jmp 0x140013bab
movabs eax, dword fs:[0xff3070ff00000018]
push rsp
and al, 0x30
mov edx, dword [rsp + 0x10]
push 3
pop rax
cmp dword [rbx + 0x230], eax
jne 0x140013bc3
push 0xffffffffffffffff
call qword [rbx + 0x4c]
mov edx, dword [rsp + 0x10]
test edx, edx
je 0x140013c09
movzx eax, word [rsp + 0x5a]
mov esi, 0xc000
imul eax, eax, 0x28
push rsi
push rax
push qword [rsp + 0x20]
call qword [rbx + 0x40]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140013bf1
push rsi
push qword [rsp + 0xac]
push rax
call qword [rbx + 0x40]
push qword [rsp + 0x10]
call qword [rbx + 0x70]
push rax
call qword [rbx + 0x128]
push qword [rsp + 0x44]
call qword [rbx + 0x90]
mov eax, dword [rsp + 0x358]
push qword [rax + 0x524]
push 0
push qword [rsp + 0x3c]
call fcn.1400146d1
add esp, 0xc
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x340
ret