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

Disassembly:
sub esp, 0x3c
push edi
mov edi, dword [esp + 0x44]
test byte [edi + 0xb0], 8
je 0x100ef918
xor eax, eax
pop edi
add esp, 0x3c
ret
push ebx
mov ebx, dword [edi + 0x14]
push ebp
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [ebx + 0x78]
mov eax, dword [ebx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0xc], ebp
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x44], edx
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x100ef965
mov eax, dword [edx + 0x30]
jmp 0x100ef96b
mov eax, dword [ecx + 0x14]
add eax, dword [edx + 0x30]
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x14], eax
test esi, esi
jne 0x100efaf4
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x100efe06
test byte [edi + 0x54], 1
je 0x100ef9ba
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ef991
sub ecx, edx
push ecx
push dword [esp + 0x5c]
push 0
call fcn.101076e0
xor edx, edx
mov ecx, 0x11
add esp, 0xc
div ecx
mov eax, edx
mov dword [esp + 0x30], eax
jmp 0x100ef9d9
push 0x14
lea eax, [edi + 0x20]
push eax
push 0
call fcn.101076e0
xor edx, edx
mov ecx, 0x11
add esp, 0xc
div ecx
mov eax, edx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x2c
add ecx, eax
test byte [edi + 0xb0], 1
mov dword [esp + 0x14], ecx
je 0x100efa66
mov eax, dword [ecx]
test eax, eax
je 0x100efa0b
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push eax
push dword [esp + 0x60]
push ecx
push edi
push ebx
call fcn.100f0a60
mov ecx, eax
add esp, 0x18
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax]
test eax, eax
je 0x100efa4a
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
test ecx, ecx
jne 0x100f00ef
mov esi, dword [esp + 0x54]
test esi, esi
je 0x100efa66
mov dword [esp + 0x34], 1
test byte [edi + 0x54], 1
jne 0x100efc85
mov ecx, dword [esp + 0x60]
and ecx, 1
add ecx, ecx
mov edx, ecx
or edx, 4
test byte [esp + 0x60], 0x10
cmove edx, ecx
test dword [esp + 0x60], 0x400
je 0x100efa9a
or dword [edi + 0xb0], 0x10
or edx, 0x20
mov eax, dword [ebx]
mov ecx, edx
or ecx, 8
mov eax, dword [eax + 0x114]
test al, 0x10
cmove ecx, edx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x100efb56
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x100efad9
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x100efb4a
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x58], eax
jmp 0x100efb5a
mov eax, dword [esi]
test eax, eax
je 0x100efb0c
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
cmp dword [esi + 0x38], ebp
jne 0x100efb1c
inc dword [esi + 4]
mov dword [esp + 0x34], 1
mov eax, dword [esi]
test eax, eax
je 0x100efb34
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
cmp dword [esi + 0x38], ebp
je 0x100efa66
pop esi
pop ebp
pop ebx
mov eax, 0x16
pop edi
add esp, 0x3c
ret
mov eax, dword [ecx + 0x14]
add eax, dword [esi + 0x1c]
mov dword [esp + 0x58], eax
jmp 0x100efb5a
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x60]
push eax
push 1
push ebx
call fcn.100fa420
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x100efb91
push edi
push dword [esp + 0x68]
push dword [esp + 0x24]
push dword [esp + 0x74]
push dword [esp + 0x20]
push ebx
call fcn.100fae70
add esp, 0x18
mov ebp, eax
test esi, esi
je 0x100efbb6
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x100efbb6
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
test ebp, ebp
jne 0x100f00b5
mov eax, dword [edi]
mov dword [eax + 0xc], 1
mov eax, dword [edi]
add eax, 8
push eax
push 8
push 0xf
push ebx
call fcn.101337a0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x100f00b5
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [edi]
push dword [esp + 0x20]
push ebx
call fcn.101587d0
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x100efc1c
push dword [esp + 0x10]
push 0x10260cf8
push ebp
push ebx
call fcn.100d0600
add esp, 0x10
jmp 0x100f00b5
mov eax, dword [esp + 0x18]
xor edx, edx
div dword [esp + 0x68]
test edx, edx
je 0x100efc35
test byte [esp + 0x60], 0x80
je 0x100efc6e
sub dword [esp + 0x18], edx
test esi, esi
jne 0x100eff63
test byte [edi + 0xb0], 1
jne 0x100efc8d
lea eax, [edi + 0x20]
push eax
push esi
push dword [esp + 0x18]
push ebx
call fcn.1015a690
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x100f00b5
or dword [edi + 0xb0], 1
jmp 0x100efe06
push dword [esp + 0x10]
push str._s:_file_size_not_a_multiple_of_the_pagesize
push ebx
call fcn.100d0920
add esp, 0xc
jmp 0x100f00b0
test esi, esi
jne 0x100eff63
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp]
test eax, eax
je 0x100efcaa
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x64]
push dword [esp + 0x60]
push ebp
push edi
push ebx
call fcn.100f0a60
mov esi, dword [esp + 0x6c]
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x100f0086
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x100efd4b
test esi, esi
jne 0x100efd4f
mov dword [esp + 0x24], eax
mov esi, ecx
mov dword [esp + 0x2c], eax
mov edx, ecx
mov eax, dword [ebp + 4]
mov dword [esp + 0x54], esi
cmp eax, 0xffffffff
je 0x100efd22
sub eax, ecx
lea edx, [eax + ebp]
lea eax, [edx + 4]
mov dword [ecx + 0x20], eax
mov eax, 0x1c
sub eax, edx
xor ecx, ecx
cmp edx, 0xfffffffb
cmovne ecx, eax
mov eax, dword [ebp + 4]
mov dword [eax + ebp + 0x28], ecx
mov ecx, esi
jmp 0x100efd33
mov eax, ecx
sub eax, ebp
add eax, 0x1c
mov dword [ebp + 8], eax
mov dword [edx + 0x20], 0xffffffff
mov eax, ecx
sub eax, ebp
sub eax, 4
mov dword [ebp + 4], eax
mov eax, ebp
sub eax, ecx
mov ecx, esi
add eax, 4
mov dword [ecx + 0x24], eax
jmp 0x100efd96
test esi, esi
je 0x100efd96
mov ecx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
je 0x100efd6a
mov eax, dword [esi + 0x94]
cmp eax, 0xffffffff
je 0x100efd6a
cmp ecx, eax
jne 0x100efef3
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100efd7b
cmp eax, dword [esi + 0x5c]
jne 0x100efef3
mov ecx, dword [edi + 0x38]
cmp ecx, 0xffffffff
je 0x100efd96
mov eax, dword [esi + 0x90]
cmp eax, 0xffffffff
je 0x100efd96
cmp ecx, eax
jne 0x100efef3
mov eax, dword [ebp]
test eax, eax
je 0x100efdaf
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x100efde9
mov eax, dword [ebp]
test eax, eax
je 0x100efdd0
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
push ebp
push dword [esp + 0x24]
call fcn.100f0590
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x100f00b5
jmp 0x100efded
mov ebp, dword [esp + 0x1c]
test esi, esi
jne 0x100eff63
test byte [edi + 0x54], 1
je 0x100efe06
test byte [esp + 0x60], 1
je 0x100eff27
mov ebp, dword [esp + 0x58]
test ebp, ebp
je 0x100efe3e
test byte [edi + 0x54], 1
jne 0x100efe3e
test byte [edi + 0xb0], 1
jne 0x100efe3e
lea eax, [edi + 0x20]
push eax
push 0
push dword [esp + 0x18]
push ebx
call fcn.1015a690
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x100f00b5
mov ebp, dword [esp + 0x58]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x64]
push dword [esp + 0x70]
push ebp
push edi
push dword [esp + 0x34]
call fcn.100f07c0
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x100f00b5
xor edx, edx
mov eax, 0x100000
div dword [esp + 0x68]
xor edx, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
div dword [esp + 0x68]
imul ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
add eax, ecx
lea ecx, [eax - 1]
cmove ecx, eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0xc], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x3c], eax
cmp dword [esp + 0x58], ebp
jne 0x100efc8d
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [ecx]
test eax, eax
je 0x100efecd
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x14]
mov edx, esi
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [ecx + 8]
sub eax, edx
add eax, 4
add eax, ecx
mov dword [edx + 0x24], eax
mov eax, edx
cmp dword [ecx + 8], 0
jne 0x100eff31
sub eax, ecx
sub eax, 4
mov dword [ecx + 4], eax
jmp 0x100eff43
push dword [esp + 0x58]
push str._s:_clear_length__page_size_or_LSN_location_changed
push ebx
call fcn.100d0920
mov eax, dword [ebp]
add esp, 0xc
test eax, eax
je 0x100f00b0
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
jmp 0x100f00b0
mov ebp, 2
jmp 0x100f00b5
mov edi, dword [ecx + 8]
sub eax, edi
sub eax, ecx
add eax, 0x1c
mov dword [edi + ecx + 4], eax
mov edi, dword [esp + 0x50]
mov eax, dword [ecx]
sub edx, ecx
add edx, 0x1c
mov dword [ecx + 8], edx
test eax, eax
je 0x100eff63
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
mov edx, dword [esp + 0x60]
test edx, 0x420
jne 0x100eff98
mov ecx, dword [esi + 0xa4]
test cl, 4
je 0x100f008c
test dl, 2
je 0x100eff8f
or ecx, 0x100
mov dword [esi + 0xa4], ecx
and ecx, 0xfffffffb
mov dword [esi + 0xa4], ecx
test dl, 4
je 0x100effa7
inc dword [esi + 0x54]
or dword [edi + 0xb0], 4
mov dword [edi + 0x18], esi
mov eax, dword [esi + 0xa4]
test al, 1
je 0x100f015b
cmp dword [esp + 0x58], 0
je 0x100f010b
test byte [edi + 0x54], 1
jne 0x100f010b
test byte [edi + 0xb0], 0x10
je 0x100f010b
cmp dword [edi + 0x34], 0
jne 0x100f010b
test dl, 8
jne 0x100f010b
mov ecx, dword [esp + 0x44]
test byte [ecx + 0x114], 0x80
jne 0x100f010b
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x100f001f
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x48]
mov eax, 0xa00000
mov ecx, dword [ecx + 0x14]
test ecx, ecx
cmove ecx, eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x100f0059
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x50]
mov eax, ecx
shr eax, 0x14
cmp dword [esp + 0x28], eax
ja 0x100f007a
jne 0x100f0114
and ecx, 0xfffff
cmp dword [esp + 0x18], ecx
jb 0x100f0114
and dword [esi + 0xa4], 0xfffffffe
jmp 0x100f0114
mov ebp, dword [esp + 0x1c]
jmp 0x100f00b5
shr ecx, 8
mov eax, edx
shr eax, 1
not ecx
not eax
xor ecx, eax
test cl, 1
je 0x100eff98
push str.Cannot_open_DURABLE_and_NOT_DURABLE_handles_in_the_same_file
push ebx
call fcn.100d0920
add esp, 8
mov ebp, 0x16
cmp dword [esp + 0x34], 0
je 0x100f00ef
mov eax, dword [esi]
test eax, eax
je 0x100f00d4
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
dec dword [esi + 4]
mov eax, dword [esi]
test eax, eax
je 0x100f00ef
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x100f0208
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100f0101
push eax
push ebx
call fcn.100dc7e0
add esp, 8
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x3c
ret
and eax, 0xfffffffe
mov dword [esi + 0xa4], eax
lea edx, [edi + 0x4c]
mov dword [edx], 0
test byte [esi + 0xa4], 1
je 0x100f015b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push edx
shl ecx, 0x14
push 1
add eax, ecx
push eax
push dword [edi]
mov dword [edi + 0x50], eax
push dword [esp + 0x20]
push ebx
call fcn.1015ac10
add esp, 0x18
test eax, eax
je 0x100f015b
mov dword [edi + 0x4c], 0
and dword [esi + 0xa4], 0xfffffffe
mov ecx, dword [esp + 0x20]
or dword [edi + 0xb0], 8
mov eax, dword [ecx]
test eax, eax
je 0x100f0182
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x100f0208
mov ecx, dword [esp + 0x20]
cmp dword [edi], 0
je 0x100f01d1
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x100f01d1
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x100f01a8
test byte [edi + 0xb0], 0x10
jne 0x100f01b1
test byte [esi + 0xb0], 0x10
je 0x100f01b1
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100f0191
jmp 0x100f01d1
mov eax, dword [edi]
add eax, 8
push eax
push ebx
call fcn.101339e0
push dword [edi]
push ebx
call fcn.100facb0
mov eax, dword [esi]
add esp, 0x10
inc dword [eax + 0xc]
mov eax, dword [esi]
mov dword [edi], eax
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x10]
mov dword [eax], edi
mov eax, dword [edx]
mov dword [edx + 0x10], ecx
test eax, eax
je 0x100f00ef
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x100f00ef
pop esi
pop ebp
pop ebx
mov eax, 0xffff8702
pop edi
add esp, 0x3c
ret