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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x44]
xor ecx, ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], ecx
mov ebp, dword [edi + 8]
mov dword [esp + 0x1c], ebp
test al, 0x20
jne 0x1013f996
cmp dword [edi + 0x34], ecx
jne 0x1013f996
mov edx, 0x2000000
test edx, eax
je 0x1013f96b
push 0x11
push ebp
call fcn.101596a4
test dword [ebx + 4], 0x800
mov esi, eax
pop ecx
pop ecx
je 0x1013f939
mov eax, dword [ebx + 0x14]
push dword [eax + 0x10]
push str.REUSE_LIST_SUBQUERY__d
push 0
push edi
call fcn.1015fa1f
add esp, 0x10
push dword [ebx + 0x2c]
push dword [ebx + 0x30]
push 0xc
push ebp
call fcn.101596d3
push dword [ebx + 0x1c]
push dword [esp + 0x68]
push 0x62
push ebp
call fcn.101596d3
push esi
push ebp
call fcn.1015fcbe
mov ecx, dword [ebp + 0x6c]
add esp, 0x28
mov dword [eax + 8], ecx
jmp 0x1013fc69
or eax, edx
mov dword [ebx + 4], eax
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push ecx
push 0x45
push ebp
mov dword [ebx + 0x30], eax
call fcn.101596d3
inc eax
push 0x11
push ebp
mov dword [ebx + 0x2c], eax
call fcn.101596a4
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
push eax
mov dword [esp + 0x1c], eax
call fcn.101468a1
mov esi, eax
mov eax, dword [esp + 0x58]
push esi
push eax
push 0x64
push ebp
mov dword [esp + 0x60], esi
mov dword [ebx + 0x1c], eax
call fcn.101596d3
push 1
push esi
push dword [edi]
mov dword [esp + 0x48], eax
call fcn.1014c3a0
mov esi, eax
add esp, 0x20
test dword [ebx + 4], 0x800
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
je 0x1013fafa
push dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, str.CORRELATED
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov ecx, 0x1025e560
cmove ecx, eax
push ecx
push str._sLIST_SUBQUERY__d
push 1
push edi
call fcn.1015fa1f
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x4c]
cmp dword [ecx], eax
jne 0x1013fc18
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
xor eax, eax
push ebx
push edi
mov byte [esp + 0x34], 0xb
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.10129cf7
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
push ecx
push eax
push edi
and dword [eax + 8], 0
call fcn.10153d2c
add esp, 0x14
test eax, eax
je 0x1013fa83
cmp dword [esp + 0x40], 0
je 0x1013fa77
push dword [esp + 0x40]
push dword [edi]
call fcn.10141a5b
pop ecx
pop ecx
push esi
call fcn.1014c558
pop ecx
jmp 0x1013fc69
cmp dword [esp + 0x40], 0
je 0x1013fa97
push dword [esp + 0x40]
push dword [edi]
call fcn.10141a5b
pop ecx
pop ecx
and dword [esp + 0x20], 0
cmp dword [esp + 0x4c], 0
jle 0x1013fc18
mov eax, dword [esp + 0x14]
lea ebx, [esi + 0x14]
mov ebp, dword [esp + 0x20]
add eax, 4
mov esi, dword [esp + 0x4c]
lfence
mov dword [esp + 0x14], eax
push ebp
push dword [esp + 0x1c]
call fcn.101628ca
mov ecx, dword [esp + 0x1c]
push dword [ecx]
push eax
push edi
call fcn.1014ecdb
add dword [esp + 0x28], 0x14
add esp, 0x14
inc ebp
mov dword [ebx], eax
lea ebx, [ebx + 4]
cmp ebp, esi
jl 0x1013fac0
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jmp 0x1013fc18
test eax, eax
je 0x1013fc18
push dword [esp + 0x18]
call fcn.1014366e
pop ecx
mov cl, al
cmp cl, 0x40
jg 0x1013fb1a
mov byte [esp + 0x50], 0x41
jmp 0x1013fb2a
push 0x43
cmp cl, 0x45
movzx eax, cl
pop edx
cmove eax, edx
mov byte [esp + 0x50], al
test esi, esi
je 0x1013fb3c
push dword [ebx + 0xc]
push edi
call fcn.10145432
pop ecx
pop ecx
mov dword [esi + 0x14], eax
push edi
call fcn.10149be5
push edi
mov dword [esp + 0x54], eax
call fcn.10149be5
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
pop ecx
pop ecx
lea edx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x1013fc01
mov esi, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
test esi, esi
je 0x1013fb9a
push eax
call fcn.10146240
pop ecx
test eax, eax
jne 0x1013fb96
push esi
push ebp
call fcn.10159a6c
and dword [ebx + 4], 0xfdffffff
xor esi, esi
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
push dword [esp + 0x4c]
push eax
push edi
call fcn.1014ecdb
push 1
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x28]
push 1
push dword [esp + 0x68]
push 0x5b
push ebp
call fcn.1014ecdb
push 1
push dword [esp + 0x78]
push dword [esp + 0x44]
push dword [esp + 0x88]
push 0x83
push ebp
call fcn.1014ecdb
mov ecx, dword [esp + 0x5c]
add esp, 0x40
mov edx, dword [esp + 0x20]
dec ecx
add edx, 0x14
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
test ecx, ecx
jg 0x1013fb6f
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x24]
push dword [esp + 0x4c]
push edi
call fcn.10152995
push dword [esp + 0x1c]
push edi
call fcn.10152995
add esp, 0x10
test esi, esi
je 0x1013fc2c
push 0xfffffffffffffff7
push esi
push dword [esp + 0x30]
push ebp
call fcn.1014ecdb
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1013fc69
push eax
push ebp
call fcn.1015fcbe
mov ecx, dword [ebp + 0x6c]
mov dword [eax + 8], ecx
push dword [ebx + 0x30]
push 0x41
push ebp
call fcn.101596ba
mov esi, dword [ebp + 0x6c]
mov eax, dword [ebx + 0x2c]
dec esi
dec eax
push eax
push ebp
call fcn.1015fcbe
add esp, 0x1c
mov dword [eax + 4], esi
and dword [edi + 0x1c], 0
mov byte [edi + 0x13], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret