Function at 0x1e749850
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x7f4]
xor eax, eax
mov dword [edi + 0x12fa8], eax
mov ecx, dword [esi + 0x7f4]
test byte [ecx + 0x12fbc], 0x80
je 0x1e749a7f
test dword [esi + 0x7f8], 0x10000
je 0x1e749a53
mov edx, dword [esi + 0x830]
fld qword [0x1e6fae10]
mov edx, dword [edx + 0x260]
test dl, 1
je 0x1e7498ed
fld dword [esi + 0x5ec]
mov eax, 1
fmul st(1)
fstp dword [edi + 0x131f0]
fld dword [esi + 0x5f0]
fmul st(1)
fstp dword [edi + 0x131f4]
fld dword [esi + 0x5f4]
fstp dword [edi + 0x131f8]
fld dword [esi + 0x5f8]
fsub dword [esi + 0x5ec]
fsub dword [esi + 0x5f0]
fstp dword [edi + 0x131fc]
test dl, 2
je 0x1e749931
fld dword [esi + 0x5fc]
lea ecx, [eax + 0x131f]
fmul st(1)
shl ecx, 4
add ecx, edi
inc eax
fstp dword [ecx]
fld dword [esi + 0x600]
fmul st(1)
fstp dword [ecx + 4]
fld dword [esi + 0x604]
fstp dword [ecx + 8]
fld dword [esi + 0x608]
fsub dword [esi + 0x5fc]
fsub dword [esi + 0x600]
fstp dword [ecx + 0xc]
test dl, 4
je 0x1e749975
fld dword [esi + 0x60c]
lea ecx, [eax + 0x131f]
fmul st(1)
shl ecx, 4
add ecx, edi
inc eax
fstp dword [ecx]
fld dword [esi + 0x610]
fmul st(1)
fstp dword [ecx + 4]
fld dword [esi + 0x614]
fstp dword [ecx + 8]
fld dword [esi + 0x618]
fsub dword [esi + 0x60c]
fsub dword [esi + 0x610]
fstp dword [ecx + 0xc]
test dl, 8
je 0x1e7499b9
fld dword [esi + 0x61c]
lea ecx, [eax + 0x131f]
fmul st(1)
shl ecx, 4
add ecx, edi
inc eax
fstp dword [ecx]
fld dword [esi + 0x620]
fmul st(1)
fstp dword [ecx + 4]
fld dword [esi + 0x624]
fstp dword [ecx + 8]
fld dword [esi + 0x628]
fsub dword [esi + 0x61c]
fsub dword [esi + 0x620]
fstp dword [ecx + 0xc]
test dl, 0x10
je 0x1e7499fd
fld dword [esi + 0x62c]
lea ecx, [eax + 0x131f]
fmul st(1)
shl ecx, 4
add ecx, edi
inc eax
fstp dword [ecx]
fld dword [esi + 0x630]
fmul st(1)
fstp dword [ecx + 4]
fld dword [esi + 0x634]
fstp dword [ecx + 8]
fld dword [esi + 0x638]
fsub dword [esi + 0x62c]
fsub dword [esi + 0x630]
fstp dword [ecx + 0xc]
test dl, 0x20
je 0x1e749a41
fld dword [esi + 0x63c]
lea ecx, [eax + 0x131f]
fmul st(1)
shl ecx, 4
add ecx, edi
inc eax
fstp dword [ecx]
fmul dword [esi + 0x640]
fstp dword [ecx + 4]
fld dword [esi + 0x644]
fstp dword [ecx + 8]
fld dword [esi + 0x648]
fsub dword [esi + 0x63c]
fsub dword [esi + 0x640]
fstp dword [ecx + 0xc]
jmp 0x1e749a43
fstp st(0)
mov dword [edi + 0x13260], eax
and dword [esi + 0x7f8], 0xfffeffff
mov eax, dword [edi + 0x12fc4]
test al, 0x40
jne 0x1e749a67
or dword [edi + 0x12fa8], 0x80000000
test al, al
js 0x1e749f39
or dword [edi + 0x12fa8], 0x100000
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
call fcn.1e73d080
add esp, 4
test dword [esi + 0x7f8], 0x40000
je 0x1e749afb
mov ebx, dword [esi + 0x7fc]
and dword [esi + 0x250], 0xfffe7fff
mov dword [edi + 0x11b58], 0
test ebx, ebx
je 0x1e749afb
cmp dword [ebx + 0xc], 3
jne 0x1e749ac5
or dword [esi + 0x250], 0x8000
jmp 0x1e749acf
or dword [esi + 0x250], 0x10000
test byte [ebx + 0x94], 0x10
je 0x1e749adf
mov ecx, ebx
call fcn.1e73ce20
mov eax, dword [edi + 0x11b58]
lea ecx, [ebx + 0x74]
mov dword [ebx + 0xcc], eax
mov dword [edi + 0x11b58], ecx
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x1e749ab3
test dword [esi + 0x7f8], 0x80000
je 0x1e749bd4
mov edx, dword [esi + 0x830]
mov eax, dword [edx + 0x25c]
mov dword [edi + 0x13258], eax
mov dword [edi + 0x1325c], 0
test eax, eax
je 0x1e749bb4
cmp eax, 0xff
je 0x1e749bb4
cmp eax, 0x100
jne 0x1e749b49
mov dword [edi + 0x13258], 1
jmp 0x1e749b50
inc eax
mov dword [edi + 0x13258], eax
mov edx, dword [edi + 0x12fb8]
mov eax, dword [edi + 0x12fbc]
mov ecx, dword [edi + 0x13258]
shr edx, 1
and edx, 7
sub edx, 2
mov ebx, ecx
test eax, 0x2000
jne 0x1e749b76
lea ebx, [ecx - 1]
cmp edx, ebx
jge 0x1e749b8f
push 0x1e7dea9c
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], 0x8876086c
call sub.msvcrt.dll__CxxThrowException
dec ecx
mov dword [edi + 0x1325c], ecx
test eax, 0x800000
je 0x1e749bca
and eax, 0xff7ffbff
mov dword [edi + 0x12fbc], eax
or dword [esi + 0x7f8], 0x4000
jmp 0x1e749bca
test dword [edi + 0x12fbc], 0x800000
jne 0x1e749bca
or dword [esi + 0x7f8], 0x400
and dword [esi + 0x7f8], 0xfff7ffff
mov edx, dword [esi + 0x830]
cmp dword [edx + 0x25c], 0xff
jne 0x1e749c13
cmp dword [edi + 0x13054], 0
je 0x1e749bf6
or dword [edi + 0x12fa8], 0x40
cmp dword [edi + 0x1305c], 0
je 0x1e749c09
or dword [edi + 0x12fa8], 0x80
mov dword [edi + 0x13258], 0
test dword [esi + 0x7f8], 0x80301
je 0x1e749c28
push esi
call fcn.1e749360
add esp, 4
test dword [esi + 0x7f8], 0x200000
je 0x1e749c78
mov eax, dword [edi + 0x12fbc]
test eax, 0x80000008
jne 0x1e749c57
mov ecx, dword [esi + 0x830]
cmp dword [ecx + 0x274], 0
jne 0x1e749c57
test eax, 0x60000000
je 0x1e749c78
push edi
lea edx, [edi + 0x280]
push edx
lea eax, [edi + 0x8280]
push eax
call fcn.1e72c6f0
add esp, 0xc
and dword [esi + 0x7f8], 0xffdfffff
test dword [esi + 0x7f8], 0x400
je 0x1e749cc6
mov eax, dword [edi + 0x12fbc]
test eax, eax
jns 0x1e749cc6
and eax, 0xff7fffff
cmp dword [edi + 0x13258], 0
mov dword [edi + 0x12fbc], eax
jne 0x1e749cbc
test eax, 0x2000000
jne 0x1e749cbc
push edi
call fcn.1e7495e0
add esp, 4
and dword [esi + 0x7f8], 0xfffffbff
or dword [esi + 0x7f8], 0x4000
test dword [esi + 0x7f8], 0x2000000
je 0x1e749d22
mov eax, dword [edi + 0x12fbc]
test eax, eax
jns 0x1e749ce3
test eax, 0x800000
je 0x1e749cea
test eax, 0x40000000
je 0x1e749d22
lea ecx, [edi + 0xc280]
push ecx
lea edx, [edi + 0x8280]
push edx
call fcn.1e72c150
add esp, 8
and dword [esi + 0x7f8], 0xfdffffff
mov eax, dword [edi + 0x11a80]
mov ecx, dword [edi + 0x11a84]
mov dword [edi + 0x11280], eax
mov dword [edi + 0x11284], ecx
mov eax, dword [esi + 0x7f8]
test eax, 0x10000
je 0x1e749e4a
test eax, 0x20000000
je 0x1e749dd0
lea edx, [ebp - 0x90]
push edx
lea eax, [esi + 0x56c]
push eax
call fcn.1e72c150
add esp, 8
test eax, eax
je 0x1e749d7b
push 0x165
push 0x1e6fd5b4
push 0x1e6fd594
call sym.d3d8.dll_DebugSetMute
lea ecx, [ebp - 0x90]
push ecx
call fcn.1e749310
add esp, 0x10
lea edx, [ebp - 0x50]
push edx
push edi
call fcn.1e72c150
add esp, 8
test eax, eax
je 0x1e749dac
push 0x16b
push 0x1e6fd5b4
push 0x1e6fd578
call sym.d3d8.dll_DebugSetMute
lea eax, [ebp - 0x50]
push eax
call fcn.1e749310
add esp, 0x10
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [esi + 0x5ac]
push eax
call fcn.1e72c6f0
add esp, 0xc
and dword [esi + 0x7f8], 0xdfffffff
mov ecx, dword [esi + 0x830]
mov edx, dword [ecx + 0x260]
mov eax, 1
lea ecx, [edi + 0x131f0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
lea ebx, [esi + 0x5ec]
mov dword [ebp + 8], ecx
mov dword [ebp - 8], 6
mov edx, dword [ebp - 0x10]
test edx, eax
je 0x1e749e29
mov eax, dword [ebp + 8]
push eax
lea ecx, [esi + 0x5ac]
push ecx
push ebx
call fcn.1e749540
inc dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add esp, 0xc
add dword [ebp + 8], 0x10
add ebx, 0x10
rol eax, 1
sub dword [ebp - 8], 1
mov dword [ebp - 0xc], eax
jne 0x1e749e04
mov edx, dword [ebp - 4]
mov dword [edi + 0x13260], edx
and dword [esi + 0x7f8], 0xfffeffff
test dword [esi + 0x7f8], 0x4c000
pop ebx
je 0x1e749e6a
push esi
call fcn.1e741250
add esp, 4
or dword [edi + 0x12fbc], 0x40000
test byte [edi + 0x12fb8], 0xd0
mov eax, dword [edi + 0x11b78]
mov ecx, dword [edi + 0x11b7c]
mov dword [edi + 0x11aa8], eax
mov dword [edi + 0x11b54], ecx
jne 0x1e749e9e
cmp dword [edi + 0x12fd0], 0
jne 0x1e749e9e
or dword [edi + 0x12fa8], 0x40000000
cmp dword [edi + 0x12fd4], 0
jne 0x1e749eb1
or dword [edi + 0x12fa8], 0x10000000
and dword [esi + 0x7f8], 0xfffff7ff
test dword [edi + 0x13250], 0xff0000
jne 0x1e749ed1
and dword [edi + 0x12fbc], 0x9fffffff
mov eax, dword [edi + 0x12fbc]
mov edx, eax
and edx, 0x80800000
cmp edx, 0x80000000
jne 0x1e749f23
test dword [esi + 0x250], 0x8000
je 0x1e749f0d
mov ecx, dword [esi + 0x7f4]
test byte [ecx + 0x12fb8], 0x10
je 0x1e749f0d
or eax, 0x40000000
mov dword [edi + 0x12fbc], eax
test dword [esi + 0x250], 0x10000
je 0x1e749f23
or dword [edi + 0x12fbc], 0x20000000
test dword [edi + 0x12fa8], 0x100
je 0x1e749f39
or dword [edi + 0x12fbc], 0x20000000
pop edi
pop esi
mov esp, ebp
pop ebp
ret