Function at 0x101f6920
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x68
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
push ebx
push ebp
mov edx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x20], edx
push esi
push edi
cmp edx, 3
ja case.0x101f6965.2
jmp dword [edx*4 + 0x101f6d10]
mov dword [esp + 0x10], 0
jmp 0x101f6988
mov dword [esp + 0x10], 1
jmp 0x101f6988
mov dword [esp + 0x10], 2
mov ebx, dword [ecx + 0x48]
mov dword [eax], 0
cmp dword [ecx + 8], 0
mov dword [esp + 0x24], ebx
je 0x101f6cf8
cmp edx, 4
jae 0x101f6cf8
mov eax, dword [esp + 0x84]
cmp eax, 3
jae 0x101f6cf8
lea esi, [eax + edx*2]
mov dword [esp + 0x3c], 0
lea eax, [ecx + 0x50]
add esi, edx
mov dword [esp + 0x2c], eax
lea edi, [ebp + 0x2c]
mov eax, edx
add eax, eax
mov esi, dword [esi*4 + 0x102b3854]
push edi
mov eax, dword [ebp + eax*8 + 0x138]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x38], eax
call fcn.10051d20
mov ecx, dword [esp + 0x14]
add esp, 4
neg eax
mov dword [esp + 0x4c], 1
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + ecx*8 + 0xd8]
mov ecx, dword [ebp + ecx*8 + 0xdc]
mov edi, dword [edi + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test edi, edi
je 0x101f6a95
nop dword [eax]
mov edx, dword [edi + 0xd0]
test edx, 0x60000000
je 0x101f6a8e
mov eax, dword [edi + 0x20]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
shr edx, 0x1c
and eax, 0xfffffff8
and edx, 6
mov dword [esp + 0x58], ecx
or edx, eax
mov dword [esp + 0x5c], 0xffffffff
lea eax, [esp + 0x54]
mov dword [esp + 0x60], 0xffffffff
push eax
push ebx
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], edx
call fcn.101f1af0
add esp, 8
test eax, eax
je 0x101f6cf8
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x101f6a30
lea eax, [ebp + 0xa4]
push ebx
push eax
call fcn.101fbbb0
add esp, 8
test eax, eax
je 0x101f6cf8
mov edi, dword [esp + 0x10]
add dword [ebp + edi*8 + 0xd8], 1
mov eax, dword [ebp + edi*8 + 0xdc]
adc eax, 0
mov dword [ebp + edi*8 + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 0x4c]
call fcn.101e9fc0
add esp, 8
test eax, eax
je 0x101f6cf8
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x101f6bd9
nop dword [eax + eax]
test dword [ebx + 0xd0], 0x10000000
lea ebp, [ebx + 0xd4]
mov edi, esi
je 0x101f6b29
and dword [ebp], 0xfffffffd
lea eax, [ebx + 0x80]
push 1
push eax
call fcn.101d54d0
add esp, 8
mov eax, dword [ebx + 0xd0]
test eax, 0x20000000
je 0x101f6b3a
and dword [ebp], 0xfffffffb
test eax, 0x40000000
je 0x101f6b45
and dword [ebp], 0xfffffff7
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
test ecx, ecx
jne 0x101f6b53
test eax, eax
je 0x101f6b77
push ecx
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.101d57a0
add esp, 0xc
mov dword [ebx + 0x48], 0
neg eax
mov dword [ebx + 0x4c], 0
sbb eax, eax
and dword [esp + 0x14], eax
mov ebp, dword [esp + 0x20]
push ebx
push dword [ebp + 0x5c]
call fcn.101d7ec0
movzx eax, byte [ebx + 0xd1]
add esp, 8
sub eax, 1
je 0x101f6b9d
sub eax, 1
je 0x101f6b9d
sub eax, 1
jne 0x101f6bca
push dword [ebx + 0x58]
mov esi, edi
call fcn.101d62b0
add esp, 4
test eax, eax
jne 0x101f6bca
push eax
push dword [ebx + 0x58]
call fcn.101d60a0
add esp, 8
test eax, eax
je 0x101f6bca
push ebx
push dword [ebp + 0x5c]
call fcn.101d7990
add esp, 8
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x101f6b00
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
test byte [ebx + 0x20], 8
je 0x101f6c05
mov ecx, dword [ebp + 0xf8]
mov eax, ecx
shr eax, 7
and ecx, 0xfffffc7f
and eax, 7
btr eax, edi
shl eax, 7
or eax, ecx
mov dword [ebp + 0xf8], eax
test byte [ebx + 0x54], 1
je 0x101f6c12
and dword [ebp + 0xf8], 0xfffffffe
test byte [ebx + 0x54], 2
je 0x101f6c2c
and dword [ebp + 0xf8], 0xfffffffd
push 1
push dword [ebp + 0x64]
call fcn.101d54d0
add esp, 8
test byte [ebx + 0x54], 4
je 0x101f6c46
and dword [ebp + 0xf8], 0xfffffffb
push 1
push dword [ebp + 0x68]
call fcn.101d54d0
add esp, 8
test byte [ebx + 0x54], 8
je 0x101f6c60
and dword [ebp + 0xf8], 0xfffffff7
push 1
push dword [ebp + 0x6c]
call fcn.101d54d0
add esp, 8
test byte [ebx + 0x54], 0x10
je 0x101f6c85
mov ecx, dword [ebp + 0xf8]
mov eax, ecx
shr eax, 4
and ecx, 0xffffff8f
and eax, 7
btr eax, edi
shl eax, 4
or eax, ecx
mov dword [ebp + 0xf8], eax
test byte [ebx + 0x54], 0x20
je 0x101f6c95
and dword [ebp + 0xf8], 0xfffffbff
test byte [ebx + 0x20], 8
je 0x101f6ce1
push dword [ebp + 0x58]
call fcn.101f0490
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x101f6cbb
mov eax, dword [ecx]
test eax, eax
je 0x101f6ccb
dec eax
mov dword [ecx], eax
jmp 0x101f6ccb
cmp eax, 1
jne 0x101f6ccb
mov eax, dword [ecx + 4]
test eax, eax
je 0x101f6ccb
dec eax
mov dword [ecx + 4], eax
test esi, 0x2000
je 0x101f6ce1
lea edx, [ecx + edi*4]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x101f6ce1
dec ecx
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.101fdd0b
add esp, 0x68
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101fdd0b
add esp, 0x68
ret