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

Disassembly:
mov eax, 0x88
call fcn.00693bc0
sub rsp, rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x78], r13
xor r13d, r13d
cmp dword [rcx + 0x48], 0x2110
mov qword [rsp + 0x68], r15
mov rbx, rcx
mov r15, r13
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x34], 0xffffffff
jne 0x5a1c65
mov dword [rcx + 0x48], 0x2111
mov rax, qword [rcx + 8]
mov qword [rsp + 0xa8], rdi
mov edi, 1
mov dword [rcx + 0x1a8], edi
mov edx, 0x2111
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea r8d, [rdx + 1]
mov r9d, edi
mov rcx, rbx
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x20], 0x4000
call qword [rax + 0x60]
cmp dword [rsp + 0x38], r13d
movsxd r14, eax
jne 0x5a1cb7
mov eax, r14d
jmp 0x5a1e3d
mov rdx, qword [rbx + 0x58]
mov dword [rbx + 0x1a8], r13d
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x40], rdx
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x80], r12
or ecx, eax
mov eax, dword [rbx]
mov r12, rdx
mov qword [rsp + 0x50], rdx
add rdx, 2
cmp eax, 0xfeff
mov dword [rbx + 0x1ac], ecx
mov qword [rsp + 0x40], rdx
jne 0x5a1d3e
cmp ecx, eax
jg 0x5a1d42
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.00575660
mov rdx, qword [rsp + 0x40]
bt eax, 0xd
jae 0x5a1d9c
movzx eax, byte [rdx + 0x20]
cmp byte [rax + rdx + 0x21], r13b
jne 0x5a1d9c
mov eax, edi
jmp 0x5a1e25
cmp ecx, eax
jge 0x5a1d0f
mov edx, 0x8a
lea r9, [0x0073bed8]
mov r8d, 0x10b
lea ecx, [rdx - 0x76]
mov dword [rsp + 0x20], 0x3c7
call fcn.005ad900
mov r11d, dword [rbx + 0x1ac]
mov eax, r11d
and eax, 0xffffff00
cmp eax, 0x300
jne 0x5a1d8f
cmp qword [rbx + 0xe8], r13
jne 0x5a1d8f
cmp qword [rbx + 0xf0], r13
jne 0x5a1d8f
mov dword [rbx], r11d
mov dword [rsp + 0x30], 0x46
jmp 0x5a27c1
mov rax, qword [rdx]
mov rcx, qword [rbx + 0x80]
mov qword [rcx + 0xc0], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 0xc8], rax
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0xd0], rax
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0xd8], rax
mov rdx, qword [rsp + 0x40]
add rdx, 0x20
mov qword [rsp + 0x40], rdx
inc rdx
cmp dword [rbx + 0x3c], r13d
movzx ebp, byte [rdx - 1]
mov qword [rsp + 0x40], rdx
mov dword [rbx + 0xa8], r13d
je 0x5a1e64
bt dword [rbx + 0x19c], 0x10
jae 0x5a1e64
mov edx, edi
mov rcx, rbx
call fcn.00578cb0
test eax, eax
jne 0x5a1e9a
lea ebx, [rax - 1]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x5a1e23
call fcn.005c0830
mov eax, ebx
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x90]
add rsp, 0x88
ret
lea r9, [r12 + r14]
mov r8d, ebp
mov rcx, rbx
call fcn.00579830
cmp eax, edi
jne 0x5a1e7f
mov dword [rbx + 0xa8], edi
jmp 0x5a1e9a
cmp eax, 0xffffffff
je 0x5a283b
mov edx, edi
mov rcx, rbx
call fcn.00578cb0
test eax, eax
je 0x5a2831
mov rdi, qword [rsp + 0x40]
mov eax, dword [rbx]
add rdi, rbp
cmp eax, 0xfeff
mov qword [rsp + 0x40], rdi
je 0x5a1ebb
cmp eax, 0x100
jne 0x5a2010
movzx esi, byte [rdi]
inc rdi
cmp esi, 0x100
mov qword [rsp + 0x40], rdi
jbe 0x5a1efd
mov edx, 0x8a
lea r9, [0x0073bee8]
mov r8d, 0x134
lea ecx, [rdx - 0x76]
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x20], 0x419
call fcn.005ad900
jmp 0x5a27c1
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.00575660
bt eax, 0xd
jae 0x5a2003
test esi, esi
je 0x5a2003
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rsp + 0x40]
mov r8, rsi
add rcx, 0x104
call sub.msvcrt.dll_memcpy
mov r11, qword [rbx + 0x170]
mov rax, qword [r11 + 0xc0]
test rax, rax
je 0x5a1f9c
mov rdx, qword [rbx + 0x88]
mov r8d, esi
mov rcx, rbx
add rdx, 0x104
call rax
test eax, eax
jne 0x5a1ffb
lea r9, [0x0073bef8]
lea ecx, [rax + 0x14]
mov edx, 0x8a
mov r8d, 0x134
mov dword [rsp + 0x30], Ordinal_41
mov dword [rsp + 0x20], 0x42a
call fcn.005ad900
jmp 0x5a27c1
mov rcx, qword [rbx + 0x88]
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8d, dword [rcx + 0x204]
lea rdx, [rcx + 4]
add rcx, 0x104
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x5a1ffb
mov edx, 0x8a
lea r9, [0x0073bf08]
mov r8d, 0x134
lea ecx, [rdx - 0x76]
mov dword [rsp + 0x30], Ordinal_41
mov dword [rsp + 0x20], 0x434
call fcn.005ad900
jmp 0x5a27c1
mov dword [rsp + 0x34], 2
mov rdi, qword [rsp + 0x40]
add rdi, rsi
mov qword [rsp + 0x40], rdi
movzx eax, byte [rdi]
movzx esi, byte [rdi + 1]
add rdi, 2
shl eax, 8
mov qword [rsp + 0x40], rdi
or esi, eax
jne 0x5a2058
test ebp, ebp
je 0x5a2058
mov edx, 0x8a
lea r9, [0x0073bf18]
lea ecx, [rsi + 0x14]
lea r8d, [rdx + 0x2d]
mov dword [rsp + 0x30], gethostbyaddr
mov dword [rsp + 0x20], 0x443
call fcn.005ad900
jmp 0x5a27c1
movsxd rbp, esi
add r12, r14
lea rax, [rdi + rbp]
cmp rax, r12
jb 0x5a2094
mov edx, 0x8a
lea r9, [0x0073bf28]
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x15]
mov dword [rsp + 0x20], 0x44a
call fcn.005ad900
jmp 0x5a27c1
test esi, esi
jle 0x5a20b9
lea r9, [rsp + 0x48]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.005758c0
test rax, rax
je 0x5a2828
mov rdi, qword [rsp + 0x40]
add rdi, rbp
cmp dword [rbx + 0xa8], r13d
mov qword [rsp + 0x40], rdi
je 0x5a2143
test esi, esi
jle 0x5a2143
mov rax, qword [rbx + 0x130]
mov edi, r13d
mov rcx, qword [rax + 0xd0]
mov esi, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.005c0870
test eax, eax
jle 0x5a2111
mov rcx, qword [rsp + 0x48]
mov edx, edi
call fcn.005c0880
cmp dword [rax + 0x10], esi
je 0x5a213e
mov rcx, qword [rsp + 0x48]
inc edi
call fcn.005c0870
cmp edi, eax
jl 0x5a20f0
mov edx, 0x8a
lea r9, [0x0073bf38]
mov dword [rsp + 0x30], gethostbyaddr
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x4d]
mov dword [rsp + 0x20], 0x482
call fcn.005ad900
jmp 0x5a27c1
mov rdi, qword [rsp + 0x40]
movzx r8d, byte [rdi]
inc rdi
lea rdx, [r8 + rdi]
mov qword [rsp + 0x40], rdi
mov rsi, r8
cmp rdx, r12
jbe 0x5a2188
mov edx, 0x8a
lea r9, [0x0073bf48]
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x15]
mov dword [rsp + 0x20], 0x48d
call fcn.005ad900
jmp 0x5a27c1
test r8d, r8d
mov ecx, r13d
mov rax, r13
jle 0x5a21a3
cmp byte [rax + rdi], r13b
je 0x5a21a3
inc rax
inc ecx
cmp rax, r8
jl 0x5a2193
cmp ecx, r8d
mov qword [rsp + 0x40], rdx
jl 0x5a21da
mov edx, 0x8a
lea r9, [0x0073bf58]
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x31]
mov dword [rsp + 0x20], 0x49b
call fcn.005ad900
jmp 0x5a27c1
cmp dword [rbx], 0x300
jl 0x5a222a
mov r8, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, r14d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.00590aa0
test eax, eax
jne 0x5a222a
mov edx, 0x8a
lea r9, [0x0073bf68]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x59]
mov dword [rsp + 0x20], 0x4a6
call fcn.005ad900
jmp 0x5a27c1
mov rcx, rbx
call fcn.0058fd90
test eax, eax
jg 0x5a225f
mov edx, 0x8a
lea r9, [0x0073bf78]
mov dword [rsp + 0x20], 0x4ab
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x58]
call fcn.005ad900
mov ebx, dword [rsp + 0x34]
jmp 0x5a1e14
mov r8, qword [rbx + 0x80]
mov r14d, 1
mov r9d, reloc.WLDAP32.dll_Ordinal_32
add r8, 0xa0
mov edx, r14d
mov rcx, rbx
call fcn.0057f540
test eax, eax
jg 0x5a2295
mov dword [rsp + 0x30], 0x50
jmp 0x5a27c1
cmp dword [rbx + 0xa8], r13d
jne 0x5a23ff
cmp dword [rbx], 0x301
jl 0x5a23ff
cmp qword [rbx + 0x248], r13
je 0x5a23ff
mov rax, qword [rbx + 0x130]
mov qword [rsp + 0x50], r13
mov rcx, rbx
mov dword [rax + 0x10], gethostbyaddr
mov rax, qword [rbx + 0x250]
mov rdx, qword [rbx + 0x130]
mov r9, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r8, [rdx + 0x10]
add rdx, 0x14
mov qword [rsp + 0x20], rax
call qword [rbx + 0x248]
test eax, eax
je 0x5a23ff
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbx + 0x130]
mov dword [rbx + 0xa8], r14d
mov qword [rcx + 0xe0], rax
mov rax, qword [rbx + 0x130]
mov dword [rax + 0xb8], r13d
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], r13
test rcx, rcx
jne 0x5a239b
mov rcx, rbx
call fcn.00572c30
mov rdx, qword [rbx + 0x130]
mov rcx, rbx
mov rdx, qword [rdx + 0xe0]
mov r8, rax
call fcn.00592c80
test rax, rax
mov rcx, rax
mov qword [rsp + 0x50], rax
jne 0x5a239b
mov edx, 0x8a
lea r9, [0x0073bf88]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x37]
mov dword [rsp + 0x30], Ordinal_41
mov dword [rsp + 0x20], 0x4d0
call fcn.005ad900
jmp 0x5a27c1
mov rax, qword [rbx + 0x130]
mov qword [rax + 0xd0], rcx
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x5a23ba
call fcn.005c0830
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x5a23cb
call fcn.005c0830
mov rcx, qword [rbx + 0x130]
mov rcx, qword [rcx + 0xe0]
call fcn.005c0910
mov rcx, qword [rbx + 0x130]
mov qword [rbx + 0xb8], rax
mov rcx, qword [rcx + 0xe0]
call fcn.005c0910
mov qword [rbx + 0xc0], rax
mov rax, qword [rbx + 0x80]
mov qword [rax + COleControlSite::XOleClientSite::AddRef], r13
mov rax, qword [rbx + 0x130]
mov r12d, dword [rax + 0xc8]
test r12d, r12d
je 0x5a255a
bt dword [rbx + 0x19c], 0x11
jae 0x5a245d
mov edx, 0x8a
lea r9, [0x0073bf98]
mov r8d, 0x154
lea ecx, [rdx - 0x76]
mov dword [rsp + 0x30], 0x50
mov dword [rsp + 0x20], 0x4f0
call fcn.005ad900
jmp 0x5a27c1
mov rcx, qword [rbx + 0x170]
mov ebp, r13d
mov rcx, qword [rcx + 0xf8]
call fcn.005c0870
test eax, eax
jle 0x5a24c6
nop
nop
nop
mov rcx, qword [rbx + 0x170]
mov edx, ebp
mov rcx, qword [rcx + 0xf8]
call fcn.005c0880
mov r15, rax
cmp r12d, dword [rax]
je 0x5a24b8
mov rcx, qword [rbx + 0x170]
inc ebp
mov rcx, qword [rcx + 0xf8]
call fcn.005c0870
cmp ebp, eax
jl 0x5a2480
jmp 0x5a24c6
mov rax, qword [rbx + 0x80]
mov qword [rax + COleControlSite::XOleClientSite::AddRef], r15
mov rax, qword [rbx + 0x80]
cmp qword [rax + 0x408], r13
jne 0x5a2505
mov edx, 0x8a
lea r9, [0x0073bfa8]
mov r8d, 0x155
lea ecx, [rdx - 0x76]
mov dword [rsp + 0x30], 0x50
mov dword [rsp + 0x20], Ordinal_1287
call fcn.005ad900
jmp 0x5a27c1
test rsi, rsi
mov edx, r13d
mov rcx, r13
jle 0x5a2523
movzx eax, byte [rcx + rdi]
cmp eax, r12d
je 0x5a2523
inc rcx
inc edx
cmp rcx, rsi
jl 0x5a2510
cmp edx, esi
jl 0x5a25cc
mov edx, 0x8a
lea r9, [0x0073bfb8]
mov r8d, 0x156
lea ecx, [rdx - 0x76]
mov dword [rsp + 0x30], gethostbyaddr
mov dword [rsp + 0x20], 0x50c
call fcn.005ad900
jmp 0x5a27c1
cmp dword [rbx + 0xa8], r13d
jne 0x5a25cc
bt dword [rbx + 0x19c], 0x11
jb 0x5a25cc
mov rax, qword [rbx + 0x170]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x5a25cc
call fcn.005c0870
mov ebp, r13d
test eax, eax
mov r12d, eax
jle 0x5a25c9
nop
mov rcx, qword [rbx + 0x170]
mov edx, ebp
mov rcx, qword [rcx + 0xf8]
call fcn.005c0880
test rsi, rsi
mov rcx, r13
mov edx, dword [rax]
mov r15, rax
jle 0x5a25c2
movzx eax, byte [rcx + rdi]
cmp edx, eax
je 0x5a25e3
inc rcx
cmp rcx, rsi
jl 0x5a25b2
inc ebp
cmp ebp, r12d
jl 0x5a2590
mov r15, r13
cmp dword [rbx + 0xa8], r13d
jne 0x5a26d0
test r15, r15
jne 0x5a25f3
mov ecx, r13d
jmp 0x5a25f6
mov rax, qword [rbx + 0x80]
mov qword [rax + COleControlSite::XOleClientSite::AddRef], r15
jmp 0x5a25cc
mov ecx, dword [r15]
mov rax, qword [rbx + 0x130]
mov dword [rax + 0xc8], ecx
mov rax, qword [rbx + 0x130]
mov rcx, qword [rax + 0xe0]
test rcx, rcx
je 0x5a261b
call fcn.005c0830
mov rcx, qword [rbx + 0x130]
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0xe0], rax
cmp qword [rsp + 0x48], r13
jne 0x5a2662
mov edx, 0x8a
lea r9, [0x0073bfc8]
mov dword [rsp + 0x30], gethostbyaddr
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x2c]
mov dword [rsp + 0x20], 0x546
call fcn.005ad900
jmp 0x5a27c1
mov rcx, rbx
mov qword [rsp + 0x48], r13
call fcn.00572c30
mov rdx, qword [rbx + 0x130]
mov rcx, rbx
mov rdx, qword [rdx + 0xe0]
mov r8, rax
call fcn.00592c80
test rax, rax
mov r11, rax
jne 0x5a26bd
mov edx, 0x8a
lea r9, [0x0073bfd8]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x37]
mov dword [rsp + 0x30], Ordinal_41
mov dword [rsp + 0x20], 0x550
call fcn.005ad900
jmp 0x5a27c1
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], r11
jmp 0x5a278c
bt dword [rbx + 0x19c], 0x1e
mov rdi, r13
jae 0x5a2770
mov rax, qword [rbx + 0x130]
mov ebp, r13d
mov rsi, qword [rax + 0xe0]
mov rcx, rsi
call fcn.005c0870
test eax, eax
jle 0x5a2752
nop
mov edx, ebp
mov rcx, rsi
call fcn.005c0880
mov rcx, rsi
test byte [rax + 0x1c], 0x20
cmovne r13, rax
test byte [rax + 0x28], 2
cmovne rdi, rax
inc ebp
call fcn.005c0870
cmp ebp, eax
jl 0x5a2700
test r13, r13
je 0x5a273d
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], r13
jmp 0x5a278c
test rdi, rdi
je 0x5a2752
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rdi
jmp 0x5a278c
mov rax, qword [rbx + 0x130]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rax + 0xd0]
mov qword [rcx + 0x3a0], rax
jmp 0x5a278c
mov rax, qword [rbx + 0x130]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rax + 0xd0]
mov qword [rcx + 0x3a0], rax
mov ecx, dword [rbx]
mov eax, ecx
and eax, 0xffffff00
cmp eax, 0x300
jne 0x5a27ad
cmp ecx, 0x303
jl 0x5a27ad
test byte [rbx + 0x140], r14b
jne 0x5a27dc
mov rcx, rbx
call fcn.00594410
test eax, eax
jne 0x5a27dc
mov dword [rsp + 0x30], 0x50
mov r8d, dword [rsp + 0x30]
mov edx, 2
mov rcx, rbx
call fcn.00588860
mov ebx, dword [rsp + 0x34]
jmp 0x5a1e14
cmp dword [rbx], 0x300
jl 0x5a2819
mov rcx, rbx
call fcn.0058fe50
test eax, eax
jg 0x5a2819
mov edx, 0x8a
lea r9, [0x0073bfe8]
mov dword [rsp + 0x20], 0x58d
lea ecx, [rdx - 0x76]
lea r8d, [rdx + 0x58]
call fcn.005ad900
mov ebx, dword [rsp + 0x34]
jmp 0x5a1e14
mov ebx, dword [rsp + 0x34]
test ebx, ebx
cmovs ebx, r14d
jmp 0x5a1e14
mov ebx, dword [rsp + 0x34]
jmp 0x5a1e14
mov ebx, 0xffffffff
jmp 0x5a1e14
mov ebx, 0xffffffff
jmp 0x5a1e14