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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x80]
movzx eax, word [rax + 0x18]
shl eax, 0x10
cmp eax, 0x40000
jge 0x180077c79
mov dword [rsp + 0x8c], 0x40000
jmp 0x180077c96
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x80]
movzx eax, word [rax + 0x18]
shl eax, 0x10
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax + 0x68]
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x28]
shl eax, 0x10
mov edx, eax
mov ecx, 0x3e80000
call fcn.18004eb20
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x28f
jge 0x180077cdb
xor eax, eax
jmp 0x18007802f
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x4c], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x50], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x54], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x58], eax
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x5c], eax
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x60], eax
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0xc0], 0
jg 0x180077da7
mov dword [rsp + 0x34], 0x4b0000
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
jmp 0x180077dc6
mov eax, dword [rsp + 0xc0]
shl eax, 0x10
mov dword [rsp + 0x34], eax
mov edx, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
call fcn.18004eac0
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x38]
call fcn.180065970
mov dword [rsp + 0x90], eax
mov ecx, dword [rsp + 0x2c]
call fcn.180065970
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x2e
jl 0x180077e02
mov eax, dword [rsp + 0x60]
shl eax, 0x10
mov dword [rsp + 0x3c], eax
jmp 0x180077e13
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
call fcn.18004eac0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x48]
shl eax, 0x10
cmp dword [rsp + 0x3c], eax
jge 0x180077e3b
mov eax, dword [rsp + 0x4c]
shl eax, 0x10
mov edx, dword [rsp + 0x2c]
mov ecx, eax
call fcn.18004eb20
mov dword [rsp + 0x40], eax
jmp 0x180078022
mov eax, dword [rsp + 0x50]
shl eax, 0x10
cmp dword [rsp + 0x3c], eax
jge 0x180077ed0
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x48]
shl eax, 0x10
mov edx, dword [rsp + 0x2c]
mov ecx, eax
call fcn.18004eb20
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x68], 0
jne 0x180077e93
jmp 0x180077ee1
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x70]
call fcn.18004e9b0
mov dword [rsp + 0x94], eax
mov ecx, dword [rsp + 0x4c]
shl ecx, 0x10
mov edx, dword [rsp + 0x2c]
call fcn.18004eb20
mov ecx, dword [rsp + 0x94]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x180078022
mov eax, dword [rsp + 0x58]
shl eax, 0x10
cmp dword [rsp + 0x3c], eax
jge 0x180077f65
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x50]
shl eax, 0x10
mov edx, dword [rsp + 0x2c]
mov ecx, eax
call fcn.18004eb20
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x74], 0
jne 0x180077f28
jmp 0x180077f76
mov r8d, dword [rsp + 0x74]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7c]
call fcn.18004e9b0
mov dword [rsp + 0x98], eax
mov ecx, dword [rsp + 0x54]
shl ecx, 0x10
mov edx, dword [rsp + 0x2c]
call fcn.18004eb20
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x180078022
mov eax, dword [rsp + 0x60]
shl eax, 0x10
cmp dword [rsp + 0x3c], eax
jge 0x18007800c
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x58]
shl eax, 0x10
mov edx, dword [rsp + 0x2c]
mov ecx, eax
call fcn.18004eb20
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x80], 0
jne 0x180077fc9
jmp 0x18007800c
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x88]
call fcn.18004e9b0
mov dword [rsp + 0x9c], eax
mov ecx, dword [rsp + 0x5c]
shl ecx, 0x10
mov edx, dword [rsp + 0x2c]
call fcn.18004eb20
mov ecx, dword [rsp + 0x9c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x180078022
mov eax, dword [rsp + 0x64]
shl eax, 0x10
mov edx, dword [rsp + 0x2c]
mov ecx, eax
call fcn.18004eb20
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
call fcn.18004eb20
add rsp, 0xa0
pop rdi
ret