Function at 0x140078654
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 0x140078eb8
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 0x1400786c3
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 0x1400786fd
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 0x140078eb7
jmp 0x140078777
push rsi
push rdx
push rsi
push rcx
push 0xffffffff80000000
push rdi
call qword [rbx + 0x60]
mov edi, eax
cmp edi, 0xffffffff
je 0x140078eb7
test edi, edi
je 0x140078eb7
lea eax, [rsp + 0x3c]
xorps xmm0, xmm0
push rax
push rdi
movlpd qword [rsp + 0x44], xmm0
call qword [rbx + 0x64]
test eax, eax
je 0x140078eb7
mov eax, dword [rbp + 0x50]
cmp eax, dword [rsp + 0x3c]
ja 0x140078eb7
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 0x140078eb7
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 0x1400787bb
cmp eax, 0x40000003
jne 0x140078eb7
test ecx, ecx
je 0x140078eb7
cmp byte [rdi], 0
je 0x140078812
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.140079940
push qword [rsp + 0x34]
push 0
push qword [rsp + 0x24]
call fcn.140079964
mov ecx, dword [rsp + 0x28]
add esp, 0x18
jmp 0x14007881a
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x48], eax
push qword [rbp + 0x54]
push qword [rsp + 0x38]
push rcx
call fcn.140079940
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 0x14007888f
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.140079940
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 0x140078854
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 0x140078965
test edi, edi
je 0x140078965
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 0x140078965
mov eax, dword [rcx + 4]
test eax, eax
je 0x140078965
lea esi, [rcx + 8]
jmp 0x140078947
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 0x140078937
shr si, 0xc
cmp si, 0xa
je 0x140078906
push 3
pop rax
cmp si, ax
jne 0x14007890b
add dword [rcx + rdx], edi
jmp 0x140078928
xor eax, eax
cmp si, ax
jne 0x14007891a
mov eax, edi
shr eax, 0x10
jmp 0x140078925
push 2
pop rax
cmp si, ax
jne 0x14007892e
movzx eax, di
add dword [rcx + rdx], eax
mov edx, dword [rsp + 0x10]
jmp 0x140078937
test si, si
jne 0x140078e56
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 0x1400788da
mov eax, dword [rsp + 0x38]
mov ecx, esi
add eax, edx
mov dword [rsp + 0x20], esi
cmp esi, eax
jb 0x1400788ca
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0x80]
test eax, eax
je 0x140078a3b
lea esi, [rax + rdx]
cmp dword [rsi + 0xc], 0
mov dword [rsp + 0x18], esi
je 0x140078a3b
mov eax, dword [rsi + 0xc]
add eax, edx
push rax
push rbx
call fcn.1400792d2
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 0x140078a26
mov ebp, dword [rsp + 0x38]
mov esi, dword [rsp + 0x358]
jns 0x1400789ce
push rcx
push 0
push rbp
push rbx
call fcn.140079370
jmp 0x140078a00
lea edi, [rdx + 2]
add edi, ecx
cmp dword [rsi + 4], 0
je 0x1400789f2
push rdi
push rbx
call fcn.140077c73
pop rcx
pop rcx
test eax, eax
je 0x1400789f2
mov eax, dword [rbx + 0x108]
mov edi, dword [rsp + 0x20]
jmp 0x140078a03
push 0
push rdi
push rbp
push rbx
call fcn.140079370
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 0x1400789c0
mov esi, dword [rsp + 0x18]
add esi, 0x14
mov dword [rsp + 0x18], esi
cmp dword [rsi + 0xc], 0
jne 0x140078988
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0xe0]
test eax, eax
je 0x140078ad9
lea esi, [rax + 4]
add esi, edx
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
je 0x140078ad9
add eax, edx
push rax
push rbx
call fcn.1400792d2
mov edx, dword [rsp + 0x18]
mov dword [rsp + 0x40], eax
pop rcx
pop rcx
test eax, eax
je 0x140078ac8
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 0x140078ac8
mov ebp, dword [rsp + 0x38]
push 4
pop rsi
jns 0x140078a94
xor ecx, ecx
jmp 0x140078a99
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.140079370
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 0x140078a8e
mov esi, dword [rsp + 0x18]
add esi, 0x20
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
jne 0x140078a5c
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.140079940
xor eax, eax
add esp, 0xc
cmp dword [rbx + 0x574], eax
jne 0x140078b6b
cmp byte [rbx + 0x625], 0
jne 0x140078b53
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x18]
call fcn.140079964
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x48]
call fcn.140079964
add esp, 0x18
jmp 0x140078b6b
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140078b6b
push qword [rbp + 0x54]
push rax
push qword [rsp + 0x18]
call fcn.140079940
add esp, 0xc
cmp byte [rbx + 0x625], 0
jne 0x140078bcc
push qword [rsp + 0x10]
call qword [rbx + 0x70]
push rax
call qword [rbx + 0x128]
test eax, eax
jne 0x140078eb7
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 0x140078eb7
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 0x140078c97
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 0x140078c85
test ebp, edx
je 0x140078c16
push 0x20
jmp 0x140078c45
mov eax, edx
xor eax, 1
mov dword [rsp + 0x3c], eax
and eax, ecx
test ebp, eax
je 0x140078c33
cmp byte [rbx + 0x625], 0
push 8
pop rsi
push 4
jmp 0x140078c50
xor eax, eax
xor ecx, eax
mov eax, ebp
xor eax, 1
and eax, ecx
test edx, eax
je 0x140078c48
push 0x10
pop rsi
jmp 0x140078c54
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 0x140078c6e
mov eax, dword [rdi + 0x28]
sub eax, ecx
jmp 0x140078c71
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 0x140078bf7
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 0x140078cf0
mov esi, dword [rsi + rcx + 0xc]
test esi, esi
je 0x140078cf0
mov eax, dword [rsi]
test eax, eax
je 0x140078cf0
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 0x140078cd7
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x358]
push 3
pop rax
cmp dword [rbp], eax
jne 0x140078de9
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 0x140078e3e
mov ecx, dword [rsp + 0xcc]
mov edx, dword [rsp + 0x10]
test ecx, ecx
je 0x140078e42
mov esi, dword [rcx + rdx + 0x18]
test esi, esi
je 0x140078e42
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.140079979
mov edx, dword [rsp + 0x18]
pop rcx
pop rcx
test eax, eax
je 0x140078d8d
push 4
pop rax
sub edi, eax
sub esi, 1
jne 0x140078d5c
jmp 0x140078e56
mov eax, dword [rsp + 0x3c]
movzx eax, word [rax + rsi*2 - 2]
mov esi, dword [rbp + rax*4]
add esi, edx
je 0x140078e56
mov ebp, dword [rsp + 0x358]
lea edi, [rbp + 0x40c]
cmp byte [rdi], 0
je 0x140078de5
cmp dword [rbp + 0x50c], 0
je 0x140078dcf
lea eax, [rsp + 0x14c]
push rax
push rdi
push rbx
call fcn.1400792ad
add esp, 0xc
cmp dword [rbp + 0x50c], 0
lea eax, [rsp + 0x14c]
cmove eax, edi
push rax
call rsi
jmp 0x140078e3e
call rsi
jmp 0x140078e3e
lea eax, [rbp + 0x40c]
cmp byte [rax], 0
je 0x140078e14
lea ecx, [rsp + 0x14c]
push rcx
push rax
push rbx
call fcn.1400792ad
lea eax, [rsp + 0x158]
push rax
push rbx
call fcn.140079085
add esp, 0x14
cmp dword [rbp + 4], edi
je 0x140078e31
push rdi
push rdi
push rdi
push qword [rsp + 0x38]
push rdi
push rdi
call qword [rbx + 0x5c]
test eax, eax
je 0x140078e3e
push 0xffffffffffffffff
push rax
call qword [rbx + 0x58]
jmp 0x140078e3e
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 0x140078e56
push 0xffffffffffffffff
call qword [rbx + 0x4c]
mov edx, dword [rsp + 0x10]
test edx, edx
je 0x140078e9c
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 0x140078e84
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.140079964
add esp, 0xc
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x340
ret