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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8a0
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x8b0]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
je 0x1400030a9
mov rax, qword [rsp + 0x8b0]
cmp dword [rax + 0x18], 6
jb 0x1400030a9
mov rax, qword [rsp + 0x8b0]
cmp dword [rax + 0x1c], 1
jb 0x1400030a9
mov rax, qword [rsp + 0x8b0]
add rax, 0x3c
mov r8d, 0x104
lea rdx, [rsp + 0x680]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHAnsiToUnicode]
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
mov dword [rsp + 0xe0], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x680]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov dword [rsp + 0x168], 0xaac56b
mov eax, 0xcd44
mov word [rsp + 0x16c], ax
mov eax, 0x11d0
mov word [rsp + 0x16e], ax
mov byte [rsp + 0x170], Ordinal_143
mov byte [rsp + 0x171], Ordinal_200
mov byte [rsp + 0x172], 0
mov byte [rsp + 0x173], 0xc0
mov byte [rsp + 0x174], reloc.WLDAP32.dll_Ordinal_79
mov byte [rsp + 0x175], Ordinal_200
mov byte [rsp + 0x176], __WSAFDIsSet
mov byte [rsp + 0x177], 0xee
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
mov dword [rsp + 0x100], 0x58
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov dword [rsp + 0x118], 2
mov dword [rsp + 0x11c], 0
mov dword [rsp + 0x120], 1
mov dword [rsp + 0x130], 1
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x14c], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x128], rax
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x168]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x130], 2
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x168]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
cmp dword [rsp + 0x60], 0
je 0x1400030a9
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
mov eax, dword [rax + 0x10]
and eax, 2
test eax, eax
je 0x1400031a9
mov qword [rsp + 0x48], 0
jmp 0x1400030d7
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x8b0]
add rax, 0x140
mov rcx, rax
call fcn.140003750
cmp qword [rsp + 0x48], rax
jae 0x1400031a9
mov rax, qword [rsp + 0x8b0]
add rax, 0x140
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.140003720
mov eax, dword [rax + 8]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x8b0]
add rax, 0x140
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
call fcn.140003720
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x8b0]
add rax, 0x140
mov qword [rsp + 0xa0], rax
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
call fcn.140019b30
mov dword [rsp + 0x68], eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call fcn.140003720
mov ecx, dword [rsp + 0x68]
cmp ecx, dword [rax + 0xc]
je 0x1400031a4
mov eax, 1
jmp 0x140003659
jmp 0x1400030ca
mov rax, qword [rsp + 0x8b0]
mov eax, dword [rax + 0x10]
and eax, 4
test eax, eax
je 0x140003579
call fcn.14001b7f0
test eax, eax
je 0x1400031d2
mov eax, 1
jmp 0x140003659
mov dword [rsp + 0x17c], 0
call fcn.14001b1f0
lea rdx, [rsp + 0x17c]
mov rcx, rax
call fcn.14001b4c0
cmp dword [rsp + 0x17c], 0
je 0x140003206
mov eax, 1
jmp 0x140003659
mov ecx, 0xdeadc0de
call fcn.140004ef0
mov rcx, rax
call fcn.14001b3d0
jmp 0x140003224
lea rcx, [0x14009b960]
call fcn.14001a9f0
lea rdx, str.ZwSetInformationObject
mov rcx, rax
call fcn.14001aa60
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov byte [rsp + 0x160], 0
mov byte [rsp + 0x161], 1
call fcn.14001b1f0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov r9d, 2
lea r8, [rsp + 0x160]
mov edx, 4
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x88]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x140003320
mov rax, qword [rsp + 0x8b0]
cmp dword [rax + 4], 0
je 0x140003338
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
cmp dword [rax + 0x20], 0
je 0x140003468
mov rax, qword [rsp + 0x8b0]
mov rax, qword [rax + 0x170]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x198]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov rcx, 0xffffffffffffffff
call qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov eax, 0xc0000353
cmp qword [rsp + 0x58], rax
je 0x1400033aa
mov eax, 1
jmp 0x140003659
mov eax, 0xc0000353
cmp qword [rsp + 0x58], rax
jne 0x1400033cb
cmp qword [rsp + 0x198], 0
je 0x1400033cb
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
mov edx, dword [rax + 0x2c]
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rax + 0x30]
call fcn.140019b30
mov rcx, qword [rsp + 0x8b0]
cmp eax, dword [rcx + 0x38]
je 0x1400033fe
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
mov rax, qword [rax + 0x170]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x188]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov rcx, 0xffffffffffffffff
call qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov eax, 0xc0000353
cmp qword [rsp + 0x58], rax
jne 0x140003463
cmp qword [rsp + 0x188], 8
je 0x140003463
mov eax, 1
jmp 0x140003659
jmp 0x140003579
mov rax, qword [rsp + 0x8b0]
mov rax, qword [rax + 0x168]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x180]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov ecx, 0xffffffff
call qword [rsp + 0xb8]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xc0000353
je 0x1400034c3
mov eax, 1
jmp 0x140003659
cmp dword [rsp + 0x40], 0xc0000353
jne 0x1400034e1
cmp dword [rsp + 0x180], 0
je 0x1400034e1
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
mov edx, dword [rax + 0x2c]
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rax + 0x30]
call fcn.140019b30
mov rcx, qword [rsp + 0x8b0]
cmp eax, dword [rcx + 0x38]
je 0x140003514
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
mov rax, qword [rax + 0x168]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x178]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov ecx, 0xffffffff
call qword [rsp + 0xc0]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xc0000353
jne 0x140003579
cmp dword [rsp + 0x178], 4
je 0x140003579
mov eax, 1
jmp 0x140003659
mov rax, qword [rsp + 0x8b0]
mov eax, dword [rax + 0x10]
and eax, 8
test eax, eax
je 0x140003657
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0x1e0], 0x100010
lea rdx, [rsp + 0x1b0]
mov rcx, 0xfffffffffffffffe
call fcn.14001b250
test eax, eax
je 0x1400035f9
cmp qword [rsp + 0x1f8], 0
jne 0x1400035f2
cmp qword [rsp + 0x200], 0
jne 0x1400035f2
cmp qword [rsp + 0x208], 0
jne 0x1400035f2
cmp qword [rsp + 0x210], 0
je 0x1400035f9
mov eax, 1
jmp 0x140003659
lea rdx, [0x140001d90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rax, [0x140001d80]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x8b0]
call qword [rsp + Ordinal_211]
lea rcx, [0x140001d90]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov rax, qword [rsp + 0x8b0]
cmp dword [rax], 0
je 0x140003657
mov eax, 1
jmp 0x140003659
xor eax, eax
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400889e0
add rsp, 0x8a0
pop rdi
ret