Function at 0x538090
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x83c931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov eax, dword [edi + 0x1c]
mov ebp, dword [eax*4 + 0xa9b0c8]
xor esi, esi
cmp ebp, esi
mov dword [esp + 0xc], ebp
jne 0x5380d7
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebx
or ebx, 0xffffffff
cmp word [ebp + 0x10], bx
je 0x538146
push 0x38
call fcn.005326e0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, esi
mov dword [esp + 0x3c], esi
je 0x538100
mov ecx, eax
call fcn.0059ea00
mov esi, eax
mov eax, dword [edi + 0x1c]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call dword [edx + 0x18]
push esi
call fcn.0046a760
add esp, 4
test al, al
je 0x5381d5
movsx ecx, word [esi + 0x22]
mov edx, dword [ecx*4 + 0xa9b0c8]
xor eax, eax
mov ax, word [edx + 0x12]
and eax, 0x7800
cmp eax, 0x2800
je 0x5381d5
jmp 0x5381ce
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
cmp al, 5
jne 0x53817b
test byte [ebp + 0x13], 1
je 0x53817b
push 0x38
call fcn.00404090
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, esi
mov dword [esp + 0x3c], 1
je 0x53819e
mov ecx, eax
call fcn.00537a10
jmp 0x5381a0
push 0x38
call fcn.00404090
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, esi
mov dword [esp + 0x3c], 2
je 0x53819e
mov ecx, eax
call fcn.00403e00
jmp 0x5381a0
xor eax, eax
mov ecx, dword [edi + 0x1c]
mov esi, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x40], ebx
call dword [eax + 0x18]
test byte [ebp + 0x12], 0x10
je 0x5381be
or dword [esi + 0x1c], 0x10000
fld dword [ebp + 0x18]
fcomp dword [0x858ca0]
fnstsw ax
test ah, 5
jp 0x5381d5
and dword [esi + 0x1c], 0xffffff7f
fld dword [edi + 0xc]
fabs
fcomp dword [0x858c28]
fnstsw ax
test ah, 0x41
je 0x53828b
fld dword [edi + 0x10]
fabs
fcomp dword [0x858c28]
fnstsw ax
test ah, 0x41
je 0x53828b
mov eax, dword [edi + 0x20]
test ah, 2
je 0x538229
fld dword [edi + 0xc]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jnp 0x538229
fld dword [edi + 0x10]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x53828b
fld dword [edi + 0x14]
fcomp dword [0x858b50]
fld dword [edi + 0x18]
fnstsw ax
test ah, 5
jp 0x538269
call fcn.00822380
mov ecx, dword [esi + 0x14]
test ecx, ecx
fadd st(0), st(0)
fstp dword [esp + 0x44]
je 0x53825d
mov edx, dword [esp + 0x44]
push edx
call fcn.0059b020
jmp 0x5382ed
mov eax, dword [esp + 0x44]
mov dword [esi + 0x10], eax
jmp 0x5382ed
call fcn.00822380
mov ecx, dword [esi + 0x14]
test ecx, ecx
fmul dword [0x858b18]
fstp dword [esp + 0x44]
je 0x53825d
mov edx, dword [esp + 0x44]
push edx
call fcn.0059b020
jmp 0x5382ed
fld dword [edi + 0xc]
mov ecx, esi
fchs
fstp dword [edi + 0xc]
fld dword [edi + 0x10]
fchs
fstp dword [edi + 0x10]
fld dword [edi + 0x14]
fchs
fstp dword [edi + 0x14]
call fcn.0054f4c0
mov eax, dword [edi + 0x14]
fld dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
test eax, eax
fstp dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jne 0x5382e0
mov ecx, esi
call fcn.0054f560
mov ecx, dword [esi + 0x14]
push ecx
lea ecx, [esi + 4]
call fcn.0054f1b0
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x14]
push edx
call fcn.0059bbf0
mov eax, dword [esi + 0x14]
fld dword [edi + 8]
test eax, eax
fld dword [edi + 4]
fld dword [edi]
je 0x53830d
fstp dword [eax + 0x30]
mov eax, dword [esi + 0x14]
fstp dword [eax + 0x34]
mov ecx, dword [esi + 0x14]
fstp dword [ecx + 0x38]
jmp 0x538316
fstp dword [esi + 4]
fstp dword [esi + 8]
fstp dword [esi + 0xc]
mov eax, dword [edi + 0x20]
test ah, 4
mov ebp, 0x100000
je 0x538326
or dword [esi + 0x1c], ebp
mov eax, dword [edi + 0x20]
test ah, 8
je 0x538335
or dword [esi + 0x1c], 0x40000000
mov eax, dword [edi + 0x20]
test ah, 0x10
je 0x538344
or dword [esi + 0x1c], 0x80000000
mov eax, dword [edi + 0x20]
test ah, 1
je 0x538353
or dword [esi + 0x1c], 0x20000000
mov dl, byte [edi + 0x20]
mov byte [esi + 0x2f], dl
mov eax, dword [edi + 0x24]
mov dword [esi + 0x30], eax
movzx ecx, word [0x8cd6b4]
cmp dword [edi + 0x1c], ecx
jne 0x5383b7
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x538385
mov ecx, esi
call fcn.0054f560
mov edx, dword [esi + 0x14]
push edx
lea ecx, [esi + 4]
call fcn.0054f1b0
mov ecx, esi
call fcn.0054f4c0
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x5383a6
mov ecx, esi
call fcn.0054f560
mov eax, dword [esi + 0x14]
push eax
lea ecx, [esi + 4]
call fcn.0054f1b0
mov ecx, dword [esi + 0x14]
push 0x3face9cc
push ecx
call fcn.0059f200
add esp, 8
movsx edx, word [esi + 0x22]
mov eax, dword [edx*4 + 0xa9b0c8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x538428
test byte [eax + 0x29], 1
jne 0x5383d5
and dword [esi + 0x1c], 0xfffffffe
jmp 0x5383fc
mov bl, byte [eax + 0x28]
test bl, bl
je 0x5383fc
mov edx, dword [esi]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call dword [edx + 0x24]
movzx ecx, bl
push eax
push ecx
call fcn.00410800
add esp, 4
mov ecx, eax
call fcn.00404200
mov eax, dword [esi + 0x14]
test eax, eax
je 0x538408
add eax, 0x30
jmp 0x53840b
lea eax, [esi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x14]
fld dword [ecx + 8]
fadd dword [eax + 8]
fcomp dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x538428
or dword [esi + 0x1c], ebp
mov ecx, dword [esp + 0x34]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret