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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rdx, qword [rcx]
movzx r12d, byte [rcx + 0x42]
mov rbp, qword [rcx + 8]
mov r13, qword [rdx]
mov rdi, qword [rdx + 0x10]
dec r12d
movsxd r15, r12d
mov r14, rcx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x88], r15
js 0x1400784ca
mov rax, r15
lea rbx, [rcx + 0x3cc]
imul rax, rax, 0x58
add rbx, rax
cmp byte [rbx - 7], 0xaa
mov r13, qword [rbx + 0x14]
je 0x1400782c9
xor ebp, ebp
cmp byte [r14 + 0x47], 2
jne 0x14007823e
movzx eax, byte [r14 + 0x42]
dec eax
cmp r12d, eax
jne 0x14007823e
test dword [r13 + 0x28], 0x200
je 0x14007823e
mov rax, qword [r13 + 0x20]
test byte [rax + 0x64], 0x80
je 0x14007823e
movzx esi, word [r13 + 0x1e]
test esi, esi
jle 0x14007823e
mov rax, qword [rax + 0x10]
cmp word [rax + rsi*2], 0x24
jl 0x14007823e
mov ebp, dword [rdx + 0x38]
xor r15d, r15d
inc ebp
test esi, esi
jle 0x1400781ef
mov r8d, dword [rbx - 0x2c]
lea eax, [r15 + rbp]
mov r9d, r15d
mov edx, 0x5a
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140031f40
inc r15d
cmp r15d, esi
jl 0x1400781c3
mov rdx, qword [rsp + 0x80]
lea eax, [rsi + 1]
mov rcx, rdi
mov dword [rsp + 0x28], esi
add dword [rdx + 0x38], eax
cmp byte [rbx - 7], 4
mov r8d, dword [rbx - 0x2c]
mov edx, Ordinal_26
mov dword [rsp + 0x20], ebp
lea eax, [rdx - 3]
cmove edx, eax
xor r9d, r9d
call fcn.140032258
mov r9d, dword [rbx]
and dword [rsp + 0x20], 0
mov edx, reloc.Cabinet.dll_FCIAddFile
mov rcx, rdi
mov ebp, eax
lea r8d, [rdx - 0xa]
call fcn.140031f40
mov r15, qword [rsp + 0x88]
mov edx, dword [rbx - 0x1c]
mov rcx, rdi
call fcn.14003233c
movzx ecx, byte [rbx - 6]
movzx edx, byte [rbx - 7]
mov r9d, dword [rbx]
mov r8d, dword [rbx - 4]
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.140031f40
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140078283
movzx edx, byte [rbx - 5]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rbx - 0x10], 0
je 0x1400782b0
mov edx, dword [rbx - 0xc]
mov rcx, rdi
call fcn.14003233c
mov r9d, dword [rbx]
mov r8d, dword [rbx - 0x10]
and dword [rsp + 0x20], 0
dec r9d
mov edx, 0x31
mov rcx, rdi
call fcn.140031f40
test ebp, ebp
je 0x1400782d4
mov edx, ebp
mov rcx, rdi
call fcn.1400328fc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
jmp 0x1400782d4
mov edx, dword [rbx - 0x1c]
mov rcx, rdi
call fcn.14003233c
test dword [r13 + 0x28], 0x800
je 0x140078394
cmp dword [rbx + 4], 0
jle 0x140078394
mov edx, dword [rbx - 0x24]
mov rcx, rdi
call fcn.14003233c
mov ebp, dword [rbx + 4]
lea eax, [rbp - 1]
movsxd rcx, eax
mov rax, qword [rbx + 0xc]
lea rdx, [rcx + rcx*4]
lea rsi, [rax + rdx*4]
jmp 0x14007838c
mov edx, dword [rsi + 4]
mov rcx, rdi
inc edx
call fcn.1400328fc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
cmp byte [rsi + 0x10], 0xaa
je 0x140078370
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x140078358
mov r9d, dword [rdi + 0x90]
mov r8d, dword [rbx - 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 8]
add r9d, 2
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140032258
movzx edx, byte [rsi + 0x10]
mov r9d, dword [rsi + 4]
mov r8d, dword [rsi]
and dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.140031f40
mov edx, dword [rsi + 4]
mov rcx, rdi
dec edx
call fcn.1400328fc
mov ecx, dword [rdi + 0x90]
dec ebp
mov dword [rax + 8], ecx
sub rsi, 0x14
test ebp, ebp
jg 0x14007830e
mov edx, dword [rbx - 0x28]
mov rcx, rdi
call fcn.14003233c
mov r9d, dword [rbx - 0x20]
test r9d, r9d
je 0x1400783e7
and dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xb]
call fcn.140031f40
mov edx, dword [rbx - 0x20]
mov rcx, rdi
call fcn.1400328fc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
mov edx, dword [rbx - 0x20]
mov rcx, rdi
sub edx, 2
call fcn.1400328fc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [rbx - 0x34]
test r8d, r8d
je 0x140078497
mov esi, dword [r13 + 0x28]
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 0x2f]
mov rcx, rdi
call fcn.140031f40
xor r13d, r13d
mov ebp, eax
test sil, 0x40
jne 0x140078430
mov r8d, dword [rbx - 0x30]
xor r9d, r9d
mov edx, Ordinal_133
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.140031f40
bt esi, 9
jb 0x140078442
bt esi, 0xd
jae 0x14007845b
cmp qword [rbx + 4], r13
je 0x14007845b
mov r8d, dword [rbx - 0x2c]
xor r9d, r9d
mov edx, Ordinal_133
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.140031f40
cmp byte [rbx - 7], 0x42
mov r9d, dword [rbx - 0x18]
mov dword [rsp + 0x20], r13d
mov rcx, rdi
jne 0x140078478
mov r8d, dword [rbx - 4]
mov edx, reloc.WLDAP32.dll_Ordinal_12
jmp 0x14007847f
xor r8d, r8d
lea edx, [r8 + 0xb]
call fcn.140031f40
mov edx, ebp
mov rcx, rdi
call fcn.1400328fc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
mov rdx, qword [rsp + 0x80]
dec r15
dec r12d
sub rbx, 0x58
mov qword [rsp + 0x88], r15
test r15, r15
jns 0x140078154
mov rbp, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov edx, dword [r14 + 0x38]
mov rcx, rdi
call fcn.14003233c
mov r12, qword [rsp + 0x80]
xor esi, esi
cmp byte [r14 + 0x42], sil
jbe 0x14007863f
lea rbx, [r14 + 0x3e0]
movzx eax, byte [rbx - 0x1c]
mov rcx, qword [rbx]
imul rax, rax, 0x70
test byte [rax + rbp + 0x48], 0x10
mov r15, qword [rax + rbp + 0x28]
je 0x140078526
mov r9d, dword [rax + rbp + 0x40]
mov r8d, dword [rbx - 0x44]
mov edx, dword [rbx - 0x28]
and dword [rsp + 0x20], 0
mov rcx, r12
call fcn.140073330
jmp 0x14007862c
test dword [rcx + 0x28], 0x240
je 0x140078535
mov r10, qword [rcx + 0x20]
jmp 0x140078546
test dword [rcx + 0x28], 0x2000
je 0x14007862c
mov r10, qword [rbx - 0x10]
test r10, r10
je 0x14007862c
cmp byte [r14 + 0x45], 0
je 0x140078564
mov rax, qword [r10 + 0x18]
test byte [rax + 0x40], 0x20
je 0x14007862c
cmp byte [r13 + 0x61], 0
jne 0x14007862c
mov edx, dword [rbx - 0x28]
mov r9d, dword [rdi + 0x90]
mov rcx, rdi
call fcn.1400328fc
cmp dword [rbx - 0x28], r9d
jge 0x14007862c
sub r9d, dword [rbx - 0x28]
lea rdx, [rax + 4]
mov ebp, r9d
mov eax, dword [rbx - 0x44]
cmp dword [rdx], eax
jne 0x140078617
mov al, byte [rdx - 4]
cmp al, 0x5a
jne 0x140078601
test byte [r15 + 0x40], 0x20
movsxd r9, dword [rdx + 4]
je 0x1400785d1
mov r8, qword [r15 + 0x10]
jmp 0x1400785c3
mov eax, dword [r8 + 0x64]
and al, 3
cmp al, 2
je 0x1400785c8
mov r8, qword [r8 + 0x28]
test r8, r8
jne 0x1400785b5
mov rax, qword [r8 + 8]
movsx r9d, word [rax + r9*2]
movzx r8d, word [r10 + 0x60]
xor ecx, ecx
test r8d, r8d
jle 0x1400785f2
mov r11, qword [r10 + 8]
movsxd rax, ecx
cmp r9w, word [r11 + rax*2]
je 0x1400785f5
inc ecx
cmp ecx, r8d
jl 0x1400785e1
or ecx, 0xffffffff
movsx eax, cx
test eax, eax
js 0x140078617
mov dword [rdx + 4], eax
jmp 0x140078612
cmp al, 0x80
jne 0x14007860e
mov eax, dword [rbx - 0x40]
mov byte [rdx - 4], 0x87
jmp 0x140078615
cmp al, 0x15
jne 0x140078617
mov eax, dword [rbx - 0x40]
mov dword [rdx], eax
add rdx, 0x18
dec rbp
jne 0x140078596
mov rbp, qword [rsp + 0x90]
movzx eax, byte [r14 + 0x42]
inc esi
add rbx, 0x58
cmp esi, eax
jl 0x1400784f1
mov eax, dword [r14 + 0x3c]
mov rdx, r14
mov rcx, r13
mov dword [r12 + 0xac], eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14007402c