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

Disassembly:
sub esp, 0xb0
push ebx
push ebp
mov ebp, dword [esp + 0xc0]
push esi
push edi
mov edi, dword [esp + 0xc4]
mov eax, dword [edi + 0x80]
lea ebx, [edi + 0x80]
mov esi, dword [eax + 0x5c]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x10180046
mov edx, dword [eax + 4]
lea ebx, [edi + 0x80]
test edx, edx
je 0x10180046
cmp dword [ebp], 5
mov eax, dword [eax]
jae 0x1017fffa
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x1018001c
push 0
push edx
push eax
lea eax, [esp + 0x28]
push eax
push edi
call fcn.1017d0e0
add esp, 0x14
test eax, eax
jne 0x10180581
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
test dword [eax + 0x80], 0x420
je 0x10180040
push edx
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.__lu___lu_:_LOG_REQ_max_lsn:___lu___lu_
push edi
call fcn.1013af50
add esp, 0x18
lea ebx, [edi + 0x80]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push edi
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x9c], 0
movq qword [esp + 0x94], xmm0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], ecx
call fcn.10121ca0
add esp, 8
test eax, eax
jne 0x10180581
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x101800b8
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x101801d5
lea ebx, [edi + 0x80]
or dword [esi + 0x31c], 0x20000
mov eax, dword [ebx]
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x101800ed
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x101801d5
lea eax, [edi + 0x80]
mov dword [esp + 0x14], eax
push 0x1b
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call fcn.10122300
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10180140
push eax
push 0x40
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x5c]
push eax
push 0xb
push dword [esp + 0xe4]
push edi
call fcn.1013b560
mov eax, dword [esp + 0x34]
add esp, 0x1c
mov eax, dword [eax + 0x10]
add dword [esp + 0x28], eax
jmp 0x101802ab
mov ebx, dword [esp + 0x14]
cmp esi, 0xffff86f4
jne 0x101802a3
xor ebx, ebx
push 7
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x24]
call fcn.10122300
mov esi, eax
add esp, 0x10
inc ebx
cmp esi, 0xffff86f4
jne 0x101801e5
cmp ebx, 0xa
jl 0x10180152
mov ebp, dword [esp + 0x10]
mov eax, dword [edi + 0x80]
xor ebx, ebx
cmp esi, 2
cmovne ebx, esi
mov eax, dword [eax + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x101801a6
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x101801d5
and dword [ebp + 0x31c], 0xfffdffff
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x1018056a
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x1018056a
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0xb0
ret
test esi, esi
jne 0x1018017d
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x74], eax
jne 0x10180201
mov eax, dword [ecx]
cmp dword [esp + 0x78], eax
je 0x10180249
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jle 0x1018024d
mov ebx, dword [esp + 0x10]
test byte [ebx + 0x31c], 8
je 0x10180224
mov esi, 0xffff86f4
mov ebp, ebx
jmp 0x10180181
push 0
push 0
push 0
lea eax, [ebp + 8]
push eax
push 0x1c
push dword [esp + 0xe4]
push edi
call fcn.1013b560
add esp, 0x1c
mov ebp, ebx
xor esi, esi
jmp 0x10180181
mov dword [esp + 0x14], ecx
push dword [esp + 0xd0]
mov ebx, dword [esp + 0x14]
push ebp
push ebx
push dword [esp + 0x24]
push edi
call fcn.1017f8f0
mov esi, eax
add esp, 0x14
cmp esi, 0xffff86f4
jne 0x1018029d
test dword [ebx + 0x31c], 0x2000
je 0x10180218
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [ebp + 8]
push str.Request_for_LSN___lu___lu__not_found
push edi
call fcn.100d0920
add esp, 0x10
mov ebp, ebx
xor esi, esi
jmp 0x10180181
lea ebx, [edi + 0x80]
test esi, esi
jne 0x1018017d
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x318]
and eax, 2
mov dword [esp + 0x14], eax
je 0x101802f2
push 4
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0xdc]
lea eax, [esp + 0xb0]
push eax
push edi
call fcn.10139d60
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10180181
mov eax, dword [ebx]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x10180318
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x101801d5
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
mov dword [esp + 0x44], 0xb
mov eax, dword [eax + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x10180353
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x101801d5
test esi, esi
jne 0x1018052f
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x1018052f
nop word [eax + eax]
cmp dword [eax + 4], 0
je 0x1018052f
cmp dword [esp + 0x44], 0xb
jne 0x1018052f
push 0x10
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x24]
call fcn.10122300
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10180515
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x1c]
jne 0x101803c2
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x20]
je 0x1018052f
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x1018052f
cmp ecx, dword [esp + 0x24]
je 0x10180490
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x1c]
call fcn.10123660
mov esi, eax
add esp, 8
test esi, esi
jne 0x1018052f
xorps xmm0, xmm0
mov dword [esp + 0x70], eax
movups xmmword [esp + 0x58], xmm0
movq qword [esp + 0x68], xmm0
cmp dword [ebp + 0x20], 5
jae 0x1018041f
lea eax, [esp + 0x2c]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x58], eax
jmp 0x10180456
lea eax, [esp + 0x4c]
push eax
push 4
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
push edi
call fcn.1017c9b0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10180181
lea eax, [esp + 0x48]
xorps xmm0, xmm0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0xd0]
lea eax, [esp + 0x58]
push 0
push 0x40
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x7c], 0
push eax
push 0x10
push ebx
push edi
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x7c], xmm0
call fcn.1013b560
add esp, 0x1c
jmp 0x10180497
mov ebx, dword [esp + 0xd0]
cmp dword [esp + 0x14], 0
je 0x101804c9
push 0x40
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x38]
push eax
push eax
lea eax, [esp + 0xb0]
push eax
push edi
call fcn.10139e30
mov esi, eax
add esp, 0x18
cmp esi, 0xffff8751
jne 0x101804de
push 0
push 0
lea eax, [esp + 0x38]
push eax
push ebx
push edi
call fcn.1013b9e0
add esp, 0x14
mov esi, eax
test esi, esi
jne 0x10180509
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
add ecx, dword [eax + 0x10]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x28], ecx
jmp 0x10180370
cmp esi, 0xffff8701
jne 0x1018052f
xor esi, esi
jmp 0x1018052f
cmp esi, 0xffff86f4
jne 0x1018052f
test dword [ebp + 0x31c], 0x2000
mov eax, 0
cmovne esi, eax
cmp dword [esp + 0x14], 0
je 0x10180181
push 0x40
lea eax, [esp + 0xa4]
push eax
push edi
call fcn.10139dc0
add esp, 0xc
test eax, eax
je 0x10180181
test esi, esi
jne 0x10180181
cmp eax, 0xffff8701
cmovne esi, eax
jmp 0x10180181
push dword [esp + 0x18]
call fcn.10122190
add esp, 4
test eax, eax
je 0x1018057f
test ebx, ebx
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret